| 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, LASTCHANGE, and BRANDING, | 9 # This template automatically includes VERSION, LASTCHANGE, and BRANDING, |
| 10 # | 10 # |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 inputs = [ | 47 inputs = [ |
| 48 version_path, | 48 version_path, |
| 49 invoker.source, | 49 invoker.source, |
| 50 lastchange_path, | 50 lastchange_path, |
| 51 branding_path, | 51 branding_path, |
| 52 ] | 52 ] |
| 53 | 53 |
| 54 outputs = [ invoker.output ] | 54 outputs = [ invoker.output ] |
| 55 | 55 |
| 56 args = [ | 56 args = [ |
| 57 "-f", rebase_path(version_path, root_build_dir), | 57 "-f", |
| 58 "-f", rebase_path(branding_path, root_build_dir), | 58 rebase_path(version_path, root_build_dir), |
| 59 "-f", rebase_path(lastchange_path, root_build_dir), | 59 "-f", |
| 60 "-i", rebase_path(invoker.source, root_build_dir), | 60 rebase_path(branding_path, root_build_dir), |
| 61 "-o", rebase_path(invoker.output, root_build_dir), | 61 "-f", |
| 62 rebase_path(lastchange_path, root_build_dir), |
| 63 "-i", |
| 64 rebase_path(invoker.source, root_build_dir), |
| 65 "-o", |
| 66 rebase_path(invoker.output, root_build_dir), |
| 62 ] | 67 ] |
| 63 | 68 |
| 64 if (defined(invoker.extra_args)) { | 69 if (defined(invoker.extra_args)) { |
| 65 args += invoker.extra_args | 70 args += invoker.extra_args |
| 66 } | 71 } |
| 67 } | 72 } |
| 68 } | 73 } |
| OLD | NEW |