Index: components/policy.gypi |
diff --git a/components/policy.gypi b/components/policy.gypi |
index 77fe110599b986539a0fff157a78f4e5147a072b..32aed7e4672ccab704cf7b2310a1762f4a0a3277 100644 |
--- a/components/policy.gypi |
+++ b/components/policy.gypi |
@@ -20,6 +20,8 @@ |
'conditions': [ |
['configuration_policy==1', { |
'sources': [ |
+ 'policy/core/common/policy_namespace.cc', |
+ 'policy/core/common/policy_namespace.h', |
'policy/core/common/policy_pref_names.cc', |
'policy/core/common/policy_pref_names.h', |
'policy/core/common/policy_switches.cc', |
@@ -30,14 +32,12 @@ |
'policy/policy_export.h', |
], |
}, { # configuration_policy==0 |
- # The target 'policy_component' always exists. Later it will include |
- # some stubs when configuration_policy==0. For now this stub file is |
- # compiled so that an output is produced, otherwise the shared build |
- # breaks on iOS. |
- # TODO(joaodasilva): remove this comment and the temporary stub after |
- # moving one of the real stubs. http://crbug.com/271392 |
+ # Some of the policy code is always enabled, so that other parts of |
+ # Chrome can always interface with the PolicyService without having |
+ # to #ifdef on ENABLE_CONFIGURATION_POLICY. |
'sources': [ |
- 'policy/stub_to_remove.cc', |
+ 'policy/core/common/policy_namespace.cc', |
+ 'policy/core/common/policy_namespace.h', |
], |
}], |
], |