OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 # Runs the version processing script over the given template file to produce | 5 # Runs the version processing script over the given template file to produce |
6 # an output file. This is used for generating various forms of files that | 6 # an output file. This is used for generating various forms of files that |
7 # incorporate the product name and version. | 7 # incorporate the product name and version. |
8 # | 8 # |
9 # This template automatically includes VERSION, | 9 # This template automatically includes VERSION, |
10 # | 10 # |
(...skipping 21 matching lines...) Expand all Loading... |
32 } | 32 } |
33 script = "//build/util/version.py" | 33 script = "//build/util/version.py" |
34 | 34 |
35 version_path = "//chrome/VERSION" | 35 version_path = "//chrome/VERSION" |
36 | 36 |
37 inputs = [ | 37 inputs = [ |
38 version_path, | 38 version_path, |
39 invoker.source, | 39 invoker.source, |
40 ] | 40 ] |
41 | 41 |
42 outputs = [ invoker.output ] | 42 outputs = [ |
| 43 invoker.output, |
| 44 ] |
43 | 45 |
44 args = [ | 46 args = [ |
45 "-f", | 47 "-f", |
46 rebase_path(version_path, root_build_dir), | 48 rebase_path(version_path, root_build_dir), |
47 rebase_path(invoker.source, root_build_dir), | 49 rebase_path(invoker.source, root_build_dir), |
48 rebase_path(invoker.output, root_build_dir), | 50 rebase_path(invoker.output, root_build_dir), |
49 ] | 51 ] |
50 } | 52 } |
51 } | 53 } |
OLD | NEW |