Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1815)

Unified Diff: components/policy/core/browser/BUILD.gn

Issue 1321013007: Fix dependencies on policy_component_test_support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase onto current master Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/components_tests.gyp ('k') | components/policy/core/common/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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",
+ ]
}
}
« no previous file with comments | « components/components_tests.gyp ('k') | components/policy/core/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698