The background is that we are to enable hardfp build for  chrome browser.

Currently, the '-mfloat-abi=soft' is hard coded in the gyp file, but what we need is "-mfloat-abi=hard", since it is hard-coded, we no way to change it.

So this CL removed this hard-coded value, replaced it with variable arm_float_abi, which has a default value of 'soft'.   Later in the ebuild file, we can easily override this value to be 'hard', thus make the build hardfp.

BUG=None
TEST=build manually in chromium


Review URL: http://codereview.chromium.org/10351018

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135388 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/build/common.gypi b/build/common.gypi
index 451b1e9..5716e61 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', {