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', | |
27 'dtx_controller.h', | 25 'dtx_controller.h', |
28 'dtx_controller.cc', | 26 'dtx_controller.cc', |
29 'frame_length_controller.cc', | 27 'frame_length_controller.cc', |
30 'frame_length_controller.h', | 28 'frame_length_controller.h', |
31 'include/audio_network_adaptor.h', | 29 'include/audio_network_adaptor.h', |
32 'smoothing_filter.h', | 30 'smoothing_filter.h', |
33 'smoothing_filter.cc', | 31 'smoothing_filter.cc', |
34 ], # sources | 32 ], # source |
35 'conditions': [ | |
36 ['enable_protobuf==1', { | |
37 'dependencies': ['debug_dump_proto'], | |
38 'defines': ['WEBRTC_AUDIO_NETWORK_ADAPTOR_DEBUG_DUMP'], | |
39 }], | |
40 ], # conditions | |
41 }, | 33 }, |
42 ], # targets | 34 ], # targets |
43 | |
44 'conditions': [ | |
45 ['enable_protobuf==1', { | |
46 'targets': [ | |
47 { 'target_name': 'debug_dump_proto', | |
48 'type': 'static_library', | |
49 'sources': ['debug_dump.proto',], | |
50 'variables': { | |
51 'proto_in_dir': '.', | |
52 # Workaround to protect against gyp's pathname relativization when | |
53 # this file is included by modules.gyp. | |
54 'proto_out_protected': 'webrtc/modules/audio_coding/audio_network_ad
aptor', | |
55 'proto_out_dir': '<(proto_out_protected)', | |
56 }, | |
57 'includes': ['../../../build/protoc.gypi',], | |
58 }, | |
59 ], # targets | |
60 }], | |
61 ], # conditions | |
62 } | 35 } |
OLD | NEW |