| OLD | NEW |
| 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 'conditions': [ | 8 'conditions': [ |
| 9 [ 'chromeos==1 or OS=="freebsd" or OS=="openbsd"', { | 9 [ 'chromeos==1 or OS=="freebsd" or OS=="openbsd"', { |
| 10 # Link to system .so since we already use it due to GTK. | 10 # Link to system .so since we already use it due to GTK. |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 # The ARM SIMD implementation requires the Neon instruction set. | 165 # The ARM SIMD implementation requires the Neon instruction set. |
| 166 [ 'target_arch=="arm"', { | 166 [ 'target_arch=="arm"', { |
| 167 'conditions': [ | 167 'conditions': [ |
| 168 [ 'arm_neon==1', { | 168 [ 'arm_neon==1', { |
| 169 'sources': [ | 169 'sources': [ |
| 170 'simd/jsimd_arm.c', | 170 'simd/jsimd_arm.c', |
| 171 'simd/jsimd_arm_neon.S', | 171 'simd/jsimd_arm_neon.S', |
| 172 ], | 172 ], |
| 173 }, { | 173 }, { |
| 174 'sources': [ | 174 'sources': [ |
| 175 'simd/jsimd_none.c', | 175 'jsimd_none.c', |
| 176 ], | 176 ], |
| 177 }] | 177 }] |
| 178 ], | 178 ], |
| 179 }], | 179 }], |
| 180 | 180 |
| 181 # Build rules for an asm file. | 181 # Build rules for an asm file. |
| 182 # On Windows, we use the precompiled yasm binary. On Linux, we build | 182 # On Windows, we use the precompiled yasm binary. On Linux, we build |
| 183 # our patched yasm and use it except when use_system_yasm is 1. On | 183 # our patched yasm and use it except when use_system_yasm is 1. On |
| 184 # Mac, we always build our patched yasm and use it because of | 184 # Mac, we always build our patched yasm and use it because of |
| 185 # <http://www.tortall.net/projects/yasm/ticket/236>. | 185 # <http://www.tortall.net/projects/yasm/ticket/236>. |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 290 ], | 290 ], |
| 291 }], | 291 }], |
| 292 ], | 292 ], |
| 293 } | 293 } |
| 294 | 294 |
| 295 # Local Variables: | 295 # Local Variables: |
| 296 # tab-width:2 | 296 # tab-width:2 |
| 297 # indent-tabs-mode:nil | 297 # indent-tabs-mode:nil |
| 298 # End: | 298 # End: |
| 299 # vim: set expandtab tabstop=2 shiftwidth=2: | 299 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |