Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(506)

Unified Diff: components/policy.gypi

Issue 92153002: Move ConfigurationPolicyProvider, etc. to components/policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/components_tests.gyp ('k') | components/policy/core/common/configuration_policy_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/policy.gypi
diff --git a/components/policy.gypi b/components/policy.gypi
index 4580dea617873439d4aa7c4318557f4810383054..17b5cf93cda15a37fa6ecc820928b7b523a1a456 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_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',
+ ],
+ },
+ ],
+ }],
+ ],
}
« no previous file with comments | « components/components_tests.gyp ('k') | components/policy/core/common/configuration_policy_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698