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

Unified Diff: build/config/mips.gni

Issue 2875553003: Add support for building v8 on mips and mips64 using GN. (Closed)
Patch Set: added cflags and removed nacl mips definition Created 3 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 | « build/config/compiler/BUILD.gn ('k') | build/config/sysroot.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/mips.gni
diff --git a/build/config/mips.gni b/build/config/mips.gni
index 5604ca66f2548f229ba714c0f8fb15f290d32800..ca582e10853e82d14b5c78ca13c1f19dfa83e617 100644
--- a/build/config/mips.gni
+++ b/build/config/mips.gni
@@ -8,7 +8,8 @@ import("//build/config/v8_target_cpu.gni")
# MIPS code is being compiled. But they can also be relevant in the
# other contexts when the code will change its behavior based on the
# cpu it wants to generate code for.
-if (current_cpu == "mipsel" || v8_current_cpu == "mipsel") {
+if (current_cpu == "mipsel" || v8_current_cpu == "mipsel" ||
+ current_cpu == "mips" || v8_current_cpu == "mips") {
declare_args() {
# MIPS arch variant. Possible values are:
# "r1"
@@ -36,7 +37,8 @@ if (current_cpu == "mipsel" || v8_current_cpu == "mipsel") {
# "fpxx": sets the GCC -mfpxx option.
mips_fpu_mode = "fp32"
}
-} else if (current_cpu == "mips64el" || v8_current_cpu == "mips64el") {
+} else if (current_cpu == "mips64el" || v8_current_cpu == "mips64el" ||
+ current_cpu == "mips64" || v8_current_cpu == "mips64") {
# MIPS arch variant. Possible values are:
# "r2"
# "r6"
« no previous file with comments | « build/config/compiler/BUILD.gn ('k') | build/config/sysroot.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698