Chromium Code Reviews| Index: components/policy.gypi |
| diff --git a/components/policy.gypi b/components/policy.gypi |
| index 4580dea617873439d4aa7c4318557f4810383054..a464fa37e1e716894bb8dd9939ffb3d1a915820b 100644 |
| --- a/components/policy.gypi |
| +++ b/components/policy.gypi |
| @@ -21,11 +21,13 @@ |
| 'conditions': [ |
| ['configuration_policy==1', { |
| 'sources': [ |
| - 'policy/core/common/policy_bundle.cc', |
| - 'policy/core/common/policy_bundle.h', |
| + 'policy/core/common/configuration_policy_provider.cc', |
| + 'policy/core/common/configuration_policy_provider.h', |
| 'policy/core/common/external_data_fetcher.cc', |
| 'policy/core/common/external_data_fetcher.h', |
| 'policy/core/common/external_data_manager.h', |
| + 'policy/core/common/policy_bundle.cc', |
| + 'policy/core/common/policy_bundle.h', |
| 'policy/core/common/policy_details.h', |
| 'policy/core/common/policy_namespace.cc', |
| 'policy/core/common/policy_namespace.h', |
| @@ -64,4 +66,31 @@ |
| ], |
| }, |
| ], |
| + 'conditions': [ |
| + ['configuration_policy==1', { |
| + 'targets': [ |
| + { |
| + 'target_name': 'policy_test_support', |
| + 'type': 'static_library', |
| + 'defines': [ |
| + 'POLICY_COMPONENT_IMPLEMENTATION' |
|
Joao da Silva
2013/11/29 12:14:12
nitty nit: add a trailing comma, for consistency i
dconnelly
2013/11/29 12:18:29
Done.
|
| + ], |
| + 'dependencies': [ |
| + 'policy_component', |
| + '../testing/gmock.gyp:gmock', |
| + '../testing/gtest.gyp:gtest', |
| + ], |
| + 'include_dirs': [ |
| + '..', |
| + ], |
| + 'sources': [ |
| + 'policy/core/common/configuration_policy_provider_test.cc', |
| + 'policy/core/common/configuration_policy_provider_test.h', |
| + 'policy/core/common/mock_configuration_policy_provider.cc', |
| + 'policy/core/common/mock_configuration_policy_provider.h', |
| + ], |
| + }, |
| + ], |
| + }], |
| + ], |
| } |