| 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
|
| }
|
|
|