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

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

Issue 2559953002: Log audio network adapter decisions in event log. (Closed)
Patch Set: Revert ana dump changes Created 3 years, 11 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 b78ba7936ac17265025eb38a2891b52d80cb9034..a5e7c8aa2ccffe2c8553211b1f4be9bdd038e766 100644
--- a/webrtc/modules/audio_coding/BUILD.gn
+++ b/webrtc/modules/audio_coding/BUILD.gn
@@ -886,7 +886,8 @@ if (rtc_enable_protobuf) {
sources = [
"audio_network_adaptor/debug_dump.proto",
]
- proto_out_dir = "webrtc/modules/audio_coding/audio_network_adaptor"
+ proto_in_dir = "//"
+ proto_out_dir = "."
}
proto_library("ana_config_proto") {
sources = [
@@ -913,6 +914,8 @@ rtc_static_library("audio_network_adaptor") {
"audio_network_adaptor/debug_dump_writer.h",
"audio_network_adaptor/dtx_controller.cc",
"audio_network_adaptor/dtx_controller.h",
+ "audio_network_adaptor/event_log_writer.cc",
+ "audio_network_adaptor/event_log_writer.h",
"audio_network_adaptor/fec_controller.cc",
"audio_network_adaptor/fec_controller.h",
"audio_network_adaptor/frame_length_controller.cc",
@@ -924,6 +927,7 @@ rtc_static_library("audio_network_adaptor") {
"../..:webrtc_common",
"../../base:rtc_base_approved",
"../../common_audio",
+ "../../logging:rtc_event_log_api",
"../../system_wrappers",
]
@@ -934,6 +938,11 @@ rtc_static_library("audio_network_adaptor") {
]
defines = [ "WEBRTC_AUDIO_NETWORK_ADAPTOR_DEBUG_DUMP" ]
}
+
+ if (!build_with_chromium && is_clang) {
+ # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
+ suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
+ }
}
rtc_static_library("neteq") {
« no previous file with comments | « webrtc/modules/BUILD.gn ('k') | webrtc/modules/audio_coding/audio_network_adaptor/audio_network_adaptor_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698