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

Side by Side Diff: components/policy.gypi

Issue 78763002: Move PolicyMap and its dependencies to components/policy/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: export nested struct 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 ], 13 ],
14 'defines': [ 14 'defines': [
15 'POLICY_COMPONENT_IMPLEMENTATION', 15 'POLICY_COMPONENT_IMPLEMENTATION',
16 ], 16 ],
17 'include_dirs': [ 17 'include_dirs': [
18 '..', 18 '..',
19 ], 19 ],
20 'conditions': [ 20 'conditions': [
21 ['configuration_policy==1', { 21 ['configuration_policy==1', {
22 'sources': [ 22 'sources': [
23 'policy/core/common/external_data_fetcher.cc',
24 'policy/core/common/external_data_fetcher.h',
25 'policy/core/common/external_data_manager.h',
23 'policy/core/common/policy_details.h', 26 'policy/core/common/policy_details.h',
24 'policy/core/common/policy_namespace.cc', 27 'policy/core/common/policy_namespace.cc',
25 'policy/core/common/policy_namespace.h', 28 'policy/core/common/policy_namespace.h',
29 'policy/core/common/policy_map.cc',
30 'policy/core/common/policy_map.h',
26 'policy/core/common/policy_pref_names.cc', 31 'policy/core/common/policy_pref_names.cc',
27 'policy/core/common/policy_pref_names.h', 32 'policy/core/common/policy_pref_names.h',
28 'policy/core/common/policy_switches.cc', 33 'policy/core/common/policy_switches.cc',
29 'policy/core/common/policy_switches.h', 34 'policy/core/common/policy_switches.h',
35 'policy/core/common/policy_types.h',
30 'policy/core/common/schema.cc', 36 'policy/core/common/schema.cc',
31 'policy/core/common/schema.h', 37 'policy/core/common/schema.h',
32 'policy/core/common/schema_internal.h', 38 'policy/core/common/schema_internal.h',
33 'policy/policy_export.h', 39 'policy/policy_export.h',
34 ], 40 ],
35 }, { # configuration_policy==0 41 }, { # configuration_policy==0
36 # Some of the policy code is always enabled, so that other parts of 42 # Some of the policy code is always enabled, so that other parts of
37 # Chrome can always interface with the PolicyService without having 43 # Chrome can always interface with the PolicyService without having
38 # to #ifdef on ENABLE_CONFIGURATION_POLICY. 44 # to #ifdef on ENABLE_CONFIGURATION_POLICY.
39 'sources': [ 45 'sources': [
46 'policy/core/common/external_data_fetcher.h',
47 'policy/core/common/external_data_fetcher.cc',
48 'policy/core/common/external_data_manager.h',
49 'policy/core/common/policy_map.cc',
50 'policy/core/common/policy_map.h',
40 'policy/core/common/policy_namespace.cc', 51 'policy/core/common/policy_namespace.cc',
41 'policy/core/common/policy_namespace.h', 52 'policy/core/common/policy_namespace.h',
42 ], 53 ],
43 }], 54 }],
44 ], 55 ],
45 }, 56 },
46 ], 57 ],
47 } 58 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698