aboutsummaryrefslogtreecommitdiff
path: root/common_audio
diff options
context:
space:
mode:
authorOleh Prypin <oprypin@webrtc.org>2018-08-01 12:18:05 +0200
committerCommit Bot <commit-bot@chromium.org>2018-08-01 13:15:42 +0000
commitd2f4e8bd903c1e94345972410139566eb28a6d77 (patch)
tree249aa284f8c727362a54517a99eb1677f75369a5 /common_audio
parent7a1c7f782a149a688e4d74f4df90b10185c01724 (diff)
downloadwebrtc-d2f4e8bd903c1e94345972410139566eb28a6d77.tar.gz
Explicitly add -mfpu=neon to all targets that use NEON
Remove obsolete comment about Chromium not defining NEON for Android. Semi-related fix: don't use `rtc_remove_configs` directly, `suppressed_configs` is the "public interface". Bug: webrtc:9579 Change-Id: I512628feb462a29432f1356cfef00efe1ddaf84f Reviewed-on: https://webrtc-review.googlesource.com/91761 Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Per Ã…hgren <peah@webrtc.org> Commit-Queue: Oleh Prypin <oprypin@webrtc.org> Cr-Commit-Position: refs/heads/master@{#24165}
Diffstat (limited to 'common_audio')
-rw-r--r--common_audio/BUILD.gn8
1 files changed, 2 insertions, 6 deletions
diff --git a/common_audio/BUILD.gn b/common_audio/BUILD.gn
index 6290360b51..d6e860ff68 100644
--- a/common_audio/BUILD.gn
+++ b/common_audio/BUILD.gn
@@ -290,9 +290,7 @@ if (rtc_build_with_neon) {
]
if (current_cpu != "arm64") {
- # Enable compilation for the NEON instruction set. This is needed
- # since //build/config/arm.gni only enables NEON for iOS, not Android.
- # This provides the same functionality as webrtc/build/arm_neon.gypi.
+ # Enable compilation for the NEON instruction set.
suppressed_configs += [ "//build/config/compiler:compiler_arm_fpu" ]
cflags = [ "-mfpu=neon" ]
}
@@ -325,9 +323,7 @@ if (rtc_build_with_neon) {
]
if (current_cpu != "arm64") {
- # Enable compilation for the NEON instruction set. This is needed
- # since //build/config/arm.gni only enables NEON for iOS, not Android.
- # This provides the same functionality as webrtc/build/arm_neon.gypi.
+ # Enable compilation for the NEON instruction set.
suppressed_configs += [ "//build/config/compiler:compiler_arm_fpu" ]
cflags = [ "-mfpu=neon" ]
}