OLD | NEW |
(Empty) | |
| 1 # Copyright (c) 2015 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 { |
| 6 'variables': { |
| 7 'chromium_code': 1, |
| 8 'version_py': '<(DEPTH)/build/util/version.py', |
| 9 'version_path': '../../chrome/VERSION', |
| 10 'lastchange_path': '<(DEPTH)/build/util/LASTCHANGE', |
| 11 'branding_dir': '../app/theme/<(branding_path_component)', |
| 12 }, |
| 13 'conditions': [ |
| 14 ['OS=="win"', { |
| 15 'targets': [ |
| 16 { |
| 17 'target_name': 'mini_installer_version', |
| 18 'type': 'none', |
| 19 'rules': [ |
| 20 { |
| 21 'rule_name': 'mini_installer_version', |
| 22 'extension': 'version', |
| 23 'variables': { |
| 24 'template_input_path': 'mini_installer/mini_installer_exe_version.
rc.version', |
| 25 }, |
| 26 'inputs': [ |
| 27 '<(template_input_path)', |
| 28 '<(version_path)', |
| 29 '<(lastchange_path)', |
| 30 '<(branding_dir)/BRANDING', |
| 31 ], |
| 32 'outputs': [ |
| 33 '<(PRODUCT_DIR)/mini_installer_exe_version.rc', |
| 34 ], |
| 35 'action': [ |
| 36 'python', '<(version_py)', |
| 37 '-f', '<(version_path)', |
| 38 '-f', '<(lastchange_path)', |
| 39 '-f', '<(branding_dir)/BRANDING', |
| 40 '<(template_input_path)', |
| 41 '<@(_outputs)', |
| 42 ], |
| 43 'process_outputs_as_sources': 1, |
| 44 'message': 'Generating version information' |
| 45 }, |
| 46 ], |
| 47 }], |
| 48 }], |
| 49 ], |
| 50 } |
OLD | NEW |