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

Unified Diff: webrtc/modules/audio_coding/audio_network_adaptor/audio_network_adaptor.gypi

Issue 2356763002: Adding debug dump to audio network adaptor. (Closed)
Patch Set: some fixing Created 4 years, 3 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/audio_network_adaptor/audio_network_adaptor.gypi
diff --git a/webrtc/modules/audio_coding/audio_network_adaptor/audio_network_adaptor.gypi b/webrtc/modules/audio_coding/audio_network_adaptor/audio_network_adaptor.gypi
index ea3ef13a406ff171ab31f1415edaba7d72dcba03..5741de1d88ce5edcd95bec0f1fdce207d7b45599 100644
--- a/webrtc/modules/audio_coding/audio_network_adaptor/audio_network_adaptor.gypi
+++ b/webrtc/modules/audio_coding/audio_network_adaptor/audio_network_adaptor.gypi
@@ -22,6 +22,8 @@
'controller.cc',
'controller_manager.cc',
'controller_manager.h',
+ 'debug_dump_writer.cc',
+ 'debug_dump_writer.h',
'dtx_controller.h',
'dtx_controller.cc',
'frame_length_controller.cc',
@@ -29,7 +31,32 @@
'include/audio_network_adaptor.h',
'smoothing_filter.h',
'smoothing_filter.cc',
- ], # source
+ ], # sources
+ 'conditions': [
+ ['enable_protobuf==1', {
+ 'dependencies': ['debug_dump_proto'],
+ 'defines': ['WEBRTC_AUDIO_NETWORK_ADAPTOR_DEBUG_DUMP'],
+ }],
+ ], # conditions
},
], # targets
+
+ 'conditions': [
+ ['enable_protobuf==1', {
+ 'targets': [
+ { 'target_name': 'debug_dump_proto',
+ 'type': 'static_library',
+ 'sources': ['debug_dump.proto',],
+ 'variables': {
+ 'proto_in_dir': '.',
+ # Workaround to protect against gyp's pathname relativization when
+ # this file is included by modules.gyp.
+ 'proto_out_protected': 'webrtc/modules/audio_coding/audio_network_adaptor',
+ 'proto_out_dir': '<(proto_out_protected)',
+ },
+ 'includes': ['../../../build/protoc.gypi',],
+ },
+ ], # targets
+ }],
+ ], # conditions
}
« no previous file with comments | « webrtc/modules/audio_coding/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