Index: chrome/browser/BUILD.gn |
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn |
index 4e14096f7e41edfe1208c6a0e968219a5dde56d2..56cb25b9a54bdf09df905e0129acaeabc8ed9726 100644 |
--- a/chrome/browser/BUILD.gn |
+++ b/chrome/browser/BUILD.gn |
@@ -4062,11 +4062,9 @@ if (is_win) { |
] |
deps = [ |
"//base", |
+ "//chrome/browser/policy:path_parser", |
"//chrome/common:constants", |
] |
- if (enable_configuration_policy) { |
- deps += [ "//chrome/browser/policy:path_parser" ] |
- } |
} |
} |
@@ -4191,6 +4189,8 @@ static_library("test_support") { |
"notifications/notification_test_util.h", |
"notifications/stub_notification_platform_bridge.cc", |
"notifications/stub_notification_platform_bridge.h", |
+ "policy/test/local_policy_test_server.cc", |
+ "policy/test/local_policy_test_server.h", |
"search_engines/template_url_service_factory_test_util.cc", |
"search_engines/template_url_service_factory_test_util.h", |
"search_engines/template_url_service_test_util.cc", |
@@ -4233,6 +4233,7 @@ static_library("test_support") { |
"//components/invalidation/impl", |
"//components/invalidation/impl:test_support", |
"//components/password_manager/core/browser:test_support", |
+ "//components/policy/core/browser:test_support", |
"//components/prefs:test_support", |
"//components/search_engines:test_support", |
"//components/sessions:test_support", |
@@ -4331,14 +4332,6 @@ static_library("test_support") { |
deps += [ "//chromeos:test_support" ] |
} |
- if (enable_configuration_policy) { |
- sources += [ |
- "policy/test/local_policy_test_server.cc", |
- "policy/test/local_policy_test_server.h", |
- ] |
- public_deps += [ "//components/policy/core/browser:test_support" ] |
- } |
- |
if (safe_browsing_mode == 1) { |
sources += [ |
"extensions/fake_safe_browsing_database_manager.cc", |