OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'shared_generated_dir': '<(SHARED_INTERMEDIATE_DIR)/third_party/libjpeg_turb
o', | 7 'shared_generated_dir': '<(SHARED_INTERMEDIATE_DIR)/third_party/libjpeg_turb
o', |
8 'use_system_libjpeg%': 0, | 8 'use_system_libjpeg%': 0, |
9 'conditions': [ | 9 'conditions': [ |
10 [ 'OS=="win"', { | 10 [ 'OS=="win"', { |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 'simd/jdsamss2-64.asm', | 148 'simd/jdsamss2-64.asm', |
149 'simd/jfss2fst-64.asm', | 149 'simd/jfss2fst-64.asm', |
150 'simd/jfss2int-64.asm', | 150 'simd/jfss2int-64.asm', |
151 'simd/jfsseflt-64.asm', | 151 'simd/jfsseflt-64.asm', |
152 'simd/jiss2flt-64.asm', | 152 'simd/jiss2flt-64.asm', |
153 'simd/jiss2fst-64.asm', | 153 'simd/jiss2fst-64.asm', |
154 'simd/jiss2int-64.asm', | 154 'simd/jiss2int-64.asm', |
155 'simd/jiss2red-64.asm', | 155 'simd/jiss2red-64.asm', |
156 ], | 156 ], |
157 }], | 157 }], |
158 # The ARM SIMD implementation requires the Neon instruction set. | 158 # The ARM SIMD implementation can be used for devices that support |
| 159 # the NEON instruction set. This is done dynamically by probing CPU |
| 160 # features at runtime, so always compile it for ARMv7-A devices. |
159 [ 'target_arch=="arm"', { | 161 [ 'target_arch=="arm"', { |
160 'conditions': [ | 162 'conditions': [ |
161 [ 'arm_neon==1', { | 163 [ 'armv7 == 1 or arm_neon == 1', { |
162 'sources': [ | 164 'sources': [ |
163 'simd/jsimd_arm.c', | 165 'simd/jsimd_arm.c', |
164 'simd/jsimd_arm_neon.S', | 166 'simd/jsimd_arm_neon.S', |
165 ], | 167 ], |
166 }, { | 168 }, { |
167 'sources': [ | 169 'sources': [ |
168 'jsimd_none.c', | 170 'jsimd_none.c', |
169 ], | 171 ], |
170 }] | 172 }] |
171 ], | 173 ], |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
306 ], | 308 ], |
307 }], | 309 }], |
308 ], | 310 ], |
309 } | 311 } |
310 | 312 |
311 # Local Variables: | 313 # Local Variables: |
312 # tab-width:2 | 314 # tab-width:2 |
313 # indent-tabs-mode:nil | 315 # indent-tabs-mode:nil |
314 # End: | 316 # End: |
315 # vim: set expandtab tabstop=2 shiftwidth=2: | 317 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |