| 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 ], | 49 ], |
| 50 'sources': [ | 50 'sources': [ |
| 51 '../src/opts/opts_check_SSE2.cpp', | 51 '../src/opts/opts_check_SSE2.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_none.cpp', | 59 '../src/opts/SkXfermode_opts_SSE2.cpp', |
| 60 ], | 60 ], |
| 61 }], | 61 }], |
| 62 [ 'skia_arch_type == "arm" and arm_version >= 7', { | 62 [ 'skia_arch_type == "arm" and arm_version >= 7', { |
| 63 # The assembly uses the frame pointer register (r7 in Thumb/r11 in | 63 # The assembly uses the frame pointer register (r7 in Thumb/r11 in |
| 64 # ARM), the compiler doesn't like that. | 64 # ARM), the compiler doesn't like that. |
| 65 'cflags!': [ | 65 'cflags!': [ |
| 66 '-fno-omit-frame-pointer', | 66 '-fno-omit-frame-pointer', |
| 67 '-mapcs-frame', | 67 '-mapcs-frame', |
| 68 '-mapcs', | 68 '-mapcs', |
| 69 ], | 69 ], |
| (...skipping 145 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 |