Chromium Code Reviews| Index: gyp/opts.gyp |
| diff --git a/gyp/opts.gyp b/gyp/opts.gyp |
| index 0d3b2e3d6aae9153f0796976790c536ea16f4f16..2fd0e95809e5bb07dc3467ecce203fe66e657d63 100644 |
| --- a/gyp/opts.gyp |
| +++ b/gyp/opts.gyp |
| @@ -114,6 +114,14 @@ |
| '../src/opts/SkXfermode_opts_none.cpp', |
| ], |
| }], |
| + [ 'skia_android_framework', { |
| + 'cflags!': [ |
| + '-msse2', |
|
djsollen
2014/02/28 13:54:21
is there any way to tell gyp to unset all the cfla
scroggo
2014/02/28 14:17:21
I don't know how to tell gyp that, but I could do
|
| + '-mfpu=neon', |
| + '-fomit-frame-pointer', |
| + '-mno-apcs-frame', |
| + ] |
| + }], |
| ], |
| }, |
| # For the same lame reasons as what is done for skia_opts, we have to |
| @@ -133,7 +141,8 @@ |
| '../src/core', |
| ], |
| 'conditions': [ |
| - [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "nacl", "chromeos", "android"]', { |
| + [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "nacl", "chromeos", "android"] \ |
| + and not skia_android_framework', { |
| 'cflags': [ |
| '-mssse3', |
| ], |
| @@ -169,9 +178,13 @@ |
| '-mfpu=vfpv3', |
| '-mfpu=vfpv3-d16', |
| ], |
| - 'cflags': [ |
| - '-mfpu=neon', |
| - '-fomit-frame-pointer', |
| + 'conditions': [ |
| + [ 'not skia_android_framework', { |
| + 'cflags': [ |
| + '-mfpu=neon', |
| + '-fomit-frame-pointer', |
| + ], |
| + }], |
| ], |
| 'ldflags': [ |
| '-march=armv7-a', |