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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 'simd/jimmxint.asm', | 129 'simd/jimmxint.asm', |
130 'simd/jimmxred.asm', | 130 'simd/jimmxred.asm', |
131 'simd/jiss2flt.asm', | 131 'simd/jiss2flt.asm', |
132 'simd/jiss2fst.asm', | 132 'simd/jiss2fst.asm', |
133 'simd/jiss2int.asm', | 133 'simd/jiss2int.asm', |
134 'simd/jiss2red.asm', | 134 'simd/jiss2red.asm', |
135 'simd/jisseflt.asm', | 135 'simd/jisseflt.asm', |
136 'simd/jsimdcpu.asm', | 136 'simd/jsimdcpu.asm', |
137 ], | 137 ], |
138 }], | 138 }], |
139 [ 'target_arch=="x64"', { | 139 [ 'target_arch=="x64" and msan!=1', { |
140 'sources': [ | 140 'sources': [ |
141 'simd/jsimd_x86_64.c', | 141 'simd/jsimd_x86_64.c', |
142 'simd/jccolss2-64.asm', | 142 'simd/jccolss2-64.asm', |
143 'simd/jcgrass2-64.asm', | 143 'simd/jcgrass2-64.asm', |
144 'simd/jcqnts2f-64.asm', | 144 'simd/jcqnts2f-64.asm', |
145 'simd/jcqnts2i-64.asm', | 145 'simd/jcqnts2i-64.asm', |
146 'simd/jcsamss2-64.asm', | 146 'simd/jcsamss2-64.asm', |
147 'simd/jdcolss2-64.asm', | 147 'simd/jdcolss2-64.asm', |
148 'simd/jdmerss2-64.asm', | 148 'simd/jdmerss2-64.asm', |
149 'simd/jdsamss2-64.asm', | 149 'simd/jdsamss2-64.asm', |
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 # MemorySanitizer doesn't support assembly code, so keep it disabled in |
| 160 # MSan builds for now. |
| 161 [ 'msan==1', { |
| 162 'sources': [ |
| 163 'jsimd_none.c', |
| 164 ], |
| 165 }], |
159 # The ARM SIMD implementation can be used for devices that support | 166 # The ARM SIMD implementation can be used for devices that support |
160 # the NEON instruction set. This can safely be done dynamically by | 167 # the NEON instruction set. This can safely be done dynamically by |
161 # probing CPU features at runtime, if you wish. | 168 # probing CPU features at runtime, if you wish. |
162 [ 'target_arch=="arm"', { | 169 [ 'target_arch=="arm"', { |
163 'conditions': [ | 170 'conditions': [ |
164 [ 'arm_version >= 7 and (arm_neon == 1 or arm_neon_optional == 1)',
{ | 171 [ 'arm_version >= 7 and (arm_neon == 1 or arm_neon_optional == 1)',
{ |
165 'sources': [ | 172 'sources': [ |
166 'simd/jsimd_arm.c', | 173 'simd/jsimd_arm.c', |
167 'simd/jsimd_arm_neon.S', | 174 'simd/jsimd_arm_neon.S', |
168 ], | 175 ], |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 ], | 302 ], |
296 }, | 303 }, |
297 ], | 304 ], |
298 } | 305 } |
299 | 306 |
300 # Local Variables: | 307 # Local Variables: |
301 # tab-width:2 | 308 # tab-width:2 |
302 # indent-tabs-mode:nil | 309 # indent-tabs-mode:nil |
303 # End: | 310 # End: |
304 # vim: set expandtab tabstop=2 shiftwidth=2: | 311 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |