| 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 import("//build/config/chrome_build.gni") | 5 import("//build/config/chrome_build.gni") |
| 6 | 6 |
| 7 # Runs the version processing script over the given template file to produce | 7 # Runs the version processing script over the given template file to produce |
| 8 # an output file. This is used for generating various forms of files that | 8 # an output file. This is used for generating various forms of files that |
| 9 # incorporate the product name and version. | 9 # incorporate the product name and version. |
| 10 # | 10 # |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 branding_path = "//chrome/app/theme/google_chrome/BRANDING" | 75 branding_path = "//chrome/app/theme/google_chrome/BRANDING" |
| 76 } else { | 76 } else { |
| 77 branding_path = "//chrome/app/theme/chromium/BRANDING" | 77 branding_path = "//chrome/app/theme/chromium/BRANDING" |
| 78 } | 78 } |
| 79 | 79 |
| 80 inputs = [ | 80 inputs = [ |
| 81 version_path, | 81 version_path, |
| 82 lastchange_path, | 82 lastchange_path, |
| 83 branding_path, | 83 branding_path, |
| 84 ] | 84 ] |
| 85 if (defined(invoker.inputs)) { |
| 86 inputs += invoker.inputs |
| 87 } |
| 85 if (defined(invoker.template_file)) { | 88 if (defined(invoker.template_file)) { |
| 86 inputs += [ invoker.template_file ] | 89 inputs += [ invoker.template_file ] |
| 87 } | 90 } |
| 88 | 91 |
| 89 outputs = [ | 92 outputs = [ |
| 90 invoker.output, | 93 invoker.output, |
| 91 ] | 94 ] |
| 92 | 95 |
| 93 args = [] | 96 args = [] |
| 94 | 97 |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 forward_variables_from(invoker, [ "visibility" ]) | 138 forward_variables_from(invoker, [ "visibility" ]) |
| 136 sources = get_target_outputs(":$action_name") | 139 sources = get_target_outputs(":$action_name") |
| 137 public_deps = [ | 140 public_deps = [ |
| 138 ":$action_name", | 141 ":$action_name", |
| 139 ] | 142 ] |
| 140 } | 143 } |
| 141 } | 144 } |
| 142 } | 145 } |
| 143 | 146 |
| 144 chrome_version_rc_template = "//chrome/app/chrome_version.rc.version" | 147 chrome_version_rc_template = "//chrome/app/chrome_version.rc.version" |
| OLD | NEW |