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

Unified Diff: build/config/mips.gni

Issue 883253003: Add the mips_dsp_rev build variable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add the mips_float_abi and mips_fpu_mode build variables. Created 5 years, 10 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
« build/config/compiler/BUILD.gn ('K') | « build/config/compiler/BUILD.gn ('k') | no next file » | 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 f544d9452284276f3f35d6ad789f33af639cb864..121ee8903ef632c09e81ed163f53e886d9131638 100644
--- a/build/config/mips.gni
+++ b/build/config/mips.gni
@@ -18,3 +18,25 @@ if (cpu_arch == "mipsel") {
}
}
}
+
+if (cpu_arch == "mipsel") {
+ declare_args() {
+ # MIPS DSP ASE revision. Possible values are:
kjellander_chromium 2015/02/23 13:22:35 move there three variables into the already existi
wtc 2015/02/23 20:15:51 I intend to dedicate the if-else-if block on lines
kjellander_chromium 2015/02/25 21:08:07 I personally prefer not duplicating code, so I wou
wtc 2015/02/27 05:57:19 Done. Please let me know if you want me to tweak t
+ # 0: unavailable
+ # 1: revision 1
+ # 2: revision 2
+ # Default: 0.
brettw 2015/02/23 18:51:36 You don't have to write the default in the comment
wtc 2015/02/23 20:15:51 Done.
+ mips_dsp_rev = 0
+
+ # MIPS floating-point ABI. Possible values are:
+ # "hard"
+ # "soft"
+ mips_float_abi = "hard"
+
+ # MIPS32 floating-point register width. Possible values are:
+ # "fp32"
+ # "fp64"
+ # "fpxx"
+ mips_fpu_mode = "fp32"
+ }
+}
« build/config/compiler/BUILD.gn ('K') | « build/config/compiler/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698