| 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 # This file is not used when use_system_libjepg==1. Settings for building with | 6 # This file is not used when use_system_libjepg==1. Settings for building with |
| 7 # the system libjpeg is in third_party/libjpeg/libjpeg.gyp. | 7 # the system libjpeg is in third_party/libjpeg/libjpeg.gyp. |
| 8 'variables': { | 8 'variables': { |
| 9 'shared_generated_dir': '<(SHARED_INTERMEDIATE_DIR)/third_party/libjpeg_turb
o', | 9 'shared_generated_dir': '<(SHARED_INTERMEDIATE_DIR)/third_party/libjpeg_turb
o', |
| 10 'conditions': [ | 10 'conditions': [ |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 'simd/jfss2fst-64.asm', | 150 'simd/jfss2fst-64.asm', |
| 151 'simd/jfss2int-64.asm', | 151 'simd/jfss2int-64.asm', |
| 152 'simd/jfsseflt-64.asm', | 152 'simd/jfsseflt-64.asm', |
| 153 'simd/jiss2flt-64.asm', | 153 'simd/jiss2flt-64.asm', |
| 154 'simd/jiss2fst-64.asm', | 154 'simd/jiss2fst-64.asm', |
| 155 'simd/jiss2int-64.asm', | 155 'simd/jiss2int-64.asm', |
| 156 'simd/jiss2red-64.asm', | 156 'simd/jiss2red-64.asm', |
| 157 ], | 157 ], |
| 158 }], | 158 }], |
| 159 # The ARM SIMD implementation can be used for devices that support | 159 # The ARM SIMD implementation can be used for devices that support |
| 160 # the NEON instruction set. This can safely be done dynamically by | 160 # the NEON instruction set. This is done dynamically by probing CPU |
| 161 # probing CPU features at runtime, if you wish. | 161 # features at runtime, so always compile it for ARMv7-A devices. |
| 162 [ 'target_arch=="arm"', { | 162 [ 'target_arch=="arm"', { |
| 163 'conditions': [ | 163 'conditions': [ |
| 164 [ 'arm_version >= 7 and (arm_neon == 1 or arm_neon_optional == 1)',
{ | 164 [ 'armv7 == 1 or arm_neon == 1', { |
| 165 'sources': [ | 165 'sources': [ |
| 166 'simd/jsimd_arm.c', | 166 'simd/jsimd_arm.c', |
| 167 'simd/jsimd_arm_neon.S', | 167 'simd/jsimd_arm_neon.S', |
| 168 ], | 168 ], |
| 169 }, { | 169 }, { |
| 170 'sources': [ | 170 'sources': [ |
| 171 'jsimd_none.c', | 171 'jsimd_none.c', |
| 172 ], | 172 ], |
| 173 }] | 173 }] |
| 174 ], | 174 ], |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 295 ], | 295 ], |
| 296 }, | 296 }, |
| 297 ], | 297 ], |
| 298 } | 298 } |
| 299 | 299 |
| 300 # Local Variables: | 300 # Local Variables: |
| 301 # tab-width:2 | 301 # tab-width:2 |
| 302 # indent-tabs-mode:nil | 302 # indent-tabs-mode:nil |
| 303 # End: | 303 # End: |
| 304 # vim: set expandtab tabstop=2 shiftwidth=2: | 304 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |