diff options
author | dconnelly@chromium.org <dconnelly@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-03 16:12:37 +0000 |
---|---|---|
committer | dconnelly@chromium.org <dconnelly@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-03 16:12:37 +0000 |
commit | f20a3a2943c18409bf171f7159dc26e594584b97 (patch) | |
tree | 10182d8cda435310a1f9711b85326061f6de37ce /components/policy.gypi | |
parent | 3f9b82792a8489c4691e350a0d6cb6676e12233d (diff) | |
download | chromium_src-f20a3a2943c18409bf171f7159dc26e594584b97.zip chromium_src-f20a3a2943c18409bf171f7159dc26e594584b97.tar.gz chromium_src-f20a3a2943c18409bf171f7159dc26e594584b97.tar.bz2 |
Move ConfigurationPolicyProvider to components/policy/.
This is a re-land of https://codereview.chromium.org/92153002/.
BUG=271392
Review URL: https://codereview.chromium.org/101163003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238406 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/policy.gypi')
-rw-r--r-- | components/policy.gypi | 35 |
1 files changed, 33 insertions, 2 deletions
diff --git a/components/policy.gypi b/components/policy.gypi index 4580dea..d1ec214 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,33 @@ ], }, ], + 'conditions': [ + ['configuration_policy==1', { + 'targets': [ + { + 'target_name': 'policy_component_test_support', + 'type': 'static_library', + # This must be undefined so that POLICY_EXPORT works correctly in + # the static_library build. + 'defines!': [ + 'POLICY_COMPONENT_IMPLEMENTATION', + ], + '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', + ], + }, + ], + }], + ], } |