OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 defines rules that allow you to generate version resources for | 5 # This file defines rules that allow you to generate version resources for |
6 # Windows images. | 6 # Windows images. |
7 | 7 |
8 # Include 'version.gypi' at the top of your GYP file to define | 8 # Include 'version.gypi' at the top of your GYP file to define |
9 # the required variables: | 9 # the required variables: |
10 # | 10 # |
11 # 'includes': [ | 11 # 'includes': [ |
12 # '<(DEPTH)/chrome/version.gypi', | 12 # '<(DEPTH)/build/util/version.gypi', |
13 # ], | 13 # ], |
14 # | 14 # |
15 # Then include this rule file in a productname_resources target: | 15 # Then include this rule file in a productname_resources target: |
16 # | 16 # |
17 # { | 17 # { |
18 # 'target_name': 'chrome_version_resources', | 18 # 'target_name': 'chrome_version_resources', |
19 # ... | 19 # ... |
20 # 'variables': { | 20 # 'variables': { |
21 # 'output_dir': 'product_version', | 21 # 'output_dir': 'product_version', |
22 # 'branding_path': 'some/branding/file', | 22 # 'branding_path': 'some/branding/file', |
23 # 'template_input_path': 'some/product_version.rc.version', | 23 # 'template_input_path': 'some/product_version.rc.version', |
24 # 'extra_variable_files_arguments': [ '-f', 'some/file/with/variables' ], | 24 # 'extra_variable_files_arguments': [ '-f', 'some/file/with/variables' ], |
25 # 'extra_variable_files': [ 'some/file/with/variables' ], # NOTE: matches
that above | 25 # 'extra_variable_files': [ 'some/file/with/variables' ], # NOTE: matches
that above |
26 # }, | 26 # }, |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 '-f', '<(branding_path)', | 58 '-f', '<(branding_path)', |
59 '-f', '<(lastchange_path)', | 59 '-f', '<(lastchange_path)', |
60 '<@(extra_variable_files_arguments)', | 60 '<@(extra_variable_files_arguments)', |
61 '<(template_input_path)', | 61 '<(template_input_path)', |
62 '<@(_outputs)', | 62 '<@(_outputs)', |
63 ], | 63 ], |
64 'message': 'Generating version information in <@(_outputs)' | 64 'message': 'Generating version information in <@(_outputs)' |
65 }, | 65 }, |
66 ], | 66 ], |
67 } | 67 } |
OLD | NEW |