Index: chrome/chrome_exe.gypi |
diff --git a/chrome/chrome_exe.gypi b/chrome/chrome_exe.gypi |
index 0c878b2e5500a0bd596f876beba7ffba6499885f..58f70d3a11ee7cd085894fc6de892e77a5f0a715 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) |