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 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 ], | 170 ], |
171 'ldflags': [ | 171 'ldflags': [ |
172 '-march=armv7-a', | 172 '-march=armv7-a', |
173 '-Wl,--fix-cortex-a8', | 173 '-Wl,--fix-cortex-a8', |
174 ], | 174 ], |
175 'sources': [ | 175 'sources': [ |
176 '../src/opts/memset16_neon.S', | 176 '../src/opts/memset16_neon.S', |
177 '../src/opts/memset32_neon.S', | 177 '../src/opts/memset32_neon.S', |
178 '../src/opts/SkBitmapProcState_arm_neon.cpp', | 178 '../src/opts/SkBitmapProcState_arm_neon.cpp', |
179 '../src/opts/SkBitmapProcState_matrixProcs_neon.cpp', | 179 '../src/opts/SkBitmapProcState_matrixProcs_neon.cpp', |
180 '../src/opts/SkBitmapProcState_matrix_clamp_neon.h', | 180 '../src/opts/SkBitmapProcState_matrix_neon.h', |
181 '../src/opts/SkBitmapProcState_matrix_repeat_neon.h', | |
182 '../src/opts/SkBlitMask_opts_arm_neon.cpp', | 181 '../src/opts/SkBlitMask_opts_arm_neon.cpp', |
183 '../src/opts/SkBlitRow_opts_arm_neon.cpp', | 182 '../src/opts/SkBlitRow_opts_arm_neon.cpp', |
184 '../src/opts/SkBlurImage_opts_neon.cpp', | 183 '../src/opts/SkBlurImage_opts_neon.cpp', |
185 '../src/opts/SkMorphology_opts_neon.cpp', | 184 '../src/opts/SkMorphology_opts_neon.cpp', |
186 '../src/opts/SkXfermode_opts_arm_neon.cpp', | 185 '../src/opts/SkXfermode_opts_arm_neon.cpp', |
187 ], | 186 ], |
188 }, | 187 }, |
189 ], | 188 ], |
190 } | 189 } |
OLD | NEW |