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 # This file contains an action which can be used to construct a manifest file | 5 # This file contains an action which can be used to construct a manifest file |
6 # declaring a dependency on other dlls. This manifest can then be merged | 6 # declaring a dependency on other dlls. This manifest can then be merged |
7 # into the manifest of the executable and embedded into it when it is built. | 7 # into the manifest of the executable and embedded into it when it is built. |
8 | 8 |
9 # To use this the following variables need to be defined: | 9 # To use this the following variables need to be defined: |
10 # version_path: string: path to file containing version data (e.g. | 10 # version_path: string: path to file containing version data (e.g. |
11 # chrome/VERSION). | 11 # chrome/VERSION). |
12 # version_py_path: string: path to file containing version script (e.g. | 12 # version_py_path: string: path to file containing version script (e.g. |
13 # chrome/tools/build/version.py). | 13 # build/util/version.py). |
14 | 14 |
15 { | 15 { |
16 'variables': { | 16 'variables': { |
17 'template_input_path': | 17 'template_input_path': |
18 '<(DEPTH)/chrome/app/version_assembly/chrome_exe_manifest.template', | 18 '<(DEPTH)/chrome/app/version_assembly/chrome_exe_manifest.template', |
19 }, | 19 }, |
20 'inputs': [ | 20 'inputs': [ |
21 '<(template_input_path)', | 21 '<(template_input_path)', |
22 '<(version_path)', | 22 '<(version_path)', |
23 ], | 23 ], |
24 'outputs': [ | 24 'outputs': [ |
25 '<(SHARED_INTERMEDIATE_DIR)/chrome/app/version_assembly/version_assembly.man
ifest', | 25 '<(SHARED_INTERMEDIATE_DIR)/chrome/app/version_assembly/version_assembly.man
ifest', |
26 ], | 26 ], |
27 'action': [ | 27 'action': [ |
28 'python', '<(version_py_path)', | 28 'python', '<(version_py_path)', |
29 '-f', '<(version_path)', | 29 '-f', '<(version_path)', |
30 '<(template_input_path)', | 30 '<(template_input_path)', |
31 '<@(_outputs)', | 31 '<@(_outputs)', |
32 ], | 32 ], |
33 'message': 'Generating <@(_outputs)', | 33 'message': 'Generating <@(_outputs)', |
34 } | 34 } |
OLD | NEW |