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

Unified Diff: BUILD.gn

Issue 1996513005: Try to reland v8_snapshot GN build changes, take #3 (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix x64 as well Created 4 years, 7 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 | « no previous file | snapshot_toolchain.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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",
« no previous file with comments | « no previous file | snapshot_toolchain.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698