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

Unified Diff: build/common.gypi

Issue 669131: ARM: add arm_fpu option to specify which version of vfp to use (Closed)
Patch Set: . Created 10 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index 914746c32a30bf73118ea48f1be6f3aa425f0e08..a5a810efd0f596f2d071760fc11144a7e21b350b 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -215,6 +215,10 @@
# Set Thumb compilation flags.
'arm_thumb%': 0,
+ # Set ARM fpu compilation flags (only meaningful if armv7==1 and
+ # arm_neon==0).
+ 'arm_fpu%': 'vfpv3',
+
'conditions': [
['OS=="linux" or OS=="freebsd" or OS=="openbsd"', {
# This will set gcc_version to XY if you are running gcc X.Y.*.
@@ -922,7 +926,7 @@
['arm_neon==1', {
'cflags': [ '-mfpu=neon', ],
}, {
- 'cflags': [ '-mfpu=vfpv3', ],
+ 'cflags': [ '-mfpu=<(arm_fpu)', ],
}]
],
}],
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698