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