OLD | NEW |
1 # Gyp file for opts projects | 1 # Gyp file for opts projects |
2 { | 2 { |
3 'targets': [ | 3 'targets': [ |
4 # Due to an unfortunate intersection of lameness between gcc and gyp, | 4 # Due to an unfortunate intersection of lameness between gcc and gyp, |
5 # we have to build the *_SSE2.cpp files in a separate target. The | 5 # we have to build the *_SSE2.cpp files in a separate target. The |
6 # gcc lameness is that, in order to compile SSE2 intrinsics code, it | 6 # gcc lameness is that, in order to compile SSE2 intrinsics code, it |
7 # must be passed the -msse2 flag. However, with this flag, it may | 7 # must be passed the -msse2 flag. However, with this flag, it may |
8 # emit SSE2 instructions even for scalar code, such as the CPUID | 8 # emit SSE2 instructions even for scalar code, such as the CPUID |
9 # test used to test for the presence of SSE2. So that, and all other | 9 # test used to test for the presence of SSE2. So that, and all other |
10 # code must be compiled *without* -msse2. The gyp lameness is that it | 10 # code must be compiled *without* -msse2. The gyp lameness is that it |
(...skipping 30 matching lines...) Expand all Loading... |
41 ], | 41 ], |
42 }], | 42 }], |
43 ], | 43 ], |
44 'include_dirs': [ | 44 'include_dirs': [ |
45 '../include/utils', | 45 '../include/utils', |
46 ], | 46 ], |
47 'dependencies': [ | 47 'dependencies': [ |
48 'opts_ssse3', | 48 'opts_ssse3', |
49 ], | 49 ], |
50 'sources': [ | 50 'sources': [ |
51 '../src/opts/opts_check_SSE2.cpp', | 51 '../src/opts/opts_check_x86.cpp', |
52 '../src/opts/SkBitmapProcState_opts_SSE2.cpp', | 52 '../src/opts/SkBitmapProcState_opts_SSE2.cpp', |
53 '../src/opts/SkBitmapFilter_opts_SSE2.cpp', | 53 '../src/opts/SkBitmapFilter_opts_SSE2.cpp', |
54 '../src/opts/SkBlitRow_opts_SSE2.cpp', | 54 '../src/opts/SkBlitRow_opts_SSE2.cpp', |
55 '../src/opts/SkBlitRect_opts_SSE2.cpp', | 55 '../src/opts/SkBlitRect_opts_SSE2.cpp', |
56 '../src/opts/SkBlurImage_opts_SSE2.cpp', | 56 '../src/opts/SkBlurImage_opts_SSE2.cpp', |
57 '../src/opts/SkMorphology_opts_SSE2.cpp', | 57 '../src/opts/SkMorphology_opts_SSE2.cpp', |
58 '../src/opts/SkUtils_opts_SSE2.cpp', | 58 '../src/opts/SkUtils_opts_SSE2.cpp', |
59 '../src/opts/SkXfermode_opts_SSE2.cpp', | 59 '../src/opts/SkXfermode_opts_SSE2.cpp', |
60 ], | 60 ], |
61 }], | 61 }], |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
215 '../src/opts/SkBitmapProcState_matrix_neon.h', | 215 '../src/opts/SkBitmapProcState_matrix_neon.h', |
216 '../src/opts/SkBlitMask_opts_arm_neon.cpp', | 216 '../src/opts/SkBlitMask_opts_arm_neon.cpp', |
217 '../src/opts/SkBlitRow_opts_arm_neon.cpp', | 217 '../src/opts/SkBlitRow_opts_arm_neon.cpp', |
218 '../src/opts/SkBlurImage_opts_neon.cpp', | 218 '../src/opts/SkBlurImage_opts_neon.cpp', |
219 '../src/opts/SkMorphology_opts_neon.cpp', | 219 '../src/opts/SkMorphology_opts_neon.cpp', |
220 '../src/opts/SkXfermode_opts_arm_neon.cpp', | 220 '../src/opts/SkXfermode_opts_arm_neon.cpp', |
221 ], | 221 ], |
222 }, | 222 }, |
223 ], | 223 ], |
224 } | 224 } |
OLD | NEW |