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

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

Issue 1200833002: Reland "Added ACM_dump protobuf, class for reading/writing and..." (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fix for gn build file, so it no longer breaks Chromium. Created 5 years, 6 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
« no previous file with comments | « DEPS ('k') | webrtc/modules/audio_coding/main/acm2/acm_dump.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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",
« no previous file with comments | « DEPS ('k') | webrtc/modules/audio_coding/main/acm2/acm_dump.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698