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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 '-mapcs', | 68 '-mapcs', |
69 ], | 69 ], |
70 'cflags': [ | 70 'cflags': [ |
71 '-fomit-frame-pointer', | 71 '-fomit-frame-pointer', |
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/opts_check_arm.cpp', | |
79 '../src/opts/memset.arm.S', | 78 '../src/opts/memset.arm.S', |
80 '../src/opts/SkBitmapProcState_opts_arm.cpp', | 79 '../src/opts/SkBitmapProcState_opts_arm.cpp', |
81 '../src/opts/SkBlitMask_opts_arm.cpp', | 80 '../src/opts/SkBlitMask_opts_arm.cpp', |
82 '../src/opts/SkBlitRow_opts_arm.cpp', | 81 '../src/opts/SkBlitRow_opts_arm.cpp', |
83 '../src/opts/SkBlitRow_opts_arm.h', | 82 '../src/opts/SkBlitRow_opts_arm.h', |
| 83 '../src/opts/SkBlurImage_opts_arm.cpp', |
| 84 '../src/opts/SkMorphology_opts_arm.cpp', |
| 85 '../src/opts/SkUtils_opts_arm.cpp', |
84 '../src/opts/SkXfermode_opts_arm.cpp', | 86 '../src/opts/SkXfermode_opts_arm.cpp', |
85 ], | 87 ], |
86 'conditions': [ | 88 'conditions': [ |
87 [ 'arm_neon == 1 or arm_neon_optional == 1', { | 89 [ 'arm_neon == 1 or arm_neon_optional == 1', { |
88 'dependencies': [ | 90 'dependencies': [ |
89 'opts_neon', | 91 'opts_neon', |
90 ] | 92 ] |
91 }], | 93 }], |
92 [ 'skia_os == "ios"', { | 94 [ 'skia_os == "ios"', { |
93 'sources!': [ | 95 'sources!': [ |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 '../src/opts/SkBitmapProcState_matrix_neon.h', | 185 '../src/opts/SkBitmapProcState_matrix_neon.h', |
184 '../src/opts/SkBlitMask_opts_arm_neon.cpp', | 186 '../src/opts/SkBlitMask_opts_arm_neon.cpp', |
185 '../src/opts/SkBlitRow_opts_arm_neon.cpp', | 187 '../src/opts/SkBlitRow_opts_arm_neon.cpp', |
186 '../src/opts/SkBlurImage_opts_neon.cpp', | 188 '../src/opts/SkBlurImage_opts_neon.cpp', |
187 '../src/opts/SkMorphology_opts_neon.cpp', | 189 '../src/opts/SkMorphology_opts_neon.cpp', |
188 '../src/opts/SkXfermode_opts_arm_neon.cpp', | 190 '../src/opts/SkXfermode_opts_arm_neon.cpp', |
189 ], | 191 ], |
190 }, | 192 }, |
191 ], | 193 ], |
192 } | 194 } |
OLD | NEW |