Index: build/config/v8_target_cpu.gni |
diff --git a/build/config/v8_target_cpu.gni b/build/config/v8_target_cpu.gni |
index 6a7c1a3774751a28f126b317c9c3dd03af43ec37..13755d2be5076f1761a23873fcacbccfe8ca9d2f 100644 |
--- a/build/config/v8_target_cpu.gni |
+++ b/build/config/v8_target_cpu.gni |
@@ -34,12 +34,16 @@ declare_args() { |
} |
if (v8_target_cpu == "") { |
- if (current_toolchain == "//build/toolchain/linux:clang_x64_v8_arm64" || |
- current_toolchain == "//build/toolchain/linux:x64_v8_arm64") { |
+ if (current_toolchain == "//build/toolchain/linux:clang_x64_v8_arm64") { |
v8_target_cpu = "arm64" |
- } else if (current_toolchain == "//build/toolchain/linux:clang_x86_v8_arm" || |
- current_toolchain == "//build/toolchain/linux:x86_v8_arm") { |
+ } else if (current_toolchain == "//build/toolchain/linux:clang_x86_v8_arm") { |
v8_target_cpu = "arm" |
+ } else if (current_toolchain == |
+ "//build/toolchain/linux:clang_x86_v8_mips64el") { |
+ v8_target_cpu = "mips64el" |
+ } else if (current_toolchain == |
+ "//build/toolchain/linux:clang_x86_v8_mipsel") { |
+ v8_target_cpu = "mipsel" |
} else if (is_msan) { |
# If we're running under a sanitizer, if we configure v8 to generate |
# code that will be run under a simulator, then the generated code |