| 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 'variables': { | 5 'variables': { |
| 6 'chromium_code': 1, | 6 'chromium_code': 1, |
| 7 | 7 |
| 8 'variables': { | 8 'variables': { |
| 9 'version_py_path': '<(DEPTH)/build/util/version.py', | 9 'version_py_path': '<(DEPTH)/build/util/version.py', |
| 10 'version_path': 'VERSION', | 10 'version_path': 'VERSION', |
| 11 }, | 11 }, |
| 12 'version_py_path': '<(version_py_path) -f', | 12 'version_py_path': '<(version_py_path) -f', |
| 13 'version_path': '<(version_path)', | 13 'version_path': '<(version_path)', |
| 14 }, | 14 }, |
| 15 'includes': [ | 15 'includes': [ |
| 16 '../build/util/version.gypi', | 16 '../build/util/version.gypi', |
| 17 ], | 17 ], |
| 18 'targets': [ | 18 'targets': [ |
| 19 { | 19 { |
| 20 # GN: Thes targets for this are split out depending on when the specific | |
| 21 # .ver file is used. For example, see: | |
| 22 # //cloud_print/sevice/win:exe_version | |
| 23 'target_name': 'cloud_print_version_resources', | 20 'target_name': 'cloud_print_version_resources', |
| 24 'type': 'none', | 21 'type': 'none', |
| 25 'variables': { | 22 'variables': { |
| 26 'output_dir': 'cloud_print', | 23 'output_dir': 'cloud_print', |
| 27 'branding_path': '<(DEPTH)/chrome/app/theme/<(branding_path_component)/B
RANDING', | 24 'branding_path': '<(DEPTH)/chrome/app/theme/<(branding_path_component)/B
RANDING', |
| 28 'template_input_path': '../chrome/app/chrome_version.rc.version', | 25 'template_input_path': '../chrome/app/chrome_version.rc.version', |
| 29 'extra_variable_files_arguments': [ '-f', 'BRANDING' ], | 26 'extra_variable_files_arguments': [ '-f', 'BRANDING' ], |
| 30 'extra_variable_files': [ 'BRANDING' ], # NOTE: matches that above | 27 'extra_variable_files': [ 'BRANDING' ], # NOTE: matches that above |
| 31 }, | 28 }, |
| 32 'direct_dependent_settings': { | 29 'direct_dependent_settings': { |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 '-f', 'BRANDING', | 80 '-f', 'BRANDING', |
| 84 '<(DEPTH)/chrome/version.h.in', | 81 '<(DEPTH)/chrome/version.h.in', |
| 85 '<@(_outputs)', | 82 '<@(_outputs)', |
| 86 ], | 83 ], |
| 87 'message': 'Generating version header file: <@(_outputs)', | 84 'message': 'Generating version header file: <@(_outputs)', |
| 88 }, | 85 }, |
| 89 ], | 86 ], |
| 90 }, | 87 }, |
| 91 ], | 88 ], |
| 92 } | 89 } |
| OLD | NEW |