From cc8b6019d1854257e1ad896f3bbb69ad25fab1ea Mon Sep 17 00:00:00 2001 From: "piman@chromium.org" Date: Wed, 7 Oct 2009 00:10:46 +0000 Subject: [PATCH] Separate ARM-v7 compilation flags from chromeos Review URL: http://codereview.chromium.org/256074 git-svn-id: http://src.chromium.org/svn/trunk/src/build@28197 4ff67af0-8c30-449e-8e8b-ad334ec8d88c --- common.gypi | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/common.gypi b/common.gypi index e9c64dd67..2e128405e 100644 --- a/common.gypi +++ b/common.gypi @@ -163,6 +163,9 @@ # isn't supported 'disable_nacl%': 0, + # Set ARM-v7 compilation flags + 'armv7%': 0, + 'conditions': [ ['OS=="linux"', { 'conditions': [ @@ -650,11 +653,11 @@ }], ['target_arch=="arm"', { 'conditions': [ - ['chromeos==1', { + ['armv7==1', { 'cflags': [ '-march=armv7-a', '-mtune=cortex-a8', - '-mfpu=vfp', + '-mfpu=neon', '-mfloat-abi=softfp', ], }],