Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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/features.gni") | 5 import("//build/config/features.gni") |
| 6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
| 7 import("//build_overrides/v8.gni") | 7 import("//build_overrides/v8.gni") |
| 8 import("//chrome/version.gni") | 8 import("//chrome/version.gni") |
| 9 import("//third_party/icu/config.gni") | 9 import("//third_party/icu/config.gni") |
| 10 import("//ui/base/ui_features.gni") | 10 import("//ui/base/ui_features.gni") |
| (...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 197 libs = [ "setupapi.lib" ] | 197 libs = [ "setupapi.lib" ] |
| 198 | 198 |
| 199 deps = [ | 199 deps = [ |
| 200 ":archive", | 200 ":archive", |
| 201 ":lib", | 201 ":lib", |
| 202 ":version", | 202 ":version", |
| 203 "//build/config/sanitizers:deps", | 203 "//build/config/sanitizers:deps", |
| 204 "//build/win:default_exe_manifest", | 204 "//build/win:default_exe_manifest", |
| 205 ] | 205 ] |
| 206 } | 206 } |
| 207 | |
| 208 action("next_version_mini_installer") { | |
| 209 script = "generate_next_version_mini_installer.py" | |
|
grt (UTC plus 2)
2016/04/20 20:00:42
is there no way to run the command without wrappin
fdoray
2016/04/20 20:42:44
GN prepends the Python path to the provided script
Dirk Pranke
2016/04/20 21:33:33
Right, GN only supports calling out to python scri
| |
| 210 testonly = true | |
| 211 next_version_mini_installer_exe = "next_version_mini_installer.exe" | |
|
Dirk Pranke
2016/04/20 21:33:33
Nit: this could be "$target_name.exe" instead, or
fdoray
2016/04/21 13:14:13
Done.
| |
| 212 inputs = [ | |
| 213 "$root_out_dir/alternate_version_generator.exe", | |
| 214 "$root_out_dir/mini_installer.exe", | |
| 215 ] | |
| 216 outputs = [ | |
| 217 "$root_out_dir/$next_version_mini_installer_exe", | |
| 218 ] | |
| 219 args = [ | |
| 220 "--out", | |
| 221 next_version_mini_installer_exe, | |
| 222 ] | |
| 223 deps = [ | |
| 224 ":mini_installer", | |
| 225 "//chrome/installer/test:alternate_version_generator", | |
| 226 ] | |
| 227 } | |
| OLD | NEW |