OLD | NEW |
---|---|
1 # Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license | 3 # Use of this source code is governed by a BSD-style license |
4 # that can be found in the LICENSE file in the root of the source | 4 # that can be found in the LICENSE file in the root of the source |
5 # tree. An additional intellectual property rights grant can be found | 5 # tree. An additional intellectual property rights grant can be found |
6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
8 | 8 |
9 { | 9 { |
10 'includes': [ | 10 'includes': [ |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
139 ['target_arch=="arm"', { | 139 ['target_arch=="arm"', { |
140 'sources': [ | 140 'sources': [ |
141 'signal_processing/complex_bit_reverse_arm.S', | 141 'signal_processing/complex_bit_reverse_arm.S', |
142 'signal_processing/spl_sqrt_floor_arm.S', | 142 'signal_processing/spl_sqrt_floor_arm.S', |
143 ], | 143 ], |
144 'sources!': [ | 144 'sources!': [ |
145 'signal_processing/complex_bit_reverse.c', | 145 'signal_processing/complex_bit_reverse.c', |
146 'signal_processing/spl_sqrt_floor.c', | 146 'signal_processing/spl_sqrt_floor.c', |
147 ], | 147 ], |
148 'conditions': [ | 148 'conditions': [ |
149 ['arm_version>=7', { | 149 ['(arm_version>=7 and (arm_neon==1 or arm_neon_optional==1)) or targ et_arch=="arm64"', { |
Andrew MacDonald
2015/06/17 03:29:23
This is inside a target_arch=="arm" block so is ce
Andrew MacDonald
2015/06/17 05:36:32
I think this should just be 'arm_neon==1 or arm_ne
Mostyn Bramley-Moore
2015/06/17 07:42:26
I tried this earlier, but got lost in the nested g
Mostyn Bramley-Moore
2015/06/17 07:42:26
I don't think it's incorrect, but this is definite
zhongwei
2015/06/17 11:44:50
target_arch=="arm64" is not needed here. arm64 is
jridges
2015/06/17 15:56:49
There is the same problem here with ARMv7 being co
| |
150 'dependencies': ['common_audio_neon',], | 150 'dependencies': ['common_audio_neon',], |
151 'sources': [ | 151 'sources': [ |
152 'signal_processing/filter_ar_fast_q12_armv7.S', | 152 'signal_processing/filter_ar_fast_q12_armv7.S', |
153 ], | 153 ], |
154 'sources!': [ | 154 'sources!': [ |
155 'signal_processing/filter_ar_fast_q12.c', | 155 'signal_processing/filter_ar_fast_q12.c', |
156 ], | 156 ], |
157 }], | 157 }], |
158 ], # conditions | 158 ], # conditions |
159 }], | 159 }], |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
205 ['os_posix==1', { | 205 ['os_posix==1', { |
206 'cflags': [ '-msse2', ], | 206 'cflags': [ '-msse2', ], |
207 'xcode_settings': { | 207 'xcode_settings': { |
208 'OTHER_CFLAGS': [ '-msse2', ], | 208 'OTHER_CFLAGS': [ '-msse2', ], |
209 }, | 209 }, |
210 }], | 210 }], |
211 ], | 211 ], |
212 }, | 212 }, |
213 ], # targets | 213 ], # targets |
214 }], | 214 }], |
215 ['target_arch=="arm" and arm_version>=7 or target_arch=="arm64"', { | 215 ['(target_arch=="arm" and arm_version>=7 and (arm_neon==1 or arm_neon_option al==1)) or target_arch=="arm64"', { |
jridges
2015/06/17 15:56:49
Is there a definitive answer as to when the arm_ne
| |
216 'targets': [ | 216 'targets': [ |
217 { | 217 { |
218 'target_name': 'common_audio_neon', | 218 'target_name': 'common_audio_neon', |
219 'type': 'static_library', | 219 'type': 'static_library', |
220 'includes': ['../build/arm_neon.gypi',], | 220 'includes': ['../build/arm_neon.gypi',], |
221 'sources': [ | 221 'sources': [ |
222 'fir_filter_neon.cc', | 222 'fir_filter_neon.cc', |
223 'resampler/sinc_resampler_neon.cc', | 223 'resampler/sinc_resampler_neon.cc', |
224 'signal_processing/cross_correlation_neon.c', | 224 'signal_processing/cross_correlation_neon.c', |
225 'signal_processing/downsample_fast_neon.c', | 225 'signal_processing/downsample_fast_neon.c', |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
314 'sources': [ | 314 'sources': [ |
315 'common_audio_unittests.isolate', | 315 'common_audio_unittests.isolate', |
316 ], | 316 ], |
317 }, | 317 }, |
318 ], | 318 ], |
319 }], | 319 }], |
320 ], | 320 ], |
321 }], | 321 }], |
322 ], # conditions | 322 ], # conditions |
323 } | 323 } |
OLD | NEW |