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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 '-mno-apcs-frame', | 72 '-mno-apcs-frame', |
73 ], | 73 ], |
74 'variables': { | 74 'variables': { |
75 'arm_neon_optional%': '<(arm_neon_optional>', | 75 'arm_neon_optional%': '<(arm_neon_optional>', |
76 }, | 76 }, |
77 'sources': [ | 77 'sources': [ |
78 '../src/opts/memset.arm.S', | 78 '../src/opts/memset.arm.S', |
79 '../src/opts/SkBitmapProcState_opts_arm.cpp', | 79 '../src/opts/SkBitmapProcState_opts_arm.cpp', |
80 '../src/opts/SkBlitMask_opts_arm.cpp', | 80 '../src/opts/SkBlitMask_opts_arm.cpp', |
81 '../src/opts/SkBlitRow_opts_arm.cpp', | 81 '../src/opts/SkBlitRow_opts_arm.cpp', |
82 '../src/opts/SkBlitRow_opts_arm.h', | |
83 '../src/opts/SkBlurImage_opts_arm.cpp', | 82 '../src/opts/SkBlurImage_opts_arm.cpp', |
84 '../src/opts/SkMorphology_opts_arm.cpp', | 83 '../src/opts/SkMorphology_opts_arm.cpp', |
85 '../src/opts/SkUtils_opts_arm.cpp', | 84 '../src/opts/SkUtils_opts_arm.cpp', |
86 '../src/opts/SkXfermode_opts_arm.cpp', | 85 '../src/opts/SkXfermode_opts_arm.cpp', |
87 ], | 86 ], |
88 'conditions': [ | 87 'conditions': [ |
89 [ 'arm_neon == 1 or arm_neon_optional == 1', { | 88 [ 'arm_neon == 1 or arm_neon_optional == 1', { |
90 'dependencies': [ | 89 'dependencies': [ |
91 'opts_neon', | 90 'opts_neon', |
92 ] | 91 ] |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 '../src/opts/SkBitmapProcState_matrix_neon.h', | 215 '../src/opts/SkBitmapProcState_matrix_neon.h', |
217 '../src/opts/SkBlitMask_opts_arm_neon.cpp', | 216 '../src/opts/SkBlitMask_opts_arm_neon.cpp', |
218 '../src/opts/SkBlitRow_opts_arm_neon.cpp', | 217 '../src/opts/SkBlitRow_opts_arm_neon.cpp', |
219 '../src/opts/SkBlurImage_opts_neon.cpp', | 218 '../src/opts/SkBlurImage_opts_neon.cpp', |
220 '../src/opts/SkMorphology_opts_neon.cpp', | 219 '../src/opts/SkMorphology_opts_neon.cpp', |
221 '../src/opts/SkXfermode_opts_arm_neon.cpp', | 220 '../src/opts/SkXfermode_opts_arm_neon.cpp', |
222 ], | 221 ], |
223 }, | 222 }, |
224 ], | 223 ], |
225 } | 224 } |
OLD | NEW |