Map arm64 and mips64el -> x64 for mksnapshot

BUG=chromium:568883
LOG=n

Review URL: https://codereview.chromium.org/1517983002

Cr-Commit-Position: refs/heads/master@{#32907}
This commit is contained in:
agrieve 2015-12-16 07:16:56 -08:00 committed by Commit bot
parent 025d476cf5
commit ba1d9af8bf

View File

@ -34,10 +34,10 @@
if (host_cpu == "x64" && host_os == "linux") { if (host_cpu == "x64" && host_os == "linux") {
if (target_cpu == "arm" || target_cpu == "mipsel" || target_cpu == "x86") { if (target_cpu == "arm" || target_cpu == "mipsel" || target_cpu == "x86") {
snapshot_toolchain = "//build/toolchain/linux:clang_x86" snapshot_toolchain = "//build/toolchain/linux:clang_x86"
} else if (target_cpu == "x64") { } else if (target_cpu == "x64" || target_cpu == "arm64" || target_cpu == "mips64el") {
snapshot_toolchain = "//build/toolchain/linux:clang_x64" snapshot_toolchain = "//build/toolchain/linux:clang_x64"
} else { } else {
assert(false, "Need environment for this arch") assert(false, "Need environment for this arch: $target_cpu")
} }
} else { } else {
snapshot_toolchain = default_toolchain snapshot_toolchain = default_toolchain