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

Side by Side Diff: chrome/app/policy/cloud_policy_codegen.gyp

Issue 9111022: Removed ConfigurationPolicyType and extended PolicyMap. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 8 years, 11 months 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
« no previous file with comments | « no previous file | chrome/browser/automation/testing_automation_provider.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 'policy_out_dir': '<(SHARED_INTERMEDIATE_DIR)/policy', 8 'policy_out_dir': '<(SHARED_INTERMEDIATE_DIR)/policy',
9 'protoc_out_dir': '<(SHARED_INTERMEDIATE_DIR)/protoc_out', 9 'protoc_out_dir': '<(SHARED_INTERMEDIATE_DIR)/protoc_out',
10 'generate_policy_source_script_path': 10 'generate_policy_source_script_path':
11 '<(DEPTH)/chrome/tools/build/generate_policy_source.py', 11 '<(DEPTH)/chrome/tools/build/generate_policy_source.py',
12 'policy_constant_header_path': 12 'policy_constant_header_path':
13 '<(policy_out_dir)/policy/policy_constants.h', 13 '<(policy_out_dir)/policy/policy_constants.h',
14 'policy_constant_source_path': 14 'policy_constant_source_path':
15 '<(policy_out_dir)/policy/policy_constants.cc', 15 '<(policy_out_dir)/policy/policy_constants.cc',
16 'configuration_policy_type_header_path':
17 '<(policy_out_dir)/policy/configuration_policy_type.h',
18 'protobuf_decoder_path': 16 'protobuf_decoder_path':
19 '<(policy_out_dir)/policy/cloud_policy_generated.cc', 17 '<(policy_out_dir)/policy/cloud_policy_generated.cc',
20 'cloud_policy_proto_path': '<(policy_out_dir)/policy/cloud_policy.proto', 18 'cloud_policy_proto_path': '<(policy_out_dir)/policy/cloud_policy.proto',
21 'proto_path_substr': 'chrome/browser/policy/proto', 19 'proto_path_substr': 'chrome/browser/policy/proto',
22 'proto_rel_path': '<(DEPTH)/<(proto_path_substr)', 20 'proto_rel_path': '<(DEPTH)/<(proto_path_substr)',
23 }, 21 },
24 'targets': [ 22 'targets': [
25 { 23 {
26 'target_name': 'cloud_policy_code_generate', 24 'target_name': 'cloud_policy_code_generate',
27 'type': 'none', 25 'type': 'none',
28 'actions': [ 26 'actions': [
29 { 27 {
30 'inputs': [ 28 'inputs': [
31 'policy_templates.json', 29 'policy_templates.json',
32 '<(generate_policy_source_script_path)', 30 '<(generate_policy_source_script_path)',
33 ], 31 ],
34 'outputs': [ 32 'outputs': [
35 '<(policy_constant_header_path)', 33 '<(policy_constant_header_path)',
36 '<(policy_constant_source_path)', 34 '<(policy_constant_source_path)',
37 '<(configuration_policy_type_header_path)',
38 '<(protobuf_decoder_path)', 35 '<(protobuf_decoder_path)',
39 '<(cloud_policy_proto_path)', 36 '<(cloud_policy_proto_path)',
40 ], 37 ],
41 'action_name': 'generate_policy_source', 38 'action_name': 'generate_policy_source',
42 'action': [ 39 'action': [
43 'python', 40 'python',
44 '<@(generate_policy_source_script_path)', 41 '<@(generate_policy_source_script_path)',
45 '--policy-constants-header=<(policy_constant_header_path)', 42 '--policy-constants-header=<(policy_constant_header_path)',
46 '--policy-constants-source=<(policy_constant_source_path)', 43 '--policy-constants-source=<(policy_constant_source_path)',
47 '--policy-type-header=<(configuration_policy_type_header_path)',
48 '--policy-protobuf=<(cloud_policy_proto_path)', 44 '--policy-protobuf=<(cloud_policy_proto_path)',
49 '--protobuf-decoder=<(protobuf_decoder_path)', 45 '--protobuf-decoder=<(protobuf_decoder_path)',
50 '<(OS)', 46 '<(OS)',
51 '<(chromeos)', 47 '<(chromeos)',
52 'policy_templates.json', 48 'policy_templates.json',
53 ], 49 ],
54 'message': 'Generating policy source', 50 'message': 'Generating policy source',
55 }, 51 },
56 ], 52 ],
57 'direct_dependent_settings': { 53 'direct_dependent_settings': {
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 'hard_dependency': 1, 138 'hard_dependency': 1,
143 'direct_dependent_settings': { 139 'direct_dependent_settings': {
144 'include_dirs': [ 140 'include_dirs': [
145 '<(policy_out_dir)', 141 '<(policy_out_dir)',
146 '<(protoc_out_dir)', 142 '<(protoc_out_dir)',
147 ], 143 ],
148 }, 144 },
149 'sources': [ 145 'sources': [
150 '<(policy_constant_header_path)', 146 '<(policy_constant_header_path)',
151 '<(policy_constant_source_path)', 147 '<(policy_constant_source_path)',
152 '<(configuration_policy_type_header_path)',
153 '<(protobuf_decoder_path)', 148 '<(protobuf_decoder_path)',
154 '<(protoc_out_dir)/<(proto_path_substr)/cloud_policy.pb.h', 149 '<(protoc_out_dir)/<(proto_path_substr)/cloud_policy.pb.h',
155 '<(protoc_out_dir)/<(proto_path_substr)/cloud_policy.pb.cc', 150 '<(protoc_out_dir)/<(proto_path_substr)/cloud_policy.pb.cc',
156 '<(protoc_out_dir)/<(proto_path_substr)/old_generic_format.pb.h', 151 '<(protoc_out_dir)/<(proto_path_substr)/old_generic_format.pb.h',
157 '<(protoc_out_dir)/<(proto_path_substr)/old_generic_format.pb.cc', 152 '<(protoc_out_dir)/<(proto_path_substr)/old_generic_format.pb.cc',
158 '<(DEPTH)/chrome/browser/policy/policy_map.h', 153 '<(DEPTH)/chrome/browser/policy/policy_map.h',
159 '<(DEPTH)/chrome/browser/policy/policy_map.cc', 154 '<(DEPTH)/chrome/browser/policy/policy_map.cc',
160 ], 155 ],
161 'include_dirs': [ 156 'include_dirs': [
162 '<(DEPTH)', 157 '<(DEPTH)',
(...skipping 10 matching lines...) Expand all
173 'conditions': [ 168 'conditions': [
174 ['OS=="win"', { 169 ['OS=="win"', {
175 'targets': [ 170 'targets': [
176 { 171 {
177 'target_name': 'policy_win64', 172 'target_name': 'policy_win64',
178 'type': 'static_library', 173 'type': 'static_library',
179 'hard_dependency': 1, 174 'hard_dependency': 1,
180 'sources': [ 175 'sources': [
181 '<(policy_constant_header_path)', 176 '<(policy_constant_header_path)',
182 '<(policy_constant_source_path)', 177 '<(policy_constant_source_path)',
183 '<(configuration_policy_type_header_path)',
184 ], 178 ],
185 'include_dirs': [ 179 'include_dirs': [
186 '<(DEPTH)', 180 '<(DEPTH)',
187 ], 181 ],
188 'direct_dependent_settings': { 182 'direct_dependent_settings': {
189 'include_dirs': [ 183 'include_dirs': [
190 '<(policy_out_dir)' 184 '<(policy_out_dir)'
191 ], 185 ],
192 }, 186 },
193 'dependencies': [ 187 'dependencies': [
194 'cloud_policy_code_generate', 188 'cloud_policy_code_generate',
195 ], 189 ],
196 'configurations': { 190 'configurations': {
197 'Common_Base': { 191 'Common_Base': {
198 'msvs_target_platform': 'x64', 192 'msvs_target_platform': 'x64',
199 }, 193 },
200 }, 194 },
201 }, 195 },
202 ], 196 ],
203 }], 197 }],
204 ], # 'conditions' 198 ], # 'conditions'
205 } 199 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/automation/testing_automation_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698