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

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: gyp fixes Created 7 years, 1 month 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..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',
+ ],
+ },
+ ],
+ }],
+ ],
}
« 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