blob: 90aaaed9c2d5ca94836c1e19427a7c095f92dfc8 [file] [log] [blame]
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +00001# 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': {
turaj@webrtc.org17bf9a22014-05-09 18:04:50 +000011 'codecs': [
Zeke Chin786dbdc2015-06-10 13:45:08 -070012 'cng',
13 'g711',
Zeke Chin786dbdc2015-06-10 13:45:08 -070014 'pcm16b',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +000015 ],
16 'neteq_defines': [],
17 'conditions': [
kwibergf8c2bac2016-01-18 06:38:32 -080018 ['include_ilbc==1', {
19 'codecs': ['ilbc',],
20 'neteq_defines': ['WEBRTC_CODEC_ILBC',],
21 }],
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +000022 ['include_opus==1', {
turaj@webrtc.org17bf9a22014-05-09 18:04:50 +000023 'codecs': ['webrtc_opus',],
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +000024 'neteq_defines': ['WEBRTC_CODEC_OPUS',],
25 }],
kwiberg98ab3a42015-09-30 21:54:21 -070026 ['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 }],
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +000039 ],
turaj@webrtc.org17bf9a22014-05-09 18:04:50 +000040 'neteq_dependencies': [
41 '<@(codecs)',
turaj@webrtc.org17bf9a22014-05-09 18:04:50 +000042 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio',
andresp@webrtc.org86e1e482015-01-14 09:30:52 +000043 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers',
kwiberg@webrtc.orge04a93b2014-12-09 10:12:53 +000044 'audio_decoder_interface',
turaj@webrtc.org17bf9a22014-05-09 18:04:50 +000045 ],
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +000046 },
47 'targets': [
48 {
henrik.lundin@webrtc.org9c55f0f2014-06-09 08:10:28 +000049 'target_name': 'neteq',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +000050 'type': 'static_library',
51 'dependencies': [
52 '<@(neteq_dependencies)',
kwiberg@webrtc.orgac2d27d2015-02-26 13:59:22 +000053 '<(webrtc_root)/common.gyp:webrtc_common',
kwiberg5178ee82016-05-03 01:39:01 -070054 'builtin_audio_decoder_factory',
55 'rent_a_codec',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +000056 ],
57 'defines': [
58 '<@(neteq_defines)',
59 ],
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +000060 'sources': [
Henrik Kjellander74640892015-10-29 11:31:02 +010061 'include/neteq.h',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +000062 'accelerate.cc',
63 'accelerate.h',
jan.skoglund@webrtc.orgc3d13d32014-03-10 22:50:19 +000064 'audio_classifier.cc',
65 'audio_classifier.h',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +000066 'audio_decoder_impl.cc',
67 'audio_decoder_impl.h',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +000068 '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',
minyue53ff70f2016-05-02 01:50:30 -070078 'cross_correlation.cc',
79 'cross_correlation.h',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +000080 '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',
henrik.lundin91951862016-06-08 06:43:41 -0700103 'nack_tracker.h',
104 'nack_tracker.cc',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +0000105 'neteq_impl.cc',
106 'neteq_impl.h',
107 'neteq.cc',
108 'statistics_calculator.cc',
109 'statistics_calculator.h',
110 'normal.cc',
111 'normal.h',
henrik.lundin84f8cd62016-04-26 07:45:16 -0700112 'packet.cc',
113 'packet.h',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +0000114 'packet_buffer.cc',
115 'packet_buffer.h',
ossua70695a2016-09-22 02:06:28 -0700116 'red_payload_splitter.cc',
117 'red_payload_splitter.h',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +0000118 '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',
henrik.lundin8053f792016-04-22 13:21:43 -0700128 'tick_timer.cc',
129 'tick_timer.h',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +0000130 'timestamp_scaler.cc',
131 'timestamp_scaler.h',
132 'time_stretch.cc',
133 'time_stretch.h',
134 ],
135 },
136 ], # targets
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +0000137}