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

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

Issue 2388153004: Stop using old AudioCodingModule::RegisterReceiveCodec overloads (Closed)
Patch Set: rebase Created 4 years, 1 month 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
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/webrtc.gni") 9 import("../../build/webrtc.gni")
10 import("audio_coding.gni") 10 import("audio_coding.gni")
(...skipping 21 matching lines...) Expand all
32 } 32 }
33 if (!build_with_mozilla && !build_with_chromium) { 33 if (!build_with_mozilla && !build_with_chromium) {
34 audio_codec_deps += [ ":red" ] 34 audio_codec_deps += [ ":red" ]
35 } 35 }
36 audio_coding_deps = audio_codec_deps + [ 36 audio_coding_deps = audio_codec_deps + [
37 "../..:webrtc_common", 37 "../..:webrtc_common",
38 "../../common_audio", 38 "../../common_audio",
39 "../../system_wrappers", 39 "../../system_wrappers",
40 ] 40 ]
41 41
42 rtc_static_library("audio_decoder_factory_interface") { 42 rtc_static_library("audio_format") {
43 sources = [ 43 sources = [
44 "codecs/audio_decoder_factory.h",
45 "codecs/audio_format.cc", 44 "codecs/audio_format.cc",
46 "codecs/audio_format.h", 45 "codecs/audio_format.h",
47 ] 46 ]
48 deps = [ 47 deps = [
49 "../..:webrtc_common", 48 "//webrtc:webrtc_common",
50 ] 49 ]
51 } 50 }
52 51
52 rtc_static_library("audio_format_conversion") {
53 sources = [
54 "codecs/audio_format_conversion.cc",
55 "codecs/audio_format_conversion.h",
56 ]
57 deps = [
58 ":audio_format",
59 "//webrtc:webrtc_common",
60 "//webrtc/base:rtc_base_approved",
61 ]
62 }
63
64 rtc_source_set("audio_decoder_factory_interface") {
65 sources = [
66 "codecs/audio_decoder_factory.h",
67 ]
68 deps = [
69 ":audio_decoder_interface",
70 ":audio_format",
71 "//webrtc/base:rtc_base_approved",
72 ]
73 }
74
53 rtc_static_library("builtin_audio_decoder_factory") { 75 rtc_static_library("builtin_audio_decoder_factory") {
54 sources = [ 76 sources = [
55 "codecs/builtin_audio_decoder_factory.cc", 77 "codecs/builtin_audio_decoder_factory.cc",
56 "codecs/builtin_audio_decoder_factory.h", 78 "codecs/builtin_audio_decoder_factory.h",
57 ] 79 ]
58 deps = [ 80 deps = [
59 "../..:webrtc_common", 81 "../..:webrtc_common",
60 ":audio_decoder_factory_interface", 82 ":audio_decoder_factory_interface",
61 ] + audio_codec_deps 83 ] + audio_codec_deps
62 defines = audio_codec_defines 84 defines = audio_codec_defines
(...skipping 864 matching lines...) Expand 10 before | Expand all | Expand 10 after
927 testonly = true 949 testonly = true
928 sources = [ 950 sources = [
929 "test/Channel.cc", 951 "test/Channel.cc",
930 "test/PCMFile.cc", 952 "test/PCMFile.cc",
931 "test/delay_test.cc", 953 "test/delay_test.cc",
932 "test/utility.cc", 954 "test/utility.cc",
933 ] 955 ]
934 956
935 deps = [ 957 deps = [
936 ":audio_coding", 958 ":audio_coding",
959 ":audio_format_conversion",
937 "../../:webrtc_common", 960 "../../:webrtc_common",
938 "../../system_wrappers", 961 "../../system_wrappers",
939 "../../system_wrappers:system_wrappers_default", 962 "../../system_wrappers:system_wrappers_default",
940 "../../test:test_support", 963 "../../test:test_support",
941 "../rtp_rtcp", 964 "../rtp_rtcp",
942 "//testing/gtest", 965 "//testing/gtest",
943 "//third_party/gflags:gflags", 966 "//third_party/gflags:gflags",
944 ] 967 ]
945 } # delay_test 968 } # delay_test
946 969
947 rtc_executable("insert_packet_with_timing") { 970 rtc_executable("insert_packet_with_timing") {
948 testonly = true 971 testonly = true
949 sources = [ 972 sources = [
950 "test/Channel.cc", 973 "test/Channel.cc",
951 "test/PCMFile.cc", 974 "test/PCMFile.cc",
952 "test/insert_packet_with_timing.cc", 975 "test/insert_packet_with_timing.cc",
953 ] 976 ]
954 977
955 if (!build_with_chromium && is_clang) { 978 if (!build_with_chromium && is_clang) {
956 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 979 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
957 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 980 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
958 } 981 }
959 982
960 deps = [ 983 deps = [
961 ":audio_coding", 984 ":audio_coding",
985 ":audio_format_conversion",
962 "../../:webrtc_common", 986 "../../:webrtc_common",
963 "../../system_wrappers", 987 "../../system_wrappers",
964 "../../system_wrappers:system_wrappers_default", 988 "../../system_wrappers:system_wrappers_default",
965 "../../test:test_support", 989 "../../test:test_support",
966 "../rtp_rtcp", 990 "../rtp_rtcp",
967 "//testing/gtest", 991 "//testing/gtest",
968 "//third_party/gflags:gflags", 992 "//third_party/gflags:gflags",
969 ] 993 ]
970 } # insert_packet_with_timing 994 } # insert_packet_with_timing
971 995
(...skipping 640 matching lines...) Expand 10 before | Expand all | Expand 10 after
1612 "../../test:test_support_main", 1636 "../../test:test_support_main",
1613 "//testing/gtest", 1637 "//testing/gtest",
1614 ] 1638 ]
1615 1639
1616 if (!build_with_chromium && is_clang) { 1640 if (!build_with_chromium && is_clang) {
1617 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 1641 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
1618 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 1642 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
1619 } 1643 }
1620 } 1644 }
1621 } 1645 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698