| 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 af6ba55c6db65d6fb37edcc34dbfc721e5ed2f69..508b62b2e61e0e31acd87f1d5b011e6a81cc489c 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',
|
| 'fec_controller.h',
|
| @@ -31,7 +33,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
|
| }
|
|
|