| OLD | NEW |
| 1 { | 1 { |
| 2 'targets': [ | 2 'targets': [ |
| 3 # Due to an unfortunate intersection of lameness between gcc and gyp, | 3 # Due to an unfortunate intersection of lameness between gcc and gyp, |
| 4 # we have to build the *_SSE2.cpp files in a separate target. The | 4 # we have to build the *_SSE2.cpp files in a separate target. The |
| 5 # gcc lameness is that, in order to compile SSE2 intrinsics code, it | 5 # gcc lameness is that, in order to compile SSE2 intrinsics code, it |
| 6 # must be passed the -msse2 flag. However, with this flag, it may | 6 # must be passed the -msse2 flag. However, with this flag, it may |
| 7 # emit SSE2 instructions even for scalar code, such as the CPUID | 7 # emit SSE2 instructions even for scalar code, such as the CPUID |
| 8 # test used to test for the presence of SSE2. So that, and all other | 8 # test used to test for the presence of SSE2. So that, and all other |
| 9 # code must be compiled *without* -msse2. The gyp lameness is that it | 9 # code must be compiled *without* -msse2. The gyp lameness is that it |
| 10 # does not allow file-specific CFLAGS, so we must create this extra | 10 # does not allow file-specific CFLAGS, so we must create this extra |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 'variables': { | 71 'variables': { |
| 72 'arm_neon_optional%': '<(arm_neon_optional>', | 72 'arm_neon_optional%': '<(arm_neon_optional>', |
| 73 }, | 73 }, |
| 74 'sources': [ | 74 'sources': [ |
| 75 '../src/opts/opts_check_arm.cpp', | 75 '../src/opts/opts_check_arm.cpp', |
| 76 '../src/opts/memset.arm.S', | 76 '../src/opts/memset.arm.S', |
| 77 '../src/opts/SkBitmapProcState_opts_arm.cpp', | 77 '../src/opts/SkBitmapProcState_opts_arm.cpp', |
| 78 '../src/opts/SkBlitMask_opts_arm.cpp', | 78 '../src/opts/SkBlitMask_opts_arm.cpp', |
| 79 '../src/opts/SkBlitRow_opts_arm.cpp', | 79 '../src/opts/SkBlitRow_opts_arm.cpp', |
| 80 '../src/opts/SkBlitRow_opts_arm.h', | 80 '../src/opts/SkBlitRow_opts_arm.h', |
| 81 '../src/opts/SkMorphology_opts_none.cpp', |
| 81 '../src/opts/SkXfermode_opts_arm.cpp', | 82 '../src/opts/SkXfermode_opts_arm.cpp', |
| 82 ], | 83 ], |
| 83 'conditions': [ | 84 'conditions': [ |
| 84 [ 'arm_neon == 1 or arm_neon_optional == 1', { | 85 [ 'arm_neon == 1 or arm_neon_optional == 1', { |
| 85 'dependencies': [ | 86 'dependencies': [ |
| 86 'opts_neon', | 87 'opts_neon', |
| 87 ] | 88 ] |
| 88 }], | 89 }], |
| 89 [ 'skia_os == "ios"', { | 90 [ 'skia_os == "ios"', { |
| 90 'sources!': [ | 91 'sources!': [ |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 ], | 180 ], |
| 180 }, | 181 }, |
| 181 ], | 182 ], |
| 182 } | 183 } |
| 183 | 184 |
| 184 # Local Variables: | 185 # Local Variables: |
| 185 # tab-width:2 | 186 # tab-width:2 |
| 186 # indent-tabs-mode:nil | 187 # indent-tabs-mode:nil |
| 187 # End: | 188 # End: |
| 188 # vim: set expandtab tabstop=2 shiftwidth=2: | 189 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |