Index: components/policy.gypi |
diff --git a/components/policy.gypi b/components/policy.gypi |
index d1ec214a85b4a1697951729c7521d69a17792712..5edd6be81d2d4666590856ad3c8c454f4673a8de 100644 |
--- a/components/policy.gypi |
+++ b/components/policy.gypi |
@@ -21,6 +21,10 @@ |
'conditions': [ |
['configuration_policy==1', { |
'sources': [ |
+ 'policy/core/common/async_policy_loader.cc', |
+ 'policy/core/common/async_policy_loader.h', |
+ 'policy/core/common/async_policy_provider.cc', |
+ 'policy/core/common/async_policy_provider.h', |
'policy/core/common/configuration_policy_provider.cc', |
'policy/core/common/configuration_policy_provider.h', |
'policy/core/common/external_data_fetcher.cc', |
@@ -49,6 +53,16 @@ |
'policy/core/common/schema_registry.h', |
'policy/policy_export.h', |
], |
+ 'conditions': [ |
+ ['OS=="android"', { |
+ 'sources!': [ |
+ 'policy/core/common/async_policy_loader.cc', |
+ 'policy/core/common/async_policy_loader.h', |
+ 'policy/core/common/async_policy_provider.cc', |
+ 'policy/core/common/async_policy_provider.h', |
+ ], |
+ }], |
+ ], |
}, { # configuration_policy==0 |
# Some of the policy code is always enabled, so that other parts of |
# Chrome can always interface with the PolicyService without having |