OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 # Generates an output manifest based on a Jinja2 templated manifest. | 5 # Generates an output manifest based on a Jinja2 templated manifest. |
6 # Include this file inside of your target to generate a manifest. | 6 # Include this file inside of your target to generate a manifest. |
7 # The following variables must be set before including this file: | 7 # The following variables must be set before including this file: |
8 # | 8 # |
9 # template_manifest_path: a valid Jinja2 file path. | 9 # template_manifest_path: a valid Jinja2 file path. |
10 # output_manifest_path: file path for the resulting manifest. | 10 # output_manifest_path: file path for the resulting manifest. |
11 # | 11 # |
12 # The following variable is optional: | 12 # The following variable is optional: |
13 # | 13 # |
14 # guest_manifest: 1 or 0; generates a manifest usable while in guest | 14 # guest_manifest: 1 or 0; generates a manifest usable while in guest |
15 # mode. | 15 # mode. |
16 | 16 |
17 { | 17 { |
18 'variables': { | 18 'variables': { |
19 'generate_manifest_script_path': 'tools/generate_manifest.py', | 19 'generate_manifest_script_path': 'tools/generate_manifest.py', |
20 'is_guest_manifest%': 0, | 20 'is_guest_manifest%': 0, |
| 21 'key': 'MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDltVl1k15pjRzuZfMc3B69inxwm2bZ
eZ2O8/zFO+NluHnBm3GJ3fzdOoFGJd+M16I8p7zxxQyHeDMfWYASyCeB8XnUEDKjqNLQfCnncsANzHsY
oEbYj2nEUML2P13b9q+AAvpCBpAJ4cZp81e9n1y/vbSXHE4385cgkKueItzikQIDAQAB', |
21 }, | 22 }, |
| 23 'includes': [ |
| 24 '../../../../../build/util/version.gypi', |
| 25 ], |
22 'actions': [ | 26 'actions': [ |
23 { | 27 { |
24 'action_name': 'generate_manifest', | 28 'action_name': 'generate_manifest', |
25 'message': 'Generate manifest for <(_target_name)', | 29 'message': 'Generate manifest for <(_target_name)', |
26 'inputs': [ | 30 'inputs': [ |
27 '<(generate_manifest_script_path)', | 31 '<(generate_manifest_script_path)', |
28 '<(template_manifest_path)', | 32 '<(template_manifest_path)', |
29 ], | 33 ], |
30 'outputs': [ | 34 'outputs': [ |
31 '<(output_manifest_path)' | 35 '<(output_manifest_path)' |
32 ], | 36 ], |
33 'action': [ | 37 'action': [ |
34 'python', | 38 'python', |
35 '<(generate_manifest_script_path)', | 39 '<(generate_manifest_script_path)', |
36 '--is_guest_manifest=<(is_guest_manifest)', | 40 '--is_guest_manifest=<(is_guest_manifest)', |
| 41 '--key=<(key)', |
37 '--use_chromevox_next=<(use_chromevox_next)', | 42 '--use_chromevox_next=<(use_chromevox_next)', |
| 43 '--set_version=<(version_full)', |
38 '-o', '<(output_manifest_path)', | 44 '-o', '<(output_manifest_path)', |
39 '<(template_manifest_path)', | 45 '<(template_manifest_path)', |
40 ], | 46 ], |
41 }, | 47 }, |
42 ], | 48 ], |
43 } | 49 } |
OLD | NEW |