Stop adding mssse3 & m32/m64 for Android framework.
authorscroggo <scroggo@google.com>
Thu, 12 Feb 2015 21:27:40 +0000 (13:27 -0800)
committerCommit bot <commit-bot@chromium.org>
Thu, 12 Feb 2015 21:27:40 +0000 (13:27 -0800)
BUG=skia:3423

Review URL: https://codereview.chromium.org/920703005

gyp/common_conditions.gypi

index 53bfd2d..676ec08 100644 (file)
         'conditions': [
           [ 'skia_os != "chromeos"', {
             'conditions': [
-              [ 'skia_arch_type == "x86_64"', {
+              [ 'skia_arch_type == "x86_64" and not skia_android_framework', {
                 'cflags': [
                   '-m64',
                 ],
                   '-m64',
                 ],
               }],
-              [ 'skia_arch_type == "x86"', {
+              [ 'skia_arch_type == "x86" and not skia_android_framework', {
                 'cflags': [
                   '-m32',
                 ],
           [ 'skia_android_framework', {
             'cflags!': [
               '-fuse-ld=gold',
+              '-mssse3',
             ],
           }],
           [ 'skia_shared_lib', {