Index: BUILD.gn |
diff --git a/BUILD.gn b/BUILD.gn |
index b08fbb8efa0a22c805283e4240d2742fbd6cabe8..77b16216fcb0edc292756b34e1e4f41be73d52fe 100644 |
--- a/BUILD.gn |
+++ b/BUILD.gn |
@@ -611,7 +611,7 @@ action("run_mksnapshot") { |
visibility = [ ":*" ] # Only targets in this file can depend on this. |
deps = [ |
- ":mksnapshot($snapshot_toolchain)", |
+ ":mksnapshot($v8_snapshot_toolchain)", |
] |
script = "tools/run.py" |
@@ -621,7 +621,7 @@ action("run_mksnapshot") { |
] |
args = [ |
- "./" + rebase_path(get_label_info(":mksnapshot($snapshot_toolchain)", |
+ "./" + rebase_path(get_label_info(":mksnapshot($v8_snapshot_toolchain)", |
"root_out_dir") + "/mksnapshot", |
root_build_dir), |
"--startup_src", |
@@ -2000,7 +2000,7 @@ v8_source_set("fuzzer_support") { |
# Executables |
# |
-if (current_toolchain == snapshot_toolchain) { |
+if (current_toolchain == v8_snapshot_toolchain) { |
executable("mksnapshot") { |
visibility = [ ":*" ] # Only targets in this file can depend on this. |
@@ -2102,7 +2102,7 @@ executable("d8") { |
} |
} |
-if ((current_toolchain == host_toolchain && v8_toolset_for_shell == "host") || (current_toolchain == snapshot_toolchain && v8_toolset_for_shell == "host") || (current_toolchain != host_toolchain && v8_toolset_for_shell == "target")) { |
+if ((current_toolchain == host_toolchain && v8_toolset_for_shell == "host") || (current_toolchain == v8_snapshot_toolchain && v8_toolset_for_shell == "host") || (current_toolchain != host_toolchain && v8_toolset_for_shell == "target")) { |
executable("v8_shell") { |
sources = [ |
"samples/shell.cc", |