OLD | NEW |
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/configuration_policy_provider.cc', | 24 'policy/core/common/policy_bundle.cc', |
25 'policy/core/common/configuration_policy_provider.h', | 25 'policy/core/common/policy_bundle.h', |
26 'policy/core/common/external_data_fetcher.cc', | 26 'policy/core/common/external_data_fetcher.cc', |
27 'policy/core/common/external_data_fetcher.h', | 27 'policy/core/common/external_data_fetcher.h', |
28 'policy/core/common/external_data_manager.h', | 28 'policy/core/common/external_data_manager.h', |
29 'policy/core/common/policy_bundle.cc', | |
30 'policy/core/common/policy_bundle.h', | |
31 'policy/core/common/policy_details.h', | 29 'policy/core/common/policy_details.h', |
32 'policy/core/common/policy_namespace.cc', | 30 'policy/core/common/policy_namespace.cc', |
33 'policy/core/common/policy_namespace.h', | 31 'policy/core/common/policy_namespace.h', |
34 'policy/core/common/policy_map.cc', | 32 'policy/core/common/policy_map.cc', |
35 'policy/core/common/policy_map.h', | 33 'policy/core/common/policy_map.h', |
36 'policy/core/common/policy_pref_names.cc', | 34 'policy/core/common/policy_pref_names.cc', |
37 'policy/core/common/policy_pref_names.h', | 35 'policy/core/common/policy_pref_names.h', |
38 'policy/core/common/policy_switches.cc', | 36 'policy/core/common/policy_switches.cc', |
39 'policy/core/common/policy_switches.h', | 37 'policy/core/common/policy_switches.h', |
40 'policy/core/common/policy_types.h', | 38 'policy/core/common/policy_types.h', |
(...skipping 18 matching lines...) Expand all Loading... |
59 'policy/core/common/external_data_manager.h', | 57 'policy/core/common/external_data_manager.h', |
60 'policy/core/common/policy_map.cc', | 58 'policy/core/common/policy_map.cc', |
61 'policy/core/common/policy_map.h', | 59 'policy/core/common/policy_map.h', |
62 'policy/core/common/policy_namespace.cc', | 60 'policy/core/common/policy_namespace.cc', |
63 'policy/core/common/policy_namespace.h', | 61 'policy/core/common/policy_namespace.h', |
64 ], | 62 ], |
65 }], | 63 }], |
66 ], | 64 ], |
67 }, | 65 }, |
68 ], | 66 ], |
69 'conditions': [ | |
70 ['configuration_policy==1', { | |
71 'targets': [ | |
72 { | |
73 'target_name': 'policy_test_support', | |
74 'type': 'static_library', | |
75 # This must be undefined so that POLICY_EXPORT works correctly in | |
76 # the static_library build. | |
77 'defines!': [ | |
78 'POLICY_COMPONENT_IMPLEMENTATION', | |
79 ], | |
80 'dependencies': [ | |
81 'policy_component', | |
82 '../testing/gmock.gyp:gmock', | |
83 '../testing/gtest.gyp:gtest', | |
84 ], | |
85 'include_dirs': [ | |
86 '..', | |
87 ], | |
88 'sources': [ | |
89 'policy/core/common/configuration_policy_provider_test.cc', | |
90 'policy/core/common/configuration_policy_provider_test.h', | |
91 'policy/core/common/mock_configuration_policy_provider.cc', | |
92 'policy/core/common/mock_configuration_policy_provider.h', | |
93 ], | |
94 }, | |
95 ], | |
96 }], | |
97 ], | |
98 } | 67 } |
OLD | NEW |