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

Side by Side Diff: components/policy.gypi

Issue 929353002: Fix generate_policy_source.py to honour supported_on ranges. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add some error handling for malformatted supported_on version ranges. Created 5 years, 10 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
« no previous file with comments | « no previous file | components/policy/BUILD.gn » ('j') | components/policy/BUILD.gn » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 'includes': [ 6 'includes': [
7 # Included to get 'mac_bundle_id' and other variables. 7 # Included to get 'mac_bundle_id' and other variables.
8 '../build/chrome_settings.gypi', 8 '../build/chrome_settings.gypi',
9 '../build/util/version.gypi',
9 ], 10 ],
10 'variables': { 11 'variables': {
11 'chromium_code': 1, 12 'chromium_code': 1,
12 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome', 13 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome',
13 'policy_out_dir': '<(SHARED_INTERMEDIATE_DIR)/policy', 14 'policy_out_dir': '<(SHARED_INTERMEDIATE_DIR)/policy',
14 'protoc_out_dir': '<(SHARED_INTERMEDIATE_DIR)/protoc_out', 15 'protoc_out_dir': '<(SHARED_INTERMEDIATE_DIR)/protoc_out',
15 'android_resources_out_dir': '<(policy_out_dir)/android_resources', 16 'android_resources_out_dir': '<(policy_out_dir)/android_resources',
16 'generate_policy_source_script_path': 17 'generate_policy_source_script_path':
17 'policy/tools/generate_policy_source.py', 18 'policy/tools/generate_policy_source.py',
18 'policy_constant_header_path': 19 'policy_constant_header_path':
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 'action': [ 122 'action': [
122 'python', 123 'python',
123 '<@(generate_policy_source_script_path)', 124 '<@(generate_policy_source_script_path)',
124 '--policy-constants-header=<(policy_constant_header_path)', 125 '--policy-constants-header=<(policy_constant_header_path)',
125 '--policy-constants-source=<(policy_constant_source_path)', 126 '--policy-constants-source=<(policy_constant_source_path)',
126 '--chrome-settings-protobuf=<(chrome_settings_proto_path)', 127 '--chrome-settings-protobuf=<(chrome_settings_proto_path)',
127 '--cloud-policy-protobuf=<(cloud_policy_proto_path)', 128 '--cloud-policy-protobuf=<(cloud_policy_proto_path)',
128 '--cloud-policy-decoder=<(protobuf_decoder_path)', 129 '--cloud-policy-decoder=<(protobuf_decoder_path)',
129 '--app-restrictions-definition=<(app_restrictions_path)', 130 '--app-restrictions-definition=<(app_restrictions_path)',
130 '--app-restrictions-resources=<(app_resources_path)', 131 '--app-restrictions-resources=<(app_resources_path)',
132 '<(version_full)',
131 '<(OS)', 133 '<(OS)',
132 '<(chromeos)', 134 '<(chromeos)',
133 'policy/resources/policy_templates.json', 135 'policy/resources/policy_templates.json',
134 ], 136 ],
135 'message': 'Generating policy source', 137 'message': 'Generating policy source',
136 'conditions': [ 138 'conditions': [
137 ['OS!="android"', { 139 ['OS!="android"', {
138 'outputs!': [ 140 'outputs!': [
139 '<(app_restrictions_path)', 141 '<(app_restrictions_path)',
140 '<(app_resources_path)', 142 '<(app_resources_path)',
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
471 'message': 473 'message':
472 'Copy the Localizable.strings files to the manifest bundle', 474 'Copy the Localizable.strings files to the manifest bundle',
473 'process_outputs_as_mac_bundle_resources': 1, 475 'process_outputs_as_mac_bundle_resources': 1,
474 }, 476 },
475 ], 477 ],
476 }, 478 },
477 ], 479 ],
478 }], 480 }],
479 ], 481 ],
480 } 482 }
OLDNEW
« no previous file with comments | « no previous file | components/policy/BUILD.gn » ('j') | components/policy/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698