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

Side by Side Diff: components/policy.gypi

Issue 50613003: Move the PolicyDomain and PolicyNamespace types to the policy component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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 unified diff | Download patch
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/policy_namespace.cc',
24 'policy/core/common/policy_namespace.h',
23 'policy/core/common/policy_pref_names.cc', 25 'policy/core/common/policy_pref_names.cc',
24 'policy/core/common/policy_pref_names.h', 26 'policy/core/common/policy_pref_names.h',
25 'policy/core/common/policy_switches.cc', 27 'policy/core/common/policy_switches.cc',
26 'policy/core/common/policy_switches.h', 28 'policy/core/common/policy_switches.h',
27 'policy/core/common/schema.cc', 29 'policy/core/common/schema.cc',
28 'policy/core/common/schema.h', 30 'policy/core/common/schema.h',
29 'policy/core/common/schema_internal.h', 31 'policy/core/common/schema_internal.h',
30 'policy/policy_export.h', 32 'policy/policy_export.h',
31 ], 33 ],
32 }, { # configuration_policy==0 34 }, { # configuration_policy==0
33 # The target 'policy_component' always exists. Later it will include 35 # Some of the policy code is always enabled, so that other parts of
34 # some stubs when configuration_policy==0. For now this stub file is 36 # Chrome can always interface with the PolicyService without having
35 # compiled so that an output is produced, otherwise the shared build 37 # to #ifdef on ENABLE_CONFIGURATION_POLICY.
36 # breaks on iOS.
37 # TODO(joaodasilva): remove this comment and the temporary stub after
38 # moving one of the real stubs. http://crbug.com/271392
39 'sources': [ 38 'sources': [
40 'policy/stub_to_remove.cc', 39 'policy/core/common/policy_namespace.cc',
40 'policy/core/common/policy_namespace.h',
41 ], 41 ],
42 }], 42 }],
43 ], 43 ],
44 }, 44 },
45 ], 45 ],
46 } 46 }
OLDNEW
« no previous file with comments | « chrome/browser/policy/policy_service.cc ('k') | components/policy/core/common/policy_namespace.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698