summaryrefslogtreecommitdiff
blob: 56f35b30307756447ff6db60606a597ecbc0fb79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- v8/snapshot_toolchain.gni.orig	2016-01-07 15:47:46.772435180 +0000
+++ v8/snapshot_toolchain.gni	2016-01-07 15:48:06.144841801 +0000
@@ -28,19 +28,4 @@
 # The snapshot needs to be compiled for the host, but compiled with
 # a toolchain that matches the bit-width of the target.
 
-# TODO(GYP): For now we only support 32-bit little-endian target builds from an
-# x64 Linux host. Eventually we need to support all of the host/target
-# 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"
-  } else if (target_cpu == "x64" || target_cpu == "arm64" || target_cpu == "mips64el") {
-    snapshot_toolchain = "//build/toolchain/linux:clang_x64"
-  } else {
-    assert(false, "Need environment for this arch: $target_cpu")
-  }
-} else {
-  snapshot_toolchain = default_toolchain
-}
-
-
+snapshot_toolchain = default_toolchain