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

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

Issue 1321013007: Fix dependencies on policy_component_test_support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 months 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
Index: components/policy/core/common/BUILD.gn
diff --git a/components/policy/core/common/BUILD.gn b/components/policy/core/common/BUILD.gn
index 8e64691835cd639e1f6dc1dc04c2ec1566a339ff..1efe00e8d24271695464ddb8556a19d508d17768 100644
--- a/components/policy/core/common/BUILD.gn
+++ b/components/policy/core/common/BUILD.gn
@@ -260,8 +260,11 @@ source_set("unit_tests") {
}
deps = [
- "//components/policy:policy_component_test_support",
"//testing/gmock",
"//testing/gtest",
]
+
+ if (enable_configuration_policy) {
+ deps += [ "//components/policy:policy_component_test_support" ]
+ }
}
« components/policy/core/browser/BUILD.gn ('K') | « components/policy/core/browser/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698