| 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 'arm_neon_optional%': '<(arm_neon_optional>', | 73 'arm_neon_optional%': '<(arm_neon_optional>', |
| 74 }, | 74 }, |
| 75 'sources': [ | 75 'sources': [ |
| 76 '../src/opts/opts_check_arm.cpp', | 76 '../src/opts/opts_check_arm.cpp', |
| 77 '../src/opts/memset.arm.S', | 77 '../src/opts/memset.arm.S', |
| 78 '../src/opts/SkBitmapProcState_opts_arm.cpp', | 78 '../src/opts/SkBitmapProcState_opts_arm.cpp', |
| 79 '../src/opts/SkBlitMask_opts_arm.cpp', | 79 '../src/opts/SkBlitMask_opts_arm.cpp', |
| 80 '../src/opts/SkBlitRow_opts_arm.cpp', | 80 '../src/opts/SkBlitRow_opts_arm.cpp', |
| 81 '../src/opts/SkBlitRow_opts_arm.h', | 81 '../src/opts/SkBlitRow_opts_arm.h', |
| 82 '../src/opts/SkBlurImage_opts_none.cpp', | 82 '../src/opts/SkBlurImage_opts_none.cpp', |
| 83 '../src/opts/SkMorphology_opts_none.cpp', | |
| 84 '../src/opts/SkXfermode_opts_arm.cpp', | 83 '../src/opts/SkXfermode_opts_arm.cpp', |
| 85 ], | 84 ], |
| 86 'conditions': [ | 85 'conditions': [ |
| 87 [ 'arm_neon == 1 or arm_neon_optional == 1', { | 86 [ 'arm_neon == 1 or arm_neon_optional == 1', { |
| 88 'dependencies': [ | 87 'dependencies': [ |
| 89 'opts_neon', | 88 'opts_neon', |
| 90 ] | 89 ] |
| 91 }], | 90 }], |
| 92 [ 'skia_os == "ios"', { | 91 [ 'skia_os == "ios"', { |
| 93 'sources!': [ | 92 'sources!': [ |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 '-Wl,--fix-cortex-a8', | 171 '-Wl,--fix-cortex-a8', |
| 173 ], | 172 ], |
| 174 'sources': [ | 173 'sources': [ |
| 175 '../src/opts/memset16_neon.S', | 174 '../src/opts/memset16_neon.S', |
| 176 '../src/opts/memset32_neon.S', | 175 '../src/opts/memset32_neon.S', |
| 177 '../src/opts/SkBitmapProcState_arm_neon.cpp', | 176 '../src/opts/SkBitmapProcState_arm_neon.cpp', |
| 178 '../src/opts/SkBitmapProcState_matrixProcs_neon.cpp', | 177 '../src/opts/SkBitmapProcState_matrixProcs_neon.cpp', |
| 179 '../src/opts/SkBitmapProcState_matrix_clamp_neon.h', | 178 '../src/opts/SkBitmapProcState_matrix_clamp_neon.h', |
| 180 '../src/opts/SkBitmapProcState_matrix_repeat_neon.h', | 179 '../src/opts/SkBitmapProcState_matrix_repeat_neon.h', |
| 181 '../src/opts/SkBlitRow_opts_arm_neon.cpp', | 180 '../src/opts/SkBlitRow_opts_arm_neon.cpp', |
| 181 '../src/opts/SkMorphology_opts_neon.cpp', |
| 182 '../src/opts/SkXfermode_opts_arm_neon.cpp', | 182 '../src/opts/SkXfermode_opts_arm_neon.cpp', |
| 183 ], | 183 ], |
| 184 }, | 184 }, |
| 185 ], | 185 ], |
| 186 } | 186 } |
| 187 | 187 |
| 188 # Local Variables: | 188 # Local Variables: |
| 189 # tab-width:2 | 189 # tab-width:2 |
| 190 # indent-tabs-mode:nil | 190 # indent-tabs-mode:nil |
| 191 # End: | 191 # End: |
| 192 # vim: set expandtab tabstop=2 shiftwidth=2: | 192 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |