OLD | NEW |
1 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license | 3 # Use of this source code is governed by a BSD-style license |
4 # that can be found in the LICENSE file in the root of the source | 4 # that can be found in the LICENSE file in the root of the source |
5 # tree. An additional intellectual property rights grant can be found | 5 # tree. An additional intellectual property rights grant can be found |
6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
8 | 8 |
9 { | 9 { |
10 'targets': [ | 10 'targets': [ |
11 { 'target_name': 'audio_network_adaptor', | 11 { 'target_name': 'audio_network_adaptor', |
12 'type': 'static_library', | 12 'type': 'static_library', |
13 'sources': [ | 13 'sources': [ |
14 'audio_network_adaptor.cc', | 14 'audio_network_adaptor.cc', |
15 'audio_network_adaptor_impl.cc', | 15 'audio_network_adaptor_impl.cc', |
16 'audio_network_adaptor_impl.h', | 16 'audio_network_adaptor_impl.h', |
17 'bitrate_controller.h', | 17 'bitrate_controller.h', |
18 'bitrate_controller.cc', | 18 'bitrate_controller.cc', |
19 'channel_controller.cc', | 19 'channel_controller.cc', |
20 'channel_controller.h', | 20 'channel_controller.h', |
21 'controller.h', | 21 'controller.h', |
22 'controller.cc', | 22 'controller.cc', |
23 'controller_manager.cc', | 23 'controller_manager.cc', |
24 'controller_manager.h', | 24 'controller_manager.h', |
| 25 'debug_dump_writer.cc', |
| 26 'debug_dump_writer.h', |
25 'dtx_controller.h', | 27 'dtx_controller.h', |
26 'dtx_controller.cc', | 28 'dtx_controller.cc', |
27 'fec_controller.h', | 29 'fec_controller.h', |
28 'fec_controller.cc', | 30 'fec_controller.cc', |
29 'frame_length_controller.cc', | 31 'frame_length_controller.cc', |
30 'frame_length_controller.h', | 32 'frame_length_controller.h', |
31 'include/audio_network_adaptor.h', | 33 'include/audio_network_adaptor.h', |
32 'smoothing_filter.h', | 34 'smoothing_filter.h', |
33 'smoothing_filter.cc', | 35 'smoothing_filter.cc', |
34 ], # source | 36 ], # sources |
| 37 'conditions': [ |
| 38 ['enable_protobuf==1', { |
| 39 'dependencies': ['debug_dump_proto'], |
| 40 'defines': ['WEBRTC_AUDIO_NETWORK_ADAPTOR_DEBUG_DUMP'], |
| 41 }], |
| 42 ], # conditions |
35 }, | 43 }, |
36 ], # targets | 44 ], # targets |
| 45 |
| 46 'conditions': [ |
| 47 ['enable_protobuf==1', { |
| 48 'targets': [ |
| 49 { 'target_name': 'debug_dump_proto', |
| 50 'type': 'static_library', |
| 51 'sources': ['debug_dump.proto',], |
| 52 'variables': { |
| 53 'proto_in_dir': '.', |
| 54 # Workaround to protect against gyp's pathname relativization when |
| 55 # this file is included by modules.gyp. |
| 56 'proto_out_protected': 'webrtc/modules/audio_coding/audio_network_ad
aptor', |
| 57 'proto_out_dir': '<(proto_out_protected)', |
| 58 }, |
| 59 'includes': ['../../../build/protoc.gypi',], |
| 60 }, |
| 61 ], # targets |
| 62 }], |
| 63 ], # conditions |
37 } | 64 } |
OLD | NEW |