| Index: components/policy/core/browser/BUILD.gn
|
| diff --git a/components/policy/core/browser/BUILD.gn b/components/policy/core/browser/BUILD.gn
|
| index 93528985f0c67dcca8978a6c9313ace57d441f84..d528db6b94dbdf14e55651e9ee37ca6cf3b8c3ef 100644
|
| --- a/components/policy/core/browser/BUILD.gn
|
| +++ b/components/policy/core/browser/BUILD.gn
|
| @@ -78,25 +78,25 @@ source_set("browser") {
|
| }
|
| }
|
|
|
| -source_set("unit_tests") {
|
| - testonly = true
|
| - sources = [
|
| - "android/android_combined_policy_provider_unittest.cc",
|
| - "android/policy_converter_unittest.cc",
|
| - "autofill_policy_handler_unittest.cc",
|
| - "browser_policy_connector_unittest.cc",
|
| - "configuration_policy_handler_unittest.cc",
|
| - "configuration_policy_pref_store_unittest.cc",
|
| - "proxy_policy_handler_unittest.cc",
|
| - "url_blacklist_manager_unittest.cc",
|
| - "url_blacklist_policy_handler_unittest.cc",
|
| - ]
|
| - deps = [
|
| - "//components/url_formatter",
|
| - "//testing/gmock",
|
| - "//testing/gtest",
|
| - ]
|
| - if (enable_configuration_policy) {
|
| - deps += [ "//components/policy:policy_component_test_support" ]
|
| +if (enable_configuration_policy) {
|
| + source_set("unit_tests") {
|
| + testonly = true
|
| + sources = [
|
| + "android/android_combined_policy_provider_unittest.cc",
|
| + "android/policy_converter_unittest.cc",
|
| + "autofill_policy_handler_unittest.cc",
|
| + "browser_policy_connector_unittest.cc",
|
| + "configuration_policy_handler_unittest.cc",
|
| + "configuration_policy_pref_store_unittest.cc",
|
| + "proxy_policy_handler_unittest.cc",
|
| + "url_blacklist_manager_unittest.cc",
|
| + "url_blacklist_policy_handler_unittest.cc",
|
| + ]
|
| + deps = [
|
| + "//components/policy:policy_component_test_support",
|
| + "//components/url_formatter",
|
| + "//testing/gmock",
|
| + "//testing/gtest",
|
| + ]
|
| }
|
| }
|
|
|