Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(598)

Side by Side Diff: webrtc/modules/audio_coding/BUILD.gn

Issue 1194773002: Re-enable WebRtcIsacfix_AllpassFilter2FixDec16Neon (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: remove lto block in isacfix.gypi Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | webrtc/modules/audio_coding/codecs/isac/fix/source/filterbank_internal.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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("//third_party/protobuf/proto_library.gni") 10 import("//third_party/protobuf/proto_library.gni")
(...skipping 593 matching lines...) Expand 10 before | Expand all | Expand 10 after
604 ] 604 ]
605 sources -= [ "codecs/isac/fix/source/pitch_filter_c.c" ] 605 sources -= [ "codecs/isac/fix/source/pitch_filter_c.c" ]
606 } 606 }
607 } 607 }
608 } 608 }
609 609
610 if (rtc_build_with_neon) { 610 if (rtc_build_with_neon) {
611 source_set("isac_neon") { 611 source_set("isac_neon") {
612 sources = [ 612 sources = [
613 "codecs/isac/fix/source/entropy_coding_neon.c", 613 "codecs/isac/fix/source/entropy_coding_neon.c",
614 "codecs/isac/fix/source/filterbanks_neon.c",
614 "codecs/isac/fix/source/filters_neon.c", 615 "codecs/isac/fix/source/filters_neon.c",
615 "codecs/isac/fix/source/lattice_neon.c", 616 "codecs/isac/fix/source/lattice_neon.c",
616 "codecs/isac/fix/source/transform_neon.c", 617 "codecs/isac/fix/source/transform_neon.c",
617 ] 618 ]
618 if (current_cpu != "arm64" || !is_clang) {
619 # Disable AllpassFilter2FixDec16Neon function due to a clang bug.
620 # For more details refer to:
621 # https://code.google.com/p/webrtc/issues/detail?id=4567
622 sources += [ "codecs/isac/fix/source/filterbanks_neon.c" ]
623 }
624 619
625 if (current_cpu != "arm64") { 620 if (current_cpu != "arm64") {
626 # Enable compilation for the NEON instruction set. This is needed 621 # Enable compilation for the NEON instruction set. This is needed
627 # since //build/config/arm.gni only enables NEON for iOS, not Android. 622 # since //build/config/arm.gni only enables NEON for iOS, not Android.
628 # This provides the same functionality as webrtc/build/arm_neon.gypi. 623 # This provides the same functionality as webrtc/build/arm_neon.gypi.
629 configs -= [ "//build/config/compiler:compiler_arm_fpu" ] 624 configs -= [ "//build/config/compiler:compiler_arm_fpu" ]
630 cflags = [ "-mfpu=neon" ] 625 cflags = [ "-mfpu=neon" ]
631 } 626 }
632 627
633 # Disable LTO on NEON targets due to compiler bug. 628 # Disable LTO on NEON targets due to compiler bug.
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
802 "../../system_wrappers", 797 "../../system_wrappers",
803 ] 798 ]
804 799
805 defines = [] 800 defines = []
806 801
807 if (rtc_include_opus) { 802 if (rtc_include_opus) {
808 defines += [ "WEBRTC_CODEC_OPUS" ] 803 defines += [ "WEBRTC_CODEC_OPUS" ]
809 deps += [ ":webrtc_opus" ] 804 deps += [ ":webrtc_opus" ]
810 } 805 }
811 } 806 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/modules/audio_coding/codecs/isac/fix/source/filterbank_internal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698