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

Unified Diff: webrtc/modules/audio_coding/BUILD.gn

Issue 2388153004: Stop using old AudioCodingModule::RegisterReceiveCodec overloads (Closed)
Patch Set: rebase Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/audio_coding/BUILD.gn
diff --git a/webrtc/modules/audio_coding/BUILD.gn b/webrtc/modules/audio_coding/BUILD.gn
index 078fb4bccccaf8aae144366bf0d707249af04181..6f47dcce949005d93beeddcb4a2f31713f894a9c 100644
--- a/webrtc/modules/audio_coding/BUILD.gn
+++ b/webrtc/modules/audio_coding/BUILD.gn
@@ -39,14 +39,36 @@ audio_coding_deps = audio_codec_deps + [
"../../system_wrappers",
]
-rtc_static_library("audio_decoder_factory_interface") {
+rtc_static_library("audio_format") {
sources = [
- "codecs/audio_decoder_factory.h",
"codecs/audio_format.cc",
"codecs/audio_format.h",
]
deps = [
- "../..:webrtc_common",
+ "//webrtc:webrtc_common",
+ ]
+}
+
+rtc_static_library("audio_format_conversion") {
+ sources = [
+ "codecs/audio_format_conversion.cc",
+ "codecs/audio_format_conversion.h",
+ ]
+ deps = [
+ ":audio_format",
+ "//webrtc:webrtc_common",
+ "//webrtc/base:rtc_base_approved",
+ ]
+}
+
+rtc_source_set("audio_decoder_factory_interface") {
+ sources = [
+ "codecs/audio_decoder_factory.h",
+ ]
+ deps = [
+ ":audio_decoder_interface",
+ ":audio_format",
+ "//webrtc/base:rtc_base_approved",
]
}
@@ -934,6 +956,7 @@ if (rtc_include_tests) {
deps = [
":audio_coding",
+ ":audio_format_conversion",
"../../:webrtc_common",
"../../system_wrappers",
"../../system_wrappers:system_wrappers_default",
@@ -959,6 +982,7 @@ if (rtc_include_tests) {
deps = [
":audio_coding",
+ ":audio_format_conversion",
"../../:webrtc_common",
"../../system_wrappers",
"../../system_wrappers:system_wrappers_default",

Powered by Google App Engine
This is Rietveld 408576698