Index: components/ownership.gypi |
diff --git a/components/ownership.gypi b/components/ownership.gypi |
index 6f4befab5a75542ab199034077eb46b8ee9c78fa..0b95fe22930606b1209ba642c2d35b70a2eb4d70 100644 |
--- a/components/ownership.gypi |
+++ b/components/ownership.gypi |
@@ -8,9 +8,7 @@ |
'type': '<(component)', |
'dependencies': [ |
'<(DEPTH)/base/base.gyp:base', |
- '<(DEPTH)/components/components.gyp:cloud_policy_proto', |
'<(DEPTH)/components/components.gyp:keyed_service_core', |
- '<(DEPTH)/components/components.gyp:policy', |
'<(DEPTH)/components/components.gyp:policy_component_common', |
'<(DEPTH)/crypto/crypto.gyp:crypto', |
], |
@@ -30,5 +28,13 @@ |
'ownership/owner_settings_service.cc', |
'ownership/owner_settings_service.h', |
], |
+ 'conditions': [ |
+ ['configuration_policy==1', { |
+ 'dependencies': [ |
+ '<(DEPTH)/components/components.gyp:cloud_policy_proto', |
+ '<(DEPTH)/components/components.gyp:policy', |
+ ], |
+ }], |
+ ], |
}], |
} |