OLD | NEW |
| (Empty) |
1 # Copyright (c) 2012 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 'variables': { | |
11 'codecs': [ | |
12 'cng', | |
13 'g711', | |
14 'pcm16b', | |
15 ], | |
16 'neteq_defines': [], | |
17 'conditions': [ | |
18 ['include_ilbc==1', { | |
19 'codecs': ['ilbc',], | |
20 'neteq_defines': ['WEBRTC_CODEC_ILBC',], | |
21 }], | |
22 ['include_opus==1', { | |
23 'codecs': ['webrtc_opus',], | |
24 'neteq_defines': ['WEBRTC_CODEC_OPUS',], | |
25 }], | |
26 ['build_with_mozilla==0', { | |
27 'conditions': [ | |
28 ['target_arch=="arm"', { | |
29 'codecs': ['isac_fix',], | |
30 'neteq_defines': ['WEBRTC_CODEC_ISACFX',], | |
31 }, { | |
32 'codecs': ['isac',], | |
33 'neteq_defines': ['WEBRTC_CODEC_ISAC',], | |
34 }], | |
35 ], | |
36 'codecs': ['g722',], | |
37 'neteq_defines': ['WEBRTC_CODEC_G722',], | |
38 }], | |
39 ], | |
40 'neteq_dependencies': [ | |
41 '<@(codecs)', | |
42 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio', | |
43 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers', | |
44 'audio_decoder_interface', | |
45 ], | |
46 }, | |
47 'targets': [ | |
48 { | |
49 'target_name': 'neteq', | |
50 'type': 'static_library', | |
51 'dependencies': [ | |
52 '<@(neteq_dependencies)', | |
53 '<(webrtc_root)/common.gyp:webrtc_common', | |
54 'builtin_audio_decoder_factory', | |
55 'rent_a_codec', | |
56 ], | |
57 'defines': [ | |
58 '<@(neteq_defines)', | |
59 ], | |
60 'sources': [ | |
61 'include/neteq.h', | |
62 'accelerate.cc', | |
63 'accelerate.h', | |
64 'audio_classifier.cc', | |
65 'audio_classifier.h', | |
66 'audio_decoder_impl.cc', | |
67 'audio_decoder_impl.h', | |
68 'audio_multi_vector.cc', | |
69 'audio_multi_vector.h', | |
70 'audio_vector.cc', | |
71 'audio_vector.h', | |
72 'background_noise.cc', | |
73 'background_noise.h', | |
74 'buffer_level_filter.cc', | |
75 'buffer_level_filter.h', | |
76 'comfort_noise.cc', | |
77 'comfort_noise.h', | |
78 'cross_correlation.cc', | |
79 'cross_correlation.h', | |
80 'decision_logic.cc', | |
81 'decision_logic.h', | |
82 'decision_logic_fax.cc', | |
83 'decision_logic_fax.h', | |
84 'decision_logic_normal.cc', | |
85 'decision_logic_normal.h', | |
86 'decoder_database.cc', | |
87 'decoder_database.h', | |
88 'defines.h', | |
89 'delay_manager.cc', | |
90 'delay_manager.h', | |
91 'delay_peak_detector.cc', | |
92 'delay_peak_detector.h', | |
93 'dsp_helper.cc', | |
94 'dsp_helper.h', | |
95 'dtmf_buffer.cc', | |
96 'dtmf_buffer.h', | |
97 'dtmf_tone_generator.cc', | |
98 'dtmf_tone_generator.h', | |
99 'expand.cc', | |
100 'expand.h', | |
101 'merge.cc', | |
102 'merge.h', | |
103 'nack_tracker.h', | |
104 'nack_tracker.cc', | |
105 'neteq_impl.cc', | |
106 'neteq_impl.h', | |
107 'neteq.cc', | |
108 'statistics_calculator.cc', | |
109 'statistics_calculator.h', | |
110 'normal.cc', | |
111 'normal.h', | |
112 'packet.cc', | |
113 'packet.h', | |
114 'packet_buffer.cc', | |
115 'packet_buffer.h', | |
116 'red_payload_splitter.cc', | |
117 'red_payload_splitter.h', | |
118 'post_decode_vad.cc', | |
119 'post_decode_vad.h', | |
120 'preemptive_expand.cc', | |
121 'preemptive_expand.h', | |
122 'random_vector.cc', | |
123 'random_vector.h', | |
124 'rtcp.cc', | |
125 'rtcp.h', | |
126 'sync_buffer.cc', | |
127 'sync_buffer.h', | |
128 'tick_timer.cc', | |
129 'tick_timer.h', | |
130 'timestamp_scaler.cc', | |
131 'timestamp_scaler.h', | |
132 'time_stretch.cc', | |
133 'time_stretch.h', | |
134 ], | |
135 }, | |
136 ], # targets | |
137 } | |
OLD | NEW |