2013-01-29 12:09:21 +00:00
|
|
|
# Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
|
|
|
|
|
#
|
|
|
|
|
# Use of this source code is governed by a BSD-style license
|
|
|
|
|
# that can be found in the LICENSE file in the root of the source
|
|
|
|
|
# tree. An additional intellectual property rights grant can be found
|
|
|
|
|
# in the file PATENTS. All contributing project authors may
|
|
|
|
|
# be found in the AUTHORS file in the root of the source tree.
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
'variables': {
|
2014-05-09 18:04:50 +00:00
|
|
|
'codecs': [
|
2015-06-10 13:45:08 -07:00
|
|
|
'cng',
|
|
|
|
|
'g711',
|
|
|
|
|
'pcm16b',
|
2013-01-29 12:09:21 +00:00
|
|
|
],
|
|
|
|
|
'neteq_defines': [],
|
|
|
|
|
'conditions': [
|
2016-01-18 06:38:32 -08:00
|
|
|
['include_ilbc==1', {
|
|
|
|
|
'codecs': ['ilbc',],
|
|
|
|
|
'neteq_defines': ['WEBRTC_CODEC_ILBC',],
|
|
|
|
|
}],
|
2013-01-29 12:09:21 +00:00
|
|
|
['include_opus==1', {
|
2014-05-09 18:04:50 +00:00
|
|
|
'codecs': ['webrtc_opus',],
|
2013-01-29 12:09:21 +00:00
|
|
|
'neteq_defines': ['WEBRTC_CODEC_OPUS',],
|
|
|
|
|
}],
|
2015-09-30 21:54:21 -07:00
|
|
|
['build_with_mozilla==0', {
|
|
|
|
|
'conditions': [
|
|
|
|
|
['target_arch=="arm"', {
|
|
|
|
|
'codecs': ['isac_fix',],
|
|
|
|
|
'neteq_defines': ['WEBRTC_CODEC_ISACFX',],
|
|
|
|
|
}, {
|
|
|
|
|
'codecs': ['isac',],
|
|
|
|
|
'neteq_defines': ['WEBRTC_CODEC_ISAC',],
|
|
|
|
|
}],
|
|
|
|
|
],
|
|
|
|
|
'codecs': ['g722',],
|
|
|
|
|
'neteq_defines': ['WEBRTC_CODEC_G722',],
|
|
|
|
|
}],
|
2013-01-29 12:09:21 +00:00
|
|
|
],
|
2014-05-09 18:04:50 +00:00
|
|
|
'neteq_dependencies': [
|
|
|
|
|
'<@(codecs)',
|
|
|
|
|
'<(webrtc_root)/common_audio/common_audio.gyp:common_audio',
|
2015-01-14 09:30:52 +00:00
|
|
|
'<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers',
|
2014-12-09 10:12:53 +00:00
|
|
|
'audio_decoder_interface',
|
2014-05-09 18:04:50 +00:00
|
|
|
],
|
2013-01-29 12:09:21 +00:00
|
|
|
},
|
|
|
|
|
'targets': [
|
|
|
|
|
{
|
2014-06-09 08:10:28 +00:00
|
|
|
'target_name': 'neteq',
|
2013-01-29 12:09:21 +00:00
|
|
|
'type': 'static_library',
|
|
|
|
|
'dependencies': [
|
|
|
|
|
'<@(neteq_dependencies)',
|
2015-02-26 13:59:22 +00:00
|
|
|
'<(webrtc_root)/common.gyp:webrtc_common',
|
2016-05-03 01:39:01 -07:00
|
|
|
'builtin_audio_decoder_factory',
|
|
|
|
|
'rent_a_codec',
|
2013-01-29 12:09:21 +00:00
|
|
|
],
|
|
|
|
|
'defines': [
|
|
|
|
|
'<@(neteq_defines)',
|
|
|
|
|
],
|
|
|
|
|
'sources': [
|
2015-10-29 11:31:02 +01:00
|
|
|
'include/neteq.h',
|
2013-01-29 12:09:21 +00:00
|
|
|
'accelerate.cc',
|
|
|
|
|
'accelerate.h',
|
2014-03-10 22:50:19 +00:00
|
|
|
'audio_classifier.cc',
|
|
|
|
|
'audio_classifier.h',
|
2013-01-29 12:09:21 +00:00
|
|
|
'audio_decoder_impl.cc',
|
|
|
|
|
'audio_decoder_impl.h',
|
|
|
|
|
'audio_multi_vector.cc',
|
|
|
|
|
'audio_multi_vector.h',
|
|
|
|
|
'audio_vector.cc',
|
|
|
|
|
'audio_vector.h',
|
|
|
|
|
'background_noise.cc',
|
|
|
|
|
'background_noise.h',
|
|
|
|
|
'buffer_level_filter.cc',
|
|
|
|
|
'buffer_level_filter.h',
|
|
|
|
|
'comfort_noise.cc',
|
|
|
|
|
'comfort_noise.h',
|
2016-05-02 01:50:30 -07:00
|
|
|
'cross_correlation.cc',
|
|
|
|
|
'cross_correlation.h',
|
2013-01-29 12:09:21 +00:00
|
|
|
'decision_logic.cc',
|
|
|
|
|
'decision_logic.h',
|
|
|
|
|
'decision_logic_fax.cc',
|
|
|
|
|
'decision_logic_fax.h',
|
|
|
|
|
'decision_logic_normal.cc',
|
|
|
|
|
'decision_logic_normal.h',
|
|
|
|
|
'decoder_database.cc',
|
|
|
|
|
'decoder_database.h',
|
|
|
|
|
'defines.h',
|
|
|
|
|
'delay_manager.cc',
|
|
|
|
|
'delay_manager.h',
|
|
|
|
|
'delay_peak_detector.cc',
|
|
|
|
|
'delay_peak_detector.h',
|
|
|
|
|
'dsp_helper.cc',
|
|
|
|
|
'dsp_helper.h',
|
|
|
|
|
'dtmf_buffer.cc',
|
|
|
|
|
'dtmf_buffer.h',
|
|
|
|
|
'dtmf_tone_generator.cc',
|
|
|
|
|
'dtmf_tone_generator.h',
|
|
|
|
|
'expand.cc',
|
|
|
|
|
'expand.h',
|
|
|
|
|
'merge.cc',
|
|
|
|
|
'merge.h',
|
2016-06-08 06:43:41 -07:00
|
|
|
'nack_tracker.h',
|
|
|
|
|
'nack_tracker.cc',
|
2013-01-29 12:09:21 +00:00
|
|
|
'neteq_impl.cc',
|
|
|
|
|
'neteq_impl.h',
|
|
|
|
|
'neteq.cc',
|
|
|
|
|
'statistics_calculator.cc',
|
|
|
|
|
'statistics_calculator.h',
|
|
|
|
|
'normal.cc',
|
|
|
|
|
'normal.h',
|
2016-04-26 07:45:16 -07:00
|
|
|
'packet.cc',
|
|
|
|
|
'packet.h',
|
2013-01-29 12:09:21 +00:00
|
|
|
'packet_buffer.cc',
|
|
|
|
|
'packet_buffer.h',
|
2016-09-22 02:06:28 -07:00
|
|
|
'red_payload_splitter.cc',
|
|
|
|
|
'red_payload_splitter.h',
|
2013-01-29 12:09:21 +00:00
|
|
|
'post_decode_vad.cc',
|
|
|
|
|
'post_decode_vad.h',
|
|
|
|
|
'preemptive_expand.cc',
|
|
|
|
|
'preemptive_expand.h',
|
|
|
|
|
'random_vector.cc',
|
|
|
|
|
'random_vector.h',
|
|
|
|
|
'rtcp.cc',
|
|
|
|
|
'rtcp.h',
|
|
|
|
|
'sync_buffer.cc',
|
|
|
|
|
'sync_buffer.h',
|
2016-04-22 13:21:43 -07:00
|
|
|
'tick_timer.cc',
|
|
|
|
|
'tick_timer.h',
|
2013-01-29 12:09:21 +00:00
|
|
|
'timestamp_scaler.cc',
|
|
|
|
|
'timestamp_scaler.h',
|
|
|
|
|
'time_stretch.cc',
|
|
|
|
|
'time_stretch.h',
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
], # targets
|
|
|
|
|
}
|