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

Unified Diff: snapshot_toolchain.gni

Issue 1809643003: Use GCC for snapshot_toolchain when is_clang=false. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 9 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: snapshot_toolchain.gni
diff --git a/snapshot_toolchain.gni b/snapshot_toolchain.gni
index 4932110489dd1a7fe65a6124aa655192661d3bd6..4d305a9b2dcd19b8aa29bedc2bd51596556cd0c0 100644
--- a/snapshot_toolchain.gni
+++ b/snapshot_toolchain.gni
@@ -33,9 +33,17 @@
# configurations v8 runs on.
if (host_cpu == "x64" && host_os == "linux") {
if (target_cpu == "arm" || target_cpu == "mipsel" || target_cpu == "x86") {
- snapshot_toolchain = "//build/toolchain/linux:clang_x86"
+ if (is_clang) {
slan 2016/03/16 17:40:05 comment from alokp@ in Gerrit Review: This seems
slan 2016/03/16 17:41:46 That is what I wanted to do, but there seems to be
Dirk Pranke 2016/03/16 22:14:45 You definitely can't use snapshot_toolchain=host_t
+ snapshot_toolchain = "//build/toolchain/linux:clang_x86"
+ } else {
+ snapshot_toolchain = "//build/toolchain/linux:x86"
+ }
} else if (target_cpu == "x64" || target_cpu == "arm64" || target_cpu == "mips64el") {
- snapshot_toolchain = "//build/toolchain/linux:clang_x64"
+ if (is_clang) {
+ snapshot_toolchain = "//build/toolchain/linux:clang_x64"
+ } else {
+ snapshot_toolchain = "//build/toolchain/linux:x64"
+ }
} else {
assert(false, "Need environment for this arch: $target_cpu")
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698