Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index cc53b3a6a7b681ebffd75408f83554b756dc9801..d4d552d28b631b2f87fe6f42d572eee0a20b7f55 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -2275,6 +2275,11 @@ |
'arm_thumb%': 1, |
}], |
+ # Set default compiler flags depending on MIPS architecture variant. |
+ ['target_arch=="mipsel" and mips_arch_variant=="r2" and android_webview_build==0', { |
+ 'mips_fpu_mode%': 'fp32', |
+ }], |
+ |
['android_webview_build==1', { |
# The WebView build gets its cpu-specific flags from the Android build system. |
'arm_arch%': '', |
@@ -2282,6 +2287,7 @@ |
'arm_fpu%': '', |
'arm_float_abi%': '', |
'arm_thumb%': 0, |
+ 'mips_fpu_mode%': '', |
}], |
# Enable brlapi by default for chromeos. |