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 '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 Loading... |
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 Loading... |
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 } |
OLD | NEW |