Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(881)

Unified Diff: utils/generate_patch_sdk.gni

Issue 2944103003: Introduce dart_host_toolchain arg, remove '--checked' option from patch_sdk.py (Closed)
Patch Set: Add comment Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/patch_sdk.py ('k') | utils/kernel-service/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/generate_patch_sdk.gni
diff --git a/utils/generate_patch_sdk.gni b/utils/generate_patch_sdk.gni
index 4fd74a1c9b85046ff5ed916502a68dd4b3a46c8a..2009bffc62f86ea9a6a1f08783cf18e0c4f63c43 100644
--- a/utils/generate_patch_sdk.gni
+++ b/utils/generate_patch_sdk.gni
@@ -3,6 +3,7 @@
# BSD-style license that can be found in the LICENSE file.
import("../build/prebuilt_dart_sdk.gni")
+import("../build/dart_host_toolchain.gni")
_dart_root = get_path_info("..", "abspath")
@@ -28,7 +29,7 @@ template("generate_patched_sdk") {
}
if (!prebuilt_dart_exe_works) {
- deps += [ "$_dart_root/runtime/bin:dart_bootstrap($host_toolchain)" ]
+ deps += [ "$_dart_root/runtime/bin:dart_bootstrap_host_arch($dart_host_toolchain)" ]
}
script = "$_dart_root/tools/patch_sdk.py"
@@ -49,7 +50,7 @@ template("generate_patched_sdk") {
args = [ "--quiet" ]
if (!prebuilt_dart_exe_works) {
dart_out_dir = get_label_info(
- "$_dart_root/runtime/bin:dart_bootstrap($host_toolchain)",
+ "$_dart_root/runtime/bin:dart_bootstrap_host_arch($dart_host_toolchain)",
"root_out_dir")
dart_bootstrap =
rebase_path("$dart_out_dir/dart_bootstrap$executable_suffix")
« no previous file with comments | « tools/patch_sdk.py ('k') | utils/kernel-service/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698