Index: components/proxy_config/BUILD.gn |
diff --git a/components/proxy_config/BUILD.gn b/components/proxy_config/BUILD.gn |
index d122766cb60fedfa4e19af65efdd1c67be5cd96c..1d34c7324b526d01c9585ab6cfbc901e34366495 100644 |
--- a/components/proxy_config/BUILD.gn |
+++ b/components/proxy_config/BUILD.gn |
@@ -28,6 +28,16 @@ component("proxy_config") { |
"//net", |
"//url", |
] |
+ |
+ # TODO bug 562773: Break a header include cycle on ChromeOS and disable |
Dirk Pranke
2015/11/29 18:25:41
Nit: TODO(crbug.com/562773)
|
+ # include checking so GN doesn't complain about the missing dependency |
+ # (it still links OK). This cycle should be fixed and header checking |
+ # enabled. |
+ if (is_chromeos) { |
+ check_includes = false |
+ } else { |
+ deps += [ "//components/pref_registry" ] |
+ } |
} |
source_set("unit_tests") { |
@@ -39,6 +49,10 @@ source_set("unit_tests") { |
] |
deps = [ |
":proxy_config", |
+ "//base", |
+ "//base:prefs_test_support", |
+ "//base/test:test_support", |
+ "//net", |
"//testing/gmock", |
"//testing/gtest", |
] |