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

Unified Diff: chrome/chrome.gyp

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/browser/ui/BUILD.gn ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/chrome.gyp
diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp
index 5252ae82e9dd6cd3b6ea03fb76a7c468fa2e497d..867d3a8899c342193374a1bc1168966b20d3624a 100644
--- a/chrome/chrome.gyp
+++ b/chrome/chrome.gyp
@@ -556,7 +556,6 @@
'../base/base.gyp:base_build_config_gen',
'../build/android/java_google_api_keys.gyp:google_api_keys_java',
'../chrome/android/chrome_apk.gyp:custom_tabs_service_aidl',
- '../components/components.gyp:app_restrictions_resources',
'../components/components.gyp:autocomplete_match_java',
'../components/components.gyp:autocomplete_match_type_java',
'../components/components.gyp:bookmarks_java',
@@ -568,7 +567,6 @@
'../components/components.gyp:navigation_interception_java',
'../components/components.gyp:offline_page_feature_enums_java',
'../components/components.gyp:offline_page_model_enums_java',
- '../components/components.gyp:policy_java',
'../components/components.gyp:precache_java',
'../components/components.gyp:safe_json_java',
'../components/components.gyp:security_state_enums_java',
@@ -620,6 +618,14 @@
'<!@pymod_do_main(grit_info <@(grit_defines) --outputs "<(SHARED_INTERMEDIATE_DIR)/chrome" app/generated_resources.grd)',
],
},
+ 'conditions': [
+ ['configuration_policy == 1', {
+ 'dependencies': [
+ '../components/components.gyp:app_restrictions_resources',
+ '../components/components.gyp:policy_java',
+ ],
+ }],
+ ],
'includes': [
'../build/java.gypi',
],
@@ -707,7 +713,7 @@
'chrome_android.gypi',
]}, # 'includes'
], # OS=="android"
- ['OS!="android" and OS!="ios"', {
+ ['configuration_policy==1 and OS!="android" and OS!="ios"', {
'includes': [ 'policy.gypi', ],
}],
['enable_extensions==1', {
« no previous file with comments | « chrome/browser/ui/BUILD.gn ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698