Chromium Code Reviews| 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 70 'variables': { | 70 'variables': { |
| 71 'arm_neon_optional%': '<(arm_neon_optional>', | 71 'arm_neon_optional%': '<(arm_neon_optional>', |
| 72 }, | 72 }, |
| 73 'sources': [ | 73 'sources': [ |
| 74 '../src/opts/opts_check_arm.cpp', | 74 '../src/opts/opts_check_arm.cpp', |
| 75 '../src/opts/memset.arm.S', | 75 '../src/opts/memset.arm.S', |
| 76 '../src/opts/SkBitmapProcState_opts_arm.cpp', | 76 '../src/opts/SkBitmapProcState_opts_arm.cpp', |
| 77 '../src/opts/SkBlitMask_opts_arm.cpp', | 77 '../src/opts/SkBlitMask_opts_arm.cpp', |
| 78 '../src/opts/SkBlitRow_opts_arm.cpp', | 78 '../src/opts/SkBlitRow_opts_arm.cpp', |
| 79 '../src/opts/SkBlitRow_opts_arm.h', | 79 '../src/opts/SkBlitRow_opts_arm.h', |
| 80 '../src/opts/SkXfermode_opts_arm.cpp', | 80 '../src/opts/SkXfermode_opts_none.cpp', |
| 81 ], | 81 ], |
| 82 'conditions': [ | 82 'conditions': [ |
| 83 [ 'arm_neon == 1 or arm_neon_optional == 1', { | 83 [ 'arm_neon == 1 or arm_neon_optional == 1', { |
| 84 'dependencies': [ | 84 'dependencies': [ |
| 85 'opts_neon', | 85 'opts_neon', |
| 86 ] | 86 ] |
| 87 }], | 87 }], |
| 88 [ 'skia_os == "ios"', { | 88 [ 'skia_os == "ios"', { |
| 89 'sources!': [ | 89 'sources!': [ |
| 90 # these fail to compile under xcode for ios | 90 # these fail to compile under xcode for ios |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 166 '-Wl,--fix-cortex-a8', | 166 '-Wl,--fix-cortex-a8', |
| 167 ], | 167 ], |
| 168 'sources': [ | 168 'sources': [ |
| 169 '../src/opts/memset16_neon.S', | 169 '../src/opts/memset16_neon.S', |
| 170 '../src/opts/memset32_neon.S', | 170 '../src/opts/memset32_neon.S', |
| 171 '../src/opts/SkBitmapProcState_arm_neon.cpp', | 171 '../src/opts/SkBitmapProcState_arm_neon.cpp', |
| 172 '../src/opts/SkBitmapProcState_matrixProcs_neon.cpp', | 172 '../src/opts/SkBitmapProcState_matrixProcs_neon.cpp', |
| 173 '../src/opts/SkBitmapProcState_matrix_clamp_neon.h', | 173 '../src/opts/SkBitmapProcState_matrix_clamp_neon.h', |
| 174 '../src/opts/SkBitmapProcState_matrix_repeat_neon.h', | 174 '../src/opts/SkBitmapProcState_matrix_repeat_neon.h', |
| 175 '../src/opts/SkBlitRow_opts_arm_neon.cpp', | 175 '../src/opts/SkBlitRow_opts_arm_neon.cpp', |
| 176 '../src/opts/SkXfermode_opts_arm.cpp', | |
|
djsollen
2013/10/10 12:47:46
rename to *opts_arm_neon.cpp
| |
| 176 ], | 177 ], |
| 177 }, | 178 }, |
| 178 ], | 179 ], |
| 179 } | 180 } |
| 180 | 181 |
| 181 # Local Variables: | 182 # Local Variables: |
| 182 # tab-width:2 | 183 # tab-width:2 |
| 183 # indent-tabs-mode:nil | 184 # indent-tabs-mode:nil |
| 184 # End: | 185 # End: |
| 185 # vim: set expandtab tabstop=2 shiftwidth=2: | 186 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |