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

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

Issue 2973613002: Moving asm code out of isac_fix_c sources list (Closed)
Patch Set: Created 3 years, 5 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 | no next file » | 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("../../webrtc.gni") 9 import("../../webrtc.gni")
10 import("audio_coding.gni") 10 import("audio_coding.gni")
(...skipping 616 matching lines...) Expand 10 before | Expand all | Expand 10 after
627 visibility = [ ":*" ] # Only targets in this file can depend on this. 627 visibility = [ ":*" ] # Only targets in this file can depend on this.
628 sources = [ 628 sources = [
629 "codecs/isac/fix/source/codec.h", 629 "codecs/isac/fix/source/codec.h",
630 "codecs/isac/fix/source/fft.c", 630 "codecs/isac/fix/source/fft.c",
631 "codecs/isac/fix/source/fft.h", 631 "codecs/isac/fix/source/fft.h",
632 "codecs/isac/fix/source/settings.h", 632 "codecs/isac/fix/source/settings.h",
633 ] 633 ]
634 public_configs = [ ":isac_fix_config" ] 634 public_configs = [ ":isac_fix_config" ]
635 } 635 }
636 636
637 rtc_source_set("isac_fix_c_asm") {
ehmaldonado_webrtc 2017/07/05 15:31:18 Why is the suffix _asm here, and _arm_asm in https
mbonadei 2017/07/06 09:45:59 Thanks for spotting this. I changed this to _arm_a
638 sources = []
639 if (current_cpu == "arm" && arm_version >= 7) {
640 sources += [
641 "codecs/isac/fix/source/lattice_armv7.S",
642 "codecs/isac/fix/source/pitch_filter_armv6.S",
643 ]
644 }
645 }
646
637 rtc_source_set("isac_fix_c") { 647 rtc_source_set("isac_fix_c") {
638 visibility = [ ":*" ] # Only targets in this file can depend on this. 648 visibility = [ ":*" ] # Only targets in this file can depend on this.
639 sources = [ 649 sources = [
640 "codecs/isac/fix/include/audio_decoder_isacfix.h", 650 "codecs/isac/fix/include/audio_decoder_isacfix.h",
641 "codecs/isac/fix/include/audio_encoder_isacfix.h", 651 "codecs/isac/fix/include/audio_encoder_isacfix.h",
642 "codecs/isac/fix/include/isacfix.h", 652 "codecs/isac/fix/include/isacfix.h",
643 "codecs/isac/fix/source/arith_routines.c", 653 "codecs/isac/fix/source/arith_routines.c",
644 "codecs/isac/fix/source/arith_routines_hist.c", 654 "codecs/isac/fix/source/arith_routines_hist.c",
645 "codecs/isac/fix/source/arith_routines_logist.c", 655 "codecs/isac/fix/source/arith_routines_logist.c",
646 "codecs/isac/fix/source/arith_routins.h", 656 "codecs/isac/fix/source/arith_routins.h",
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
695 705
696 public_deps = [ 706 public_deps = [
697 ":isac_fix_common", 707 ":isac_fix_common",
698 ] 708 ]
699 709
700 if (rtc_build_with_neon) { 710 if (rtc_build_with_neon) {
701 deps += [ ":isac_neon" ] 711 deps += [ ":isac_neon" ]
702 } 712 }
703 713
704 if (current_cpu == "arm" && arm_version >= 7) { 714 if (current_cpu == "arm" && arm_version >= 7) {
705 sources += [
706 "codecs/isac/fix/source/lattice_armv7.S",
707 "codecs/isac/fix/source/pitch_filter_armv6.S",
708 ]
709 sources -= [ 715 sources -= [
710 "codecs/isac/fix/source/lattice_c.c", 716 "codecs/isac/fix/source/lattice_c.c",
711 "codecs/isac/fix/source/pitch_filter_c.c", 717 "codecs/isac/fix/source/pitch_filter_c.c",
712 ] 718 ]
719 deps += [ ":isac_fix_c_asm" ]
713 } 720 }
714 721
715 if (current_cpu == "mipsel") { 722 if (current_cpu == "mipsel") {
716 sources += [ 723 sources += [
717 "codecs/isac/fix/source/entropy_coding_mips.c", 724 "codecs/isac/fix/source/entropy_coding_mips.c",
718 "codecs/isac/fix/source/filters_mips.c", 725 "codecs/isac/fix/source/filters_mips.c",
719 "codecs/isac/fix/source/lattice_mips.c", 726 "codecs/isac/fix/source/lattice_mips.c",
720 "codecs/isac/fix/source/pitch_estimator_mips.c", 727 "codecs/isac/fix/source/pitch_estimator_mips.c",
721 "codecs/isac/fix/source/transform_mips.c", 728 "codecs/isac/fix/source/transform_mips.c",
722 ] 729 ]
(...skipping 1510 matching lines...) Expand 10 before | Expand all | Expand 10 after
2233 # webrtc/api/audio_codecs:builtin_audio_decoder_factory instead. 2240 # webrtc/api/audio_codecs:builtin_audio_decoder_factory instead.
2234 # TODO(ossu): Remove this. 2241 # TODO(ossu): Remove this.
2235 rtc_source_set("builtin_audio_encoder_factory") { 2242 rtc_source_set("builtin_audio_encoder_factory") {
2236 sources = [ 2243 sources = [
2237 "codecs/builtin_audio_encoder_factory.h", 2244 "codecs/builtin_audio_encoder_factory.h",
2238 ] 2245 ]
2239 deps = [ 2246 deps = [
2240 "../../api/audio_codecs:builtin_audio_encoder_factory", 2247 "../../api/audio_codecs:builtin_audio_encoder_factory",
2241 ] 2248 ]
2242 } 2249 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698