OLD | NEW |
| (Empty) |
1 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | |
2 # | |
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 | |
5 # tree. An additional intellectual property rights grant can be found | |
6 # in the file PATENTS. All contributing project authors may | |
7 # be found in the AUTHORS file in the root of the source tree. | |
8 | |
9 { | |
10 'targets': [ | |
11 { 'target_name': 'audio_network_adaptor', | |
12 'type': 'static_library', | |
13 'sources': [ | |
14 'audio_network_adaptor.cc', | |
15 'audio_network_adaptor_impl.cc', | |
16 'audio_network_adaptor_impl.h', | |
17 'bitrate_controller.h', | |
18 'bitrate_controller.cc', | |
19 'channel_controller.cc', | |
20 'channel_controller.h', | |
21 'controller.h', | |
22 'controller.cc', | |
23 'controller_manager.cc', | |
24 'controller_manager.h', | |
25 'debug_dump_writer.cc', | |
26 'debug_dump_writer.h', | |
27 'dtx_controller.h', | |
28 'dtx_controller.cc', | |
29 'fec_controller.h', | |
30 'fec_controller.cc', | |
31 'frame_length_controller.cc', | |
32 'frame_length_controller.h', | |
33 'include/audio_network_adaptor.h', | |
34 'smoothing_filter.h', | |
35 'smoothing_filter.cc', | |
36 ], # sources | |
37 'dependencies': [ | |
38 '<(webrtc_root)/common.gyp:webrtc_common', | |
39 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers', | |
40 ], | |
41 'conditions': [ | |
42 ['enable_protobuf==1', { | |
43 'dependencies': [ | |
44 'ana_config_proto', | |
45 'ana_debug_dump_proto', | |
46 ], | |
47 'defines': ['WEBRTC_AUDIO_NETWORK_ADAPTOR_DEBUG_DUMP'], | |
48 }], | |
49 ], # conditions | |
50 }, | |
51 ], # targets | |
52 | |
53 'conditions': [ | |
54 ['enable_protobuf==1', { | |
55 'targets': [ | |
56 { 'target_name': 'ana_debug_dump_proto', | |
57 'type': 'static_library', | |
58 'sources': ['debug_dump.proto',], | |
59 'variables': { | |
60 'proto_in_dir': '.', | |
61 # Workaround to protect against gyp's pathname relativization when | |
62 # this file is included by modules.gyp. | |
63 'proto_out_protected': 'webrtc/modules/audio_coding/audio_network_ad
aptor', | |
64 'proto_out_dir': '<(proto_out_protected)', | |
65 }, | |
66 'includes': ['../../../build/protoc.gypi',], | |
67 }, | |
68 { 'target_name': 'ana_config_proto', | |
69 'type': 'static_library', | |
70 'sources': ['config.proto',], | |
71 'variables': { | |
72 'proto_in_dir': '.', | |
73 # Workaround to protect against gyp's pathname relativization when | |
74 # this file is included by modules.gyp. | |
75 'proto_out_protected': 'webrtc/modules/audio_coding/audio_network_ad
aptor', | |
76 'proto_out_dir': '<(proto_out_protected)', | |
77 }, | |
78 'includes': ['../../../build/protoc.gypi',], | |
79 }, | |
80 ], # targets | |
81 }], | |
82 ], # conditions | |
83 } | |
OLD | NEW |