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.
|
|
|
|
|
|
|
|
|
|
{
|
2015-09-08 03:28:46 -07:00
|
|
|
'conditions': [
|
|
|
|
|
['enable_protobuf==1', {
|
|
|
|
|
'targets': [
|
|
|
|
|
{
|
|
|
|
|
'target_name': 'neteq_rtpplay',
|
|
|
|
|
'type': 'executable',
|
|
|
|
|
'dependencies': [
|
|
|
|
|
'<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
|
2016-05-26 05:56:03 -07:00
|
|
|
'<(webrtc_root)/test/test.gyp:test_support',
|
|
|
|
|
'<(webrtc_root)/system_wrappers/system_wrappers.gyp:metrics_default',
|
2015-09-08 03:28:46 -07:00
|
|
|
'neteq',
|
|
|
|
|
'neteq_unittest_tools',
|
|
|
|
|
],
|
|
|
|
|
'sources': [
|
|
|
|
|
'tools/neteq_rtpplay.cc',
|
|
|
|
|
],
|
|
|
|
|
'defines': [
|
|
|
|
|
],
|
|
|
|
|
}, # neteq_rtpplay
|
2013-01-29 12:09:21 +00:00
|
|
|
],
|
2015-09-08 03:28:46 -07:00
|
|
|
}],
|
|
|
|
|
],
|
|
|
|
|
'targets': [
|
2013-01-29 12:09:21 +00:00
|
|
|
{
|
|
|
|
|
'target_name': 'RTPencode',
|
|
|
|
|
'type': 'executable',
|
|
|
|
|
'dependencies': [
|
|
|
|
|
# TODO(hlundin): Make RTPencode use ACM to encode files.
|
2013-04-30 23:43:26 +00:00
|
|
|
'<(webrtc_root)/common_audio/common_audio.gyp:common_audio',
|
2015-06-10 13:45:08 -07:00
|
|
|
'cng',
|
|
|
|
|
'g711',
|
|
|
|
|
'g722',
|
|
|
|
|
'ilbc',
|
|
|
|
|
'isac',
|
|
|
|
|
'neteq_test_tools', # Test helpers
|
|
|
|
|
'pcm16b',
|
2015-12-11 01:58:26 -08:00
|
|
|
'webrtc_opus',
|
2013-01-29 12:09:21 +00:00
|
|
|
],
|
|
|
|
|
'defines': [
|
|
|
|
|
'CODEC_ILBC',
|
|
|
|
|
'CODEC_PCM16B',
|
|
|
|
|
'CODEC_G711',
|
|
|
|
|
'CODEC_G722',
|
|
|
|
|
'CODEC_ISAC',
|
|
|
|
|
'CODEC_PCM16B_WB',
|
|
|
|
|
'CODEC_ISAC_SWB',
|
|
|
|
|
'CODEC_PCM16B_32KHZ',
|
2014-04-11 18:47:55 +00:00
|
|
|
'CODEC_PCM16B_48KHZ',
|
2013-01-29 12:09:21 +00:00
|
|
|
'CODEC_CNGCODEC8',
|
|
|
|
|
'CODEC_CNGCODEC16',
|
|
|
|
|
'CODEC_CNGCODEC32',
|
|
|
|
|
'CODEC_ATEVENT_DECODE',
|
|
|
|
|
'CODEC_RED',
|
2015-12-11 01:58:26 -08:00
|
|
|
'CODEC_OPUS',
|
2013-01-29 12:09:21 +00:00
|
|
|
],
|
|
|
|
|
'include_dirs': [
|
2015-10-29 11:31:02 +01:00
|
|
|
'include',
|
2013-01-29 12:09:21 +00:00
|
|
|
'test',
|
2013-11-11 10:20:27 +00:00
|
|
|
'<(webrtc_root)',
|
2013-01-29 12:09:21 +00:00
|
|
|
],
|
|
|
|
|
'sources': [
|
|
|
|
|
'test/RTPencode.cc',
|
|
|
|
|
],
|
2013-02-04 10:07:17 +00:00
|
|
|
# Disable warnings to enable Win64 build, issue 1323.
|
|
|
|
|
'msvs_disabled_warnings': [
|
|
|
|
|
4267, # size_t to int truncation.
|
|
|
|
|
],
|
2013-01-29 12:09:21 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
'target_name': 'RTPjitter',
|
|
|
|
|
'type': 'executable',
|
|
|
|
|
'dependencies': [
|
2016-08-03 01:17:25 -07:00
|
|
|
'<(webrtc_root)/common.gyp:webrtc_common',
|
2013-01-29 12:09:21 +00:00
|
|
|
'<(DEPTH)/testing/gtest.gyp:gtest',
|
|
|
|
|
],
|
|
|
|
|
'sources': [
|
|
|
|
|
'test/RTPjitter.cc',
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
{
|
2014-04-02 20:56:17 +00:00
|
|
|
'target_name': 'rtp_analyze',
|
2013-01-29 12:09:21 +00:00
|
|
|
'type': 'executable',
|
|
|
|
|
'dependencies': [
|
|
|
|
|
'<(DEPTH)/testing/gtest.gyp:gtest',
|
2014-04-02 20:56:17 +00:00
|
|
|
'<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
|
2015-01-14 09:30:52 +00:00
|
|
|
'<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers_default',
|
2015-06-10 13:45:08 -07:00
|
|
|
'neteq_unittest_tools',
|
2013-01-29 12:09:21 +00:00
|
|
|
],
|
|
|
|
|
'sources': [
|
2014-04-02 20:56:17 +00:00
|
|
|
'tools/rtp_analyze.cc',
|
2013-01-29 12:09:21 +00:00
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
'target_name': 'RTPchange',
|
|
|
|
|
'type': 'executable',
|
|
|
|
|
'dependencies': [
|
|
|
|
|
'<(DEPTH)/testing/gtest.gyp:gtest',
|
2015-06-10 13:45:08 -07:00
|
|
|
'neteq_test_tools',
|
2013-01-29 12:09:21 +00:00
|
|
|
],
|
|
|
|
|
'sources': [
|
|
|
|
|
'test/RTPchange.cc',
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
'target_name': 'RTPtimeshift',
|
|
|
|
|
'type': 'executable',
|
|
|
|
|
'dependencies': [
|
|
|
|
|
'<(DEPTH)/testing/gtest.gyp:gtest',
|
2015-06-10 13:45:08 -07:00
|
|
|
'neteq_test_tools',
|
2013-01-29 12:09:21 +00:00
|
|
|
],
|
|
|
|
|
'sources': [
|
|
|
|
|
'test/RTPtimeshift.cc',
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
{
|
2014-12-01 14:23:01 +00:00
|
|
|
'target_name': 'rtpcat',
|
2013-01-29 12:09:21 +00:00
|
|
|
'type': 'executable',
|
|
|
|
|
'dependencies': [
|
|
|
|
|
'<(DEPTH)/testing/gtest.gyp:gtest',
|
2014-12-01 11:25:04 +00:00
|
|
|
'<(webrtc_root)/test/test.gyp:rtp_test_utils',
|
2016-08-02 04:27:25 -07:00
|
|
|
'<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers_default',
|
2013-01-29 12:09:21 +00:00
|
|
|
],
|
|
|
|
|
'sources': [
|
2014-12-01 14:23:01 +00:00
|
|
|
'tools/rtpcat.cc',
|
2013-01-29 12:09:21 +00:00
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
|
2014-03-10 22:50:19 +00:00
|
|
|
{
|
|
|
|
|
'target_name': 'audio_classifier_test',
|
|
|
|
|
'type': 'executable',
|
|
|
|
|
'dependencies': [
|
2014-06-09 08:10:28 +00:00
|
|
|
'neteq',
|
2015-03-03 09:28:26 +00:00
|
|
|
'webrtc_opus',
|
2016-08-10 04:41:14 -07:00
|
|
|
'<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers_default',
|
2014-03-10 22:50:19 +00:00
|
|
|
],
|
|
|
|
|
'sources': [
|
|
|
|
|
'test/audio_classifier_test.cc',
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
|
2014-04-24 13:19:04 +00:00
|
|
|
{
|
|
|
|
|
'target_name': 'neteq_test_support',
|
|
|
|
|
'type': 'static_library',
|
|
|
|
|
'dependencies': [
|
|
|
|
|
'<(DEPTH)/testing/gtest.gyp:gtest',
|
|
|
|
|
'<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
|
2015-06-10 13:45:08 -07:00
|
|
|
'neteq',
|
|
|
|
|
'neteq_unittest_tools',
|
|
|
|
|
'pcm16b',
|
2014-04-24 13:19:04 +00:00
|
|
|
],
|
|
|
|
|
'sources': [
|
2015-02-17 10:17:09 +00:00
|
|
|
'tools/neteq_external_decoder_test.cc',
|
|
|
|
|
'tools/neteq_external_decoder_test.h',
|
2014-04-24 13:19:04 +00:00
|
|
|
'tools/neteq_performance_test.cc',
|
|
|
|
|
'tools/neteq_performance_test.h',
|
|
|
|
|
'tools/neteq_quality_test.cc',
|
|
|
|
|
'tools/neteq_quality_test.h',
|
|
|
|
|
],
|
|
|
|
|
}, # neteq_test_support
|
|
|
|
|
|
2013-09-17 08:38:02 +00:00
|
|
|
{
|
2014-06-09 08:10:28 +00:00
|
|
|
'target_name': 'neteq_speed_test',
|
2013-09-17 08:38:02 +00:00
|
|
|
'type': 'executable',
|
|
|
|
|
'dependencies': [
|
|
|
|
|
'<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
|
2016-08-10 04:16:36 -07:00
|
|
|
'<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers_default',
|
|
|
|
|
'<(webrtc_root)/test/test.gyp:test_support',
|
2015-06-10 13:45:08 -07:00
|
|
|
'neteq',
|
|
|
|
|
'neteq_test_support',
|
2013-09-17 08:38:02 +00:00
|
|
|
],
|
|
|
|
|
'sources': [
|
|
|
|
|
'test/neteq_speed_test.cc',
|
|
|
|
|
],
|
|
|
|
|
},
|
2013-01-29 12:09:21 +00:00
|
|
|
|
2014-03-21 12:07:40 +00:00
|
|
|
{
|
2015-03-18 20:43:40 +00:00
|
|
|
'target_name': 'neteq_opus_quality_test',
|
2014-03-21 12:07:40 +00:00
|
|
|
'type': 'executable',
|
|
|
|
|
'dependencies': [
|
|
|
|
|
'<(DEPTH)/testing/gtest.gyp:gtest',
|
|
|
|
|
'<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
|
|
|
|
|
'<(webrtc_root)/test/test.gyp:test_support_main',
|
2015-06-10 13:45:08 -07:00
|
|
|
'neteq',
|
|
|
|
|
'neteq_test_support',
|
|
|
|
|
'webrtc_opus',
|
2014-03-21 12:07:40 +00:00
|
|
|
],
|
|
|
|
|
'sources': [
|
2015-03-18 20:43:40 +00:00
|
|
|
'test/neteq_opus_quality_test.cc',
|
2014-03-21 12:07:40 +00:00
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
|
2014-06-25 12:17:41 +00:00
|
|
|
{
|
|
|
|
|
'target_name': 'neteq_isac_quality_test',
|
|
|
|
|
'type': 'executable',
|
|
|
|
|
'dependencies': [
|
|
|
|
|
'<(DEPTH)/testing/gtest.gyp:gtest',
|
|
|
|
|
'<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
|
|
|
|
|
'<(webrtc_root)/test/test.gyp:test_support_main',
|
2015-06-10 13:45:08 -07:00
|
|
|
'isac_fix',
|
|
|
|
|
'neteq',
|
|
|
|
|
'neteq_test_support',
|
2014-06-25 12:17:41 +00:00
|
|
|
],
|
|
|
|
|
'sources': [
|
|
|
|
|
'test/neteq_isac_quality_test.cc',
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
|
2015-05-12 12:09:59 +02:00
|
|
|
{
|
|
|
|
|
'target_name': 'neteq_pcmu_quality_test',
|
|
|
|
|
'type': 'executable',
|
|
|
|
|
'dependencies': [
|
|
|
|
|
'<(DEPTH)/testing/gtest.gyp:gtest',
|
|
|
|
|
'<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
|
|
|
|
|
'<(webrtc_root)/test/test.gyp:test_support_main',
|
2015-06-10 13:45:08 -07:00
|
|
|
'g711',
|
|
|
|
|
'neteq',
|
|
|
|
|
'neteq_test_support',
|
2015-05-12 12:09:59 +02:00
|
|
|
],
|
|
|
|
|
'sources': [
|
|
|
|
|
'test/neteq_pcmu_quality_test.cc',
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
|
2015-05-12 15:04:34 +02:00
|
|
|
{
|
|
|
|
|
'target_name': 'neteq_ilbc_quality_test',
|
|
|
|
|
'type': 'executable',
|
|
|
|
|
'dependencies': [
|
|
|
|
|
'<(DEPTH)/testing/gtest.gyp:gtest',
|
|
|
|
|
'<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
|
2016-08-10 04:55:20 -07:00
|
|
|
'<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers_default',
|
2015-05-12 15:04:34 +02:00
|
|
|
'<(webrtc_root)/test/test.gyp:test_support_main',
|
2015-06-10 13:45:08 -07:00
|
|
|
'neteq',
|
|
|
|
|
'neteq_test_support',
|
|
|
|
|
'ilbc',
|
2015-05-12 15:04:34 +02:00
|
|
|
],
|
|
|
|
|
'sources': [
|
|
|
|
|
'test/neteq_ilbc_quality_test.cc',
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
|
2013-01-29 12:09:21 +00:00
|
|
|
{
|
2014-06-09 08:10:28 +00:00
|
|
|
'target_name': 'neteq_test_tools',
|
2013-01-29 12:09:21 +00:00
|
|
|
# Collection of useful functions used in other tests.
|
|
|
|
|
'type': 'static_library',
|
|
|
|
|
'variables': {
|
|
|
|
|
# Expects RTP packets without payloads when enabled.
|
|
|
|
|
'neteq_dummy_rtp%': 0,
|
|
|
|
|
},
|
|
|
|
|
'dependencies': [
|
|
|
|
|
'<(DEPTH)/testing/gtest.gyp:gtest',
|
2015-06-10 13:45:08 -07:00
|
|
|
'<(webrtc_root)/common.gyp:webrtc_common',
|
|
|
|
|
'cng',
|
|
|
|
|
'g711',
|
|
|
|
|
'g722',
|
|
|
|
|
'ilbc',
|
|
|
|
|
'isac',
|
|
|
|
|
'pcm16b',
|
2013-01-29 12:09:21 +00:00
|
|
|
],
|
|
|
|
|
'direct_dependent_settings': {
|
|
|
|
|
'include_dirs': [
|
2015-10-29 11:31:02 +01:00
|
|
|
'include',
|
2013-01-29 12:09:21 +00:00
|
|
|
'test',
|
2013-11-11 10:20:27 +00:00
|
|
|
'<(webrtc_root)',
|
2013-01-29 12:09:21 +00:00
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
'defines': [
|
|
|
|
|
],
|
|
|
|
|
'include_dirs': [
|
2015-10-29 11:31:02 +01:00
|
|
|
'include',
|
2013-01-29 12:09:21 +00:00
|
|
|
'test',
|
2013-11-11 10:20:27 +00:00
|
|
|
'<(webrtc_root)',
|
2013-01-29 12:09:21 +00:00
|
|
|
],
|
|
|
|
|
'sources': [
|
|
|
|
|
'test/NETEQTEST_DummyRTPpacket.cc',
|
|
|
|
|
'test/NETEQTEST_DummyRTPpacket.h',
|
|
|
|
|
'test/NETEQTEST_RTPpacket.cc',
|
|
|
|
|
'test/NETEQTEST_RTPpacket.h',
|
|
|
|
|
],
|
2013-02-04 10:07:17 +00:00
|
|
|
# Disable warnings to enable Win64 build, issue 1323.
|
|
|
|
|
'msvs_disabled_warnings': [
|
|
|
|
|
4267, # size_t to int truncation.
|
|
|
|
|
],
|
2013-01-29 12:09:21 +00:00
|
|
|
},
|
|
|
|
|
], # targets
|
|
|
|
|
}
|