OLD | NEW |
---|---|
1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2014 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 import("//build/config/arm.gni") | 9 import("//build/config/arm.gni") |
10 import("../build/webrtc.gni") | 10 import("../build/webrtc.gni") |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
122 deps += [ "//third_party/openmax_dl/dl" ] | 122 deps += [ "//third_party/openmax_dl/dl" ] |
123 } | 123 } |
124 } | 124 } |
125 | 125 |
126 if (current_cpu == "arm") { | 126 if (current_cpu == "arm") { |
127 sources += [ | 127 sources += [ |
128 "signal_processing/complex_bit_reverse_arm.S", | 128 "signal_processing/complex_bit_reverse_arm.S", |
129 "signal_processing/spl_sqrt_floor_arm.S", | 129 "signal_processing/spl_sqrt_floor_arm.S", |
130 ] | 130 ] |
131 | 131 |
132 if (arm_version >= 7) { | 132 if (rtc_build_armv7_neon) { |
Andrew MacDonald
2015/06/17 05:36:32
This shouldn't change anything; it amounts to the
Mostyn Bramley-Moore
2015/06/17 07:42:26
"arm_version>=7" is wrong because neon is optional
jridges
2015/06/17 15:56:49
This clause is doing two independent things which
| |
133 deps += [ ":common_audio_neon" ] | 133 deps += [ ":common_audio_neon" ] |
134 sources += [ "signal_processing/filter_ar_fast_q12_armv7.S" ] | 134 sources += [ "signal_processing/filter_ar_fast_q12_armv7.S" ] |
135 } else { | 135 } else { |
136 sources += [ "signal_processing/filter_ar_fast_q12.c" ] | 136 sources += [ "signal_processing/filter_ar_fast_q12.c" ] |
137 } | 137 } |
138 } | 138 } |
139 | 139 |
140 if (current_cpu == "arm64") { | 140 if (current_cpu == "arm64") { |
141 deps += [ ":common_audio_neon" ] | 141 deps += [ ":common_audio_neon" ] |
142 } | 142 } |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
231 | 231 |
232 # Disable LTO in audio_processing_neon target due to compiler bug. | 232 # Disable LTO in audio_processing_neon target due to compiler bug. |
233 if (rtc_use_lto) { | 233 if (rtc_use_lto) { |
234 cflags -= [ | 234 cflags -= [ |
235 "-flto", | 235 "-flto", |
236 "-ffat-lto-objects", | 236 "-ffat-lto-objects", |
237 ] | 237 ] |
238 } | 238 } |
239 } | 239 } |
240 } | 240 } |
OLD | NEW |