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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 [ 'skia_os == "ios"', { | 90 [ 'skia_os == "ios"', { |
91 'sources!': [ | 91 'sources!': [ |
92 # these fail to compile under xcode for ios | 92 # these fail to compile under xcode for ios |
93 '../src/opts/memset.arm.S', | 93 '../src/opts/memset.arm.S', |
94 '../src/opts/SkBitmapProcState_opts_arm.cpp', | 94 '../src/opts/SkBitmapProcState_opts_arm.cpp', |
95 '../src/opts/SkBlitRow_opts_arm.cpp', | 95 '../src/opts/SkBlitRow_opts_arm.cpp', |
96 ], | 96 ], |
97 }], | 97 }], |
98 ], | 98 ], |
99 }], | 99 }], |
100 [ '(skia_arch_type == "arm" and arm_version < 7) or (skia_os == "ios")',
{ | 100 [ '(skia_arch_type == "mips") or (skia_arch_type == "arm" and arm_versio
n < 7) or (skia_os == "ios")', { |
101 'sources': [ | 101 'sources': [ |
102 '../src/opts/SkBitmapProcState_opts_none.cpp', | 102 '../src/opts/SkBitmapProcState_opts_none.cpp', |
103 '../src/opts/SkBlitMask_opts_none.cpp', | 103 '../src/opts/SkBlitMask_opts_none.cpp', |
104 '../src/opts/SkBlitRow_opts_none.cpp', | 104 '../src/opts/SkBlitRow_opts_none.cpp', |
105 '../src/opts/SkBlurImage_opts_none.cpp', | 105 '../src/opts/SkBlurImage_opts_none.cpp', |
106 '../src/opts/SkMorphology_opts_none.cpp', | 106 '../src/opts/SkMorphology_opts_none.cpp', |
107 '../src/opts/SkUtils_opts_none.cpp', | 107 '../src/opts/SkUtils_opts_none.cpp', |
108 '../src/opts/SkXfermode_opts_none.cpp', | 108 '../src/opts/SkXfermode_opts_none.cpp', |
109 ], | 109 ], |
110 }], | 110 }], |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 '../src/opts/SkBitmapProcState_matrix_repeat_neon.h', | 178 '../src/opts/SkBitmapProcState_matrix_repeat_neon.h', |
179 '../src/opts/SkBlitMask_opts_arm_neon.cpp', | 179 '../src/opts/SkBlitMask_opts_arm_neon.cpp', |
180 '../src/opts/SkBlitRow_opts_arm_neon.cpp', | 180 '../src/opts/SkBlitRow_opts_arm_neon.cpp', |
181 '../src/opts/SkBlurImage_opts_neon.cpp', | 181 '../src/opts/SkBlurImage_opts_neon.cpp', |
182 '../src/opts/SkMorphology_opts_neon.cpp', | 182 '../src/opts/SkMorphology_opts_neon.cpp', |
183 '../src/opts/SkXfermode_opts_arm_neon.cpp', | 183 '../src/opts/SkXfermode_opts_arm_neon.cpp', |
184 ], | 184 ], |
185 }, | 185 }, |
186 ], | 186 ], |
187 } | 187 } |
OLD | NEW |