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 # |
| 8 # GN: Use the "process_version" template in //chrome/version.gni. |
| 9 # For an example, see the target //chrome:chrome_exe_version |
7 | 10 |
8 # Include 'version.gypi' at the top of your GYP file to define | 11 # Include 'version.gypi' at the top of your GYP file to define |
9 # the required variables: | 12 # the required variables: |
10 # | 13 # |
11 # 'includes': [ | 14 # 'includes': [ |
12 # '<(DEPTH)/build/util/version.gypi', | 15 # '<(DEPTH)/build/util/version.gypi', |
13 # ], | 16 # ], |
14 # | 17 # |
15 # Then include this rule file in a productname_resources target: | 18 # Then include this rule file in a productname_resources target: |
16 # | 19 # |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 '-f', '<(branding_path)', | 61 '-f', '<(branding_path)', |
59 '-f', '<(lastchange_path)', | 62 '-f', '<(lastchange_path)', |
60 '<@(extra_variable_files_arguments)', | 63 '<@(extra_variable_files_arguments)', |
61 '<(template_input_path)', | 64 '<(template_input_path)', |
62 '<@(_outputs)', | 65 '<@(_outputs)', |
63 ], | 66 ], |
64 'message': 'Generating version information in <@(_outputs)' | 67 'message': 'Generating version information in <@(_outputs)' |
65 }, | 68 }, |
66 ], | 69 ], |
67 } | 70 } |
OLD | NEW |