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_libjpeg==1. Settings for building with | 6 # This file is not used when use_system_libjpeg==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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
175 ], | 175 ], |
176 }, { | 176 }, { |
177 'sources': [ | 177 'sources': [ |
178 'jsimd_none.c', | 178 'jsimd_none.c', |
179 ], | 179 ], |
180 }] | 180 }] |
181 ], | 181 ], |
182 }], | 182 }], |
183 [ 'target_arch=="arm64"', { | 183 [ 'target_arch=="arm64"', { |
184 'sources': [ | 184 'sources': [ |
185 'jsimd_none.c', | 185 'simd/jsimd_arm64.c', |
186 'simd/jsimd_arm_neon_64.S', | |
186 ], | 187 ], |
187 }], | 188 }], |
188 [ 'target_arch=="mipsel"', { | 189 [ 'target_arch=="mipsel"', { |
189 'sources': [ | 190 'sources': [ |
190 'jsimd_none.c', | 191 'jsimd_none.c', |
191 ], | 192 ], |
192 }], | 193 }], |
193 | 194 |
194 # Build rules for an asm file. | 195 # Build rules for an asm file. |
195 # On Windows, we use the precompiled yasm binary. On Linux, we build | 196 # On Windows, we use the precompiled yasm binary. On Linux, we build |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
238 'yasm_format': '-fmacho64', | 239 'yasm_format': '-fmacho64', |
239 'yasm_flags': [ | 240 'yasm_flags': [ |
240 '-D__x86_64__', | 241 '-D__x86_64__', |
241 '-DMACHO', | 242 '-DMACHO', |
242 '-Imac/' | 243 '-Imac/' |
243 ], | 244 ], |
244 }], | 245 }], |
245 ], | 246 ], |
246 }, | 247 }, |
247 }], | 248 }], |
248 [ 'OS=="linux" or OS=="freebsd" or (OS=="android" and target_arch!="arm" )', { | 249 [ 'OS=="linux" or OS=="freebsd" or (OS=="android" and target_arch!="arm" )', { |
Noel Gordon
2014/08/04 06:09:32
Do we need a target_arch!="arm64" around here?
rmcilroy
2014/08/04 16:03:29
Having looked at this, I'm pretty sure yasm is onl
| |
249 'conditions': [ | 250 'conditions': [ |
250 [ 'use_system_yasm==0', { | 251 [ 'use_system_yasm==0', { |
251 'dependencies': [ | 252 'dependencies': [ |
252 '../yasm/yasm.gyp:yasm#host', | 253 '../yasm/yasm.gyp:yasm#host', |
253 ], | 254 ], |
254 }], | 255 }], |
255 ], | 256 ], |
256 'variables': { | 257 'variables': { |
257 'conditions': [ | 258 'conditions': [ |
258 [ 'use_system_yasm==1', { | 259 [ 'use_system_yasm==1', { |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
307 ], | 308 ], |
308 }, | 309 }, |
309 ], | 310 ], |
310 } | 311 } |
311 | 312 |
312 # Local Variables: | 313 # Local Variables: |
313 # tab-width:2 | 314 # tab-width:2 |
314 # indent-tabs-mode:nil | 315 # indent-tabs-mode:nil |
315 # End: | 316 # End: |
316 # vim: set expandtab tabstop=2 shiftwidth=2: | 317 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |