Index: webrtc/modules/audio_coding/BUILD.gn |
diff --git a/webrtc/modules/audio_coding/BUILD.gn b/webrtc/modules/audio_coding/BUILD.gn |
index 7b7acd34d8b93e6c3b3dd50e6f3dc366e26b99ab..50438f99b6c3d57b22e3405e5c807ac12d66ecb5 100644 |
--- a/webrtc/modules/audio_coding/BUILD.gn |
+++ b/webrtc/modules/audio_coding/BUILD.gn |
@@ -7,6 +7,7 @@ |
# be found in the AUTHORS file in the root of the source tree. |
import("//build/config/arm.gni") |
+import("//third_party/protobuf/proto_library.gni") |
import("../../build/webrtc.gni") |
config("audio_coding_config") { |
@@ -79,6 +80,35 @@ source_set("audio_coding") { |
} |
} |
+proto_library("acm_dump_proto") { |
+ sources = [ |
+ "main/acm2/dump.proto", |
+ ] |
+ proto_out_dir = "webrtc/audio_coding" |
+} |
+ |
+source_set("acm_dump") { |
+ sources = [ |
+ "main/acm2/acm_dump.cc", |
+ "main/acm2/acm_dump.h", |
+ ] |
+ |
+ defines = [] |
+ |
+ configs += [ "../..:common_config" ] |
+ |
+ public_configs = [ "../..:common_inherited_config" ] |
+ |
+ deps = [ |
+ ":acm_dump_proto", |
+ "../..:webrtc_common", |
+ ] |
+ |
+ if (rtc_enable_protobuf) { |
+ defines += [ "RTC_AUDIOCODING_DEBUG_DUMP" ] |
+ } |
+} |
+ |
source_set("audio_decoder_interface") { |
sources = [ |
"codecs/audio_decoder.cc", |