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

Unified Diff: chrome/common/BUILD.gn

Issue 1818423003: Revert of Remove configuration policy from chrome build files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@policy_chrome_defines
Patch Set: Created 4 years, 9 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 | « chrome/chrome_tests_unit.gypi ('k') | chrome/policy.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/BUILD.gn
diff --git a/chrome/common/BUILD.gn b/chrome/common/BUILD.gn
index 511f736213c5ef452782eb2b54d05b10a1ad9efb..d1cc2cd4242ee4cded521cb273dec68414ca678d 100644
--- a/chrome/common/BUILD.gn
+++ b/chrome/common/BUILD.gn
@@ -89,7 +89,6 @@
"//components/nacl/common:switches",
"//components/offline_pages:switches",
"//components/omnibox/common",
- "//components/policy",
"//components/policy:policy_component_common",
"//components/prefs",
"//components/strings",
@@ -272,6 +271,9 @@
if (!enable_webrtc) {
sources -= [ "media/webrtc_logging_messages.h" ]
}
+ if (enable_configuration_policy) {
+ public_deps += [ "//components/policy" ]
+ }
if (safe_browsing_mode == 1) {
sources += rebase_path(gypi_values.chrome_common_full_safe_browsing_sources,
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | chrome/policy.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698