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

Unified Diff: build/common.gypi

Issue 10351018: Allow "float-abi" to be configurable at gyp time for ARM build (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 8 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 451b1e9704846b18990b8c6ee3a1b4950e4526b4..5716e61e098bd38ab20f6d8444b7c5556cdd4b9d 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -725,6 +725,9 @@
# arm_neon==0).
'arm_fpu%': 'vfpv3',
+ # Set ARM float abi compilation flag.
+ 'arm_float_abi%': 'softfp',
+
# Enable new NPDevice API.
'enable_new_npdevice_api%': 0,
@@ -2075,7 +2078,7 @@
'cflags': [
'-march=armv7-a',
'-mtune=cortex-a8',
- '-mfloat-abi=softfp',
+ '-mfloat-abi=<(arm_float_abi)',
],
'conditions': [
['arm_neon==1', {
« 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