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

Side by Side Diff: components/policy.gypi

Issue 92153002: Move ConfigurationPolicyProvider, etc. to components/policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'policy_component', 8 'target_name': 'policy_component',
9 'type': '<(component)', 9 'type': '<(component)',
10 'dependencies': [ 10 'dependencies': [
11 '../base/base.gyp:base', 11 '../base/base.gyp:base',
12 'json_schema', 12 'json_schema',
13 'component_strings.gyp:component_strings', 13 'component_strings.gyp:component_strings',
14 ], 14 ],
15 'defines': [ 15 'defines': [
16 'POLICY_COMPONENT_IMPLEMENTATION', 16 'POLICY_COMPONENT_IMPLEMENTATION',
17 ], 17 ],
18 'include_dirs': [ 18 'include_dirs': [
19 '..', 19 '..',
20 ], 20 ],
21 'conditions': [ 21 'conditions': [
22 ['configuration_policy==1', { 22 ['configuration_policy==1', {
23 'sources': [ 23 'sources': [
24 'policy/core/common/policy_bundle.cc', 24 'policy/core/common/policy_bundle.cc',
25 'policy/core/common/policy_bundle.h', 25 'policy/core/common/policy_bundle.h',
Joao da Silva 2013/11/28 07:59:36 policy_bundle.* is out of order
dconnelly 2013/11/29 10:52:26 Well, shit.
26 'policy/core/common/configuration_policy_provider.cc',
27 'policy/core/common/configuration_policy_provider.h',
26 'policy/core/common/external_data_fetcher.cc', 28 'policy/core/common/external_data_fetcher.cc',
27 'policy/core/common/external_data_fetcher.h', 29 'policy/core/common/external_data_fetcher.h',
28 'policy/core/common/external_data_manager.h', 30 'policy/core/common/external_data_manager.h',
29 'policy/core/common/policy_details.h', 31 'policy/core/common/policy_details.h',
30 'policy/core/common/policy_namespace.cc', 32 'policy/core/common/policy_namespace.cc',
31 'policy/core/common/policy_namespace.h', 33 'policy/core/common/policy_namespace.h',
32 'policy/core/common/policy_map.cc', 34 'policy/core/common/policy_map.cc',
33 'policy/core/common/policy_map.h', 35 'policy/core/common/policy_map.h',
34 'policy/core/common/policy_pref_names.cc', 36 'policy/core/common/policy_pref_names.cc',
35 'policy/core/common/policy_pref_names.h', 37 'policy/core/common/policy_pref_names.h',
(...skipping 20 matching lines...) Expand all
56 'policy/core/common/external_data_fetcher.cc', 58 'policy/core/common/external_data_fetcher.cc',
57 'policy/core/common/external_data_manager.h', 59 'policy/core/common/external_data_manager.h',
58 'policy/core/common/policy_map.cc', 60 'policy/core/common/policy_map.cc',
59 'policy/core/common/policy_map.h', 61 'policy/core/common/policy_map.h',
60 'policy/core/common/policy_namespace.cc', 62 'policy/core/common/policy_namespace.cc',
61 'policy/core/common/policy_namespace.h', 63 'policy/core/common/policy_namespace.h',
62 ], 64 ],
63 }], 65 }],
64 ], 66 ],
65 }, 67 },
68 {
69 'target_name': 'policy_test_support',
Joao da Silva 2013/11/28 07:59:36 This target should exist only when configuration_p
dconnelly 2013/11/29 10:52:26 Done.
70 'type': 'static_library',
71 'defines!': ['POLICY_COMPONENT_IMPLEMENTATION'],
Joao da Silva 2013/11/28 07:59:36 Remove the "!". Also, for consistency with the tar
dconnelly 2013/11/29 10:52:26 Done.
72 'dependencies': [
73 'policy_component',
74 '../testing/gmock.gyp:gmock',
75 '../testing/gtest.gyp:gtest',
76 ],
77 'include_dirs': [
78 '..',
79 ],
80 'sources': [
81 'policy/core/common/configuration_policy_provider_test.cc',
82 'policy/core/common/configuration_policy_provider_test.h',
83 'policy/core/common/mock_configuration_policy_provider.cc',
84 'policy/core/common/mock_configuration_policy_provider.h',
85 ],
86 },
66 ], 87 ],
67 } 88 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698