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

Unified Diff: components/BUILD.gn

Issue 952163002: Fix dependencies on //components/policy in gn files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Missing import Created 5 years, 10 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
« no previous file with comments | « no previous file | components/ownership/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/BUILD.gn
diff --git a/components/BUILD.gn b/components/BUILD.gn
index 7312e2807d312cdec9f9ba7c29cbf19a74fa1021..cd0ecf534f5f77db4de33ae85e16fcdae3f6e293 100644
--- a/components/BUILD.gn
+++ b/components/BUILD.gn
@@ -115,6 +115,10 @@ group("all_components") {
"//components/wifi_sync",
]
+ if (!enable_configuration_policy) {
+ deps -= [ "//components/policy" ]
+ }
+
if (!is_win && !is_mac) {
deps -= [ "//components/wifi" ]
}
« no previous file with comments | « no previous file | components/ownership/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698