summaryrefslogtreecommitdiffstats
path: root/chrome/chrome_exe.gypi
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/chrome_exe.gypi')
-rw-r--r--chrome/chrome_exe.gypi16
1 files changed, 14 insertions, 2 deletions
diff --git a/chrome/chrome_exe.gypi b/chrome/chrome_exe.gypi
index 0c878b2e..58f70d3 100644
--- a/chrome/chrome_exe.gypi
+++ b/chrome/chrome_exe.gypi
@@ -418,7 +418,6 @@
'../components/components.gyp:crash_component',
'../components/components.gyp:crash_core_common',
'../components/components.gyp:flags_ui_switches',
- '../components/components.gyp:policy',
'../components/components.gyp:startup_metric_utils_common',
'../sandbox/sandbox.gyp:sandbox',
'../third_party/kasko/kasko.gyp:kasko_features',
@@ -460,6 +459,13 @@
],
},
},
+ 'conditions': [
+ ['configuration_policy==1', {
+ 'dependencies': [
+ '<(DEPTH)/components/components.gyp:policy',
+ ],
+ }],
+ ],
'actions': [
{
'action_name': 'first_run',
@@ -540,7 +546,6 @@
'../components/components.gyp:breakpad_win64',
'../components/components.gyp:crash_core_common_win64',
'../components/components.gyp:flags_ui_switches_win64',
- '../components/components.gyp:policy_win64',
'../chrome/common_constants.gyp:common_constants_win64',
'../components/nacl.gyp:nacl_win64',
'../crypto/crypto.gyp:crypto_nacl_win64',
@@ -566,6 +571,13 @@
'msvs_target_platform': 'x64',
},
},
+ 'conditions': [
+ ['configuration_policy==1', {
+ 'dependencies': [
+ '<(DEPTH)/components/components.gyp:policy_win64',
+ ],
+ }],
+ ],
},
],
}, { # else (disable_nacl==1)