summaryrefslogtreecommitdiff
path: root/chromium/components/proxy_config
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2016-12-07 17:37:23 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2022-11-09 11:44:08 +0100
commit01b9a8d2617a3e051f9defd50bc27699a75de6a6 (patch)
tree200178ebe5c5da64b772cf030670fb49161be21b /chromium/components/proxy_config
parentbabfb132ebd15c2af1c2d1a331756f096f2d8498 (diff)
downloadqtwebengine-chromium-01b9a8d2617a3e051f9defd50bc27699a75de6a6.tar.gz
Qt GN integration
- Exclude source files we override in the qt webengine sources. - Add TOOLKIT_QT define for use_qt - Add is_shared GN argument Change-Id: I79925220265602bd0c39e5e03162cf1dca15befe Reviewed-by: Michal Klocek <michal.klocek@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/components/proxy_config')
-rw-r--r--chromium/components/proxy_config/BUILD.gn11
1 files changed, 7 insertions, 4 deletions
diff --git a/chromium/components/proxy_config/BUILD.gn b/chromium/components/proxy_config/BUILD.gn
index ea24543961b..ea5e705433c 100644
--- a/chromium/components/proxy_config/BUILD.gn
+++ b/chromium/components/proxy_config/BUILD.gn
@@ -3,6 +3,7 @@
# found in the LICENSE file.
import("//build/config/chromeos/ui_mode.gni")
+import("//build/config/features.gni")
component("proxy_config") {
sources = [
@@ -23,9 +24,6 @@ component("proxy_config") {
deps = [
"//base",
- "//components/policy:generated",
- "//components/policy/core/browser",
- "//components/policy/core/common",
"//components/prefs",
"//components/strings",
"//net",
@@ -42,11 +40,16 @@ component("proxy_config") {
deps += [ "//components/pref_registry" ]
}
- if (!is_ios) {
+ if (!is_ios && !use_qt) {
sources += [
"proxy_policy_handler.cc",
"proxy_policy_handler.h",
]
+ deps += [
+ "//components/policy:generated",
+ "//components/policy/core/browser",
+ "//components/policy/core/common",
+ ]
}
}