2013-10-28 16:32:01 +00:00
|
|
|
# Copyright (c) 2013 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.
|
|
|
|
|
{
|
|
|
|
|
'targets': [
|
2014-09-10 17:28:19 +00:00
|
|
|
{
|
|
|
|
|
'target_name': 'rtc_unittests',
|
|
|
|
|
'type': 'executable',
|
|
|
|
|
'dependencies': [
|
|
|
|
|
'base/base.gyp:rtc_base',
|
|
|
|
|
'base/base_tests.gyp:rtc_base_tests_utils',
|
|
|
|
|
'base/base_tests.gyp:rtc_base_tests',
|
2014-10-02 18:43:47 +00:00
|
|
|
'libjingle/xmllite/xmllite.gyp:rtc_xmllite',
|
2014-10-28 22:20:11 +00:00
|
|
|
'libjingle/xmpp/xmpp.gyp:rtc_xmpp',
|
|
|
|
|
'p2p/p2p.gyp:rtc_p2p',
|
|
|
|
|
'rtc_p2p_unittest',
|
2014-10-01 16:33:03 +00:00
|
|
|
'rtc_sound_tests',
|
2014-10-02 18:43:47 +00:00
|
|
|
'rtc_xmllite_unittest',
|
2014-10-28 22:20:11 +00:00
|
|
|
'rtc_xmpp_unittest',
|
2014-09-30 14:21:10 +00:00
|
|
|
'sound/sound.gyp:rtc_sound',
|
2014-09-10 17:28:19 +00:00
|
|
|
'<(DEPTH)/testing/gtest.gyp:gtest',
|
|
|
|
|
],
|
|
|
|
|
},
|
2013-10-28 16:32:01 +00:00
|
|
|
{
|
|
|
|
|
'target_name': 'webrtc_tests',
|
|
|
|
|
'type': 'none',
|
|
|
|
|
'dependencies': [
|
|
|
|
|
'video_engine_tests',
|
|
|
|
|
'video_loopback',
|
2014-08-06 16:26:56 +00:00
|
|
|
'video_replay',
|
2013-12-13 12:48:05 +00:00
|
|
|
'webrtc_perf_tests',
|
2013-10-28 16:32:01 +00:00
|
|
|
],
|
|
|
|
|
},
|
2015-02-18 12:46:06 +00:00
|
|
|
{
|
|
|
|
|
'target_name': 'loopback_base',
|
|
|
|
|
'type': 'static_library',
|
|
|
|
|
'sources': [
|
|
|
|
|
'video/loopback.cc',
|
|
|
|
|
'video/loopback.h',
|
|
|
|
|
],
|
|
|
|
|
'dependencies': [
|
|
|
|
|
'<(DEPTH)/testing/gtest.gyp:gtest',
|
|
|
|
|
'<(webrtc_root)/modules/modules.gyp:video_capture_module_internal_impl',
|
|
|
|
|
'<(webrtc_root)/modules/modules.gyp:video_render',
|
|
|
|
|
'<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers',
|
|
|
|
|
'webrtc',
|
|
|
|
|
],
|
|
|
|
|
},
|
2013-10-28 16:32:01 +00:00
|
|
|
{
|
|
|
|
|
'target_name': 'video_loopback',
|
|
|
|
|
'type': 'executable',
|
|
|
|
|
'sources': [
|
2014-06-05 09:32:51 +00:00
|
|
|
'test/mac/run_test.mm',
|
|
|
|
|
'test/run_test.cc',
|
|
|
|
|
'test/run_test.h',
|
2015-02-18 12:46:06 +00:00
|
|
|
'video/video_loopback.cc',
|
2013-10-28 16:32:01 +00:00
|
|
|
],
|
2014-06-05 09:32:51 +00:00
|
|
|
'conditions': [
|
|
|
|
|
['OS=="mac"', {
|
|
|
|
|
'sources!': [
|
|
|
|
|
'test/run_test.cc',
|
|
|
|
|
],
|
|
|
|
|
}],
|
|
|
|
|
],
|
2013-10-28 16:32:01 +00:00
|
|
|
'dependencies': [
|
2015-02-18 12:46:06 +00:00
|
|
|
'loopback_base',
|
|
|
|
|
'<(DEPTH)/testing/gtest.gyp:gtest',
|
|
|
|
|
'<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
|
|
|
|
|
'test/webrtc_test_common.gyp:webrtc_test_common',
|
|
|
|
|
'test/webrtc_test_common.gyp:webrtc_test_renderer',
|
|
|
|
|
'test/test.gyp:test_main',
|
|
|
|
|
'webrtc',
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
'target_name': 'screenshare_loopback',
|
|
|
|
|
'type': 'executable',
|
|
|
|
|
'sources': [
|
|
|
|
|
'test/mac/run_test.mm',
|
|
|
|
|
'test/run_test.cc',
|
|
|
|
|
'test/run_test.h',
|
|
|
|
|
'video/screenshare_loopback.cc',
|
|
|
|
|
],
|
|
|
|
|
'conditions': [
|
|
|
|
|
['OS=="mac"', {
|
|
|
|
|
'sources!': [
|
|
|
|
|
'test/run_test.cc',
|
|
|
|
|
],
|
|
|
|
|
}],
|
|
|
|
|
],
|
|
|
|
|
'dependencies': [
|
|
|
|
|
'loopback_base',
|
2013-10-28 16:32:01 +00:00
|
|
|
'<(DEPTH)/testing/gtest.gyp:gtest',
|
2014-05-13 11:26:40 +00:00
|
|
|
'<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
|
2013-10-28 16:32:01 +00:00
|
|
|
'test/webrtc_test_common.gyp:webrtc_test_common',
|
2014-06-05 09:32:51 +00:00
|
|
|
'test/webrtc_test_common.gyp:webrtc_test_renderer',
|
2014-11-04 14:57:14 +00:00
|
|
|
'test/test.gyp:test_main',
|
2013-10-28 16:32:01 +00:00
|
|
|
'webrtc',
|
|
|
|
|
],
|
|
|
|
|
},
|
2014-08-06 16:26:56 +00:00
|
|
|
{
|
|
|
|
|
'target_name': 'video_replay',
|
|
|
|
|
'type': 'executable',
|
|
|
|
|
'sources': [
|
|
|
|
|
'test/mac/run_test.mm',
|
|
|
|
|
'test/run_test.cc',
|
|
|
|
|
'test/run_test.h',
|
|
|
|
|
'video/replay.cc',
|
|
|
|
|
],
|
|
|
|
|
'conditions': [
|
|
|
|
|
['OS=="mac"', {
|
|
|
|
|
'sources!': [
|
|
|
|
|
'test/run_test.cc',
|
|
|
|
|
],
|
|
|
|
|
}],
|
|
|
|
|
],
|
|
|
|
|
'dependencies': [
|
|
|
|
|
'<(DEPTH)/testing/gtest.gyp:gtest',
|
|
|
|
|
'<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
|
|
|
|
|
'test/webrtc_test_common.gyp:webrtc_test_common',
|
|
|
|
|
'test/webrtc_test_common.gyp:webrtc_test_renderer',
|
2015-02-11 07:47:00 +00:00
|
|
|
'<(webrtc_root)/modules/modules.gyp:video_capture',
|
|
|
|
|
'<(webrtc_root)/modules/modules.gyp:video_render',
|
2015-01-14 09:30:52 +00:00
|
|
|
'<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers_default',
|
2014-08-06 16:26:56 +00:00
|
|
|
'webrtc',
|
|
|
|
|
],
|
|
|
|
|
},
|
2013-10-28 16:32:01 +00:00
|
|
|
{
|
2014-12-16 14:48:47 +00:00
|
|
|
# TODO(pbos): Rename target to webrtc_tests or rtc_tests, this target is
|
|
|
|
|
# not meant to only include video.
|
2013-10-28 16:32:01 +00:00
|
|
|
'target_name': 'video_engine_tests',
|
|
|
|
|
'type': '<(gtest_target_type)',
|
|
|
|
|
'sources': [
|
2015-01-29 14:29:45 +00:00
|
|
|
'test/common_unittest.cc',
|
|
|
|
|
'test/testsupport/metrics/video_metrics_unittest.cc',
|
|
|
|
|
'tools/agc/agc_manager_unittest.cc',
|
2013-12-16 12:24:44 +00:00
|
|
|
'video/bitrate_estimator_tests.cc',
|
2014-06-27 08:47:52 +00:00
|
|
|
'video/end_to_end_tests.cc',
|
2014-01-07 09:54:34 +00:00
|
|
|
'video/send_statistics_proxy_unittest.cc',
|
2013-10-28 16:32:01 +00:00
|
|
|
'video/video_send_stream_tests.cc',
|
|
|
|
|
],
|
|
|
|
|
'dependencies': [
|
2014-12-16 14:48:47 +00:00
|
|
|
'<(DEPTH)/testing/gmock.gyp:gmock',
|
2013-10-28 16:32:01 +00:00
|
|
|
'<(DEPTH)/testing/gtest.gyp:gtest',
|
2015-02-26 13:59:22 +00:00
|
|
|
'<(webrtc_root)/common.gyp:webrtc_common',
|
2014-09-18 08:58:15 +00:00
|
|
|
'<(webrtc_root)/modules/modules.gyp:rtp_rtcp',
|
2015-02-11 07:47:00 +00:00
|
|
|
'<(webrtc_root)/modules/modules.gyp:video_capture',
|
|
|
|
|
'<(webrtc_root)/modules/modules.gyp:video_render',
|
2014-12-16 14:48:47 +00:00
|
|
|
'<(webrtc_root)/test/test.gyp:channel_transport',
|
|
|
|
|
'<(webrtc_root)/voice_engine/voice_engine.gyp:voice_engine',
|
2013-12-13 14:31:47 +00:00
|
|
|
'test/metrics.gyp:metrics',
|
2014-05-14 12:24:04 +00:00
|
|
|
'test/test.gyp:test_main',
|
2014-12-16 14:48:47 +00:00
|
|
|
'test/webrtc_test_common.gyp:webrtc_test_common',
|
|
|
|
|
'tools/tools.gyp:agc_manager',
|
2013-10-28 16:32:01 +00:00
|
|
|
'webrtc',
|
|
|
|
|
],
|
2014-05-27 18:44:59 +00:00
|
|
|
'conditions': [
|
2014-09-02 08:40:39 +00:00
|
|
|
['OS=="android"', {
|
2014-05-27 18:44:59 +00:00
|
|
|
'dependencies': [
|
|
|
|
|
'<(DEPTH)/testing/android/native_test.gyp:native_test_native_code',
|
|
|
|
|
],
|
|
|
|
|
}],
|
|
|
|
|
],
|
2013-10-28 16:32:01 +00:00
|
|
|
},
|
2013-12-13 12:48:05 +00:00
|
|
|
{
|
|
|
|
|
'target_name': 'webrtc_perf_tests',
|
|
|
|
|
'type': '<(gtest_target_type)',
|
|
|
|
|
'sources': [
|
2014-06-09 08:10:28 +00:00
|
|
|
'modules/audio_coding/neteq/test/neteq_performance_unittest.cc',
|
2015-01-29 14:29:45 +00:00
|
|
|
'tools/agc/agc_manager_integrationtest.cc',
|
2013-12-13 12:48:05 +00:00
|
|
|
'video/call_perf_tests.cc',
|
|
|
|
|
'video/full_stack.cc',
|
|
|
|
|
'video/rampup_tests.cc',
|
2014-07-08 13:59:46 +00:00
|
|
|
'video/rampup_tests.h',
|
2013-12-13 12:48:05 +00:00
|
|
|
],
|
|
|
|
|
'dependencies': [
|
2014-12-16 14:48:47 +00:00
|
|
|
'<(DEPTH)/testing/gmock.gyp:gmock',
|
2013-12-13 12:48:05 +00:00
|
|
|
'<(DEPTH)/testing/gtest.gyp:gtest',
|
2015-02-11 07:47:00 +00:00
|
|
|
'<(webrtc_root)/modules/modules.gyp:video_capture',
|
2014-12-16 14:48:47 +00:00
|
|
|
'<(webrtc_root)/test/test.gyp:channel_transport',
|
|
|
|
|
'<(webrtc_root)/voice_engine/voice_engine.gyp:voice_engine',
|
2014-04-24 13:19:04 +00:00
|
|
|
'modules/modules.gyp:neteq_test_support', # Needed by neteq_performance_unittest.
|
2013-12-13 12:48:05 +00:00
|
|
|
'modules/modules.gyp:rtp_rtcp',
|
2014-05-14 12:24:04 +00:00
|
|
|
'test/test.gyp:test_main',
|
2014-12-16 14:48:47 +00:00
|
|
|
'test/webrtc_test_common.gyp:webrtc_test_common',
|
|
|
|
|
'tools/tools.gyp:agc_manager',
|
2013-12-13 12:48:05 +00:00
|
|
|
'webrtc',
|
|
|
|
|
],
|
2014-05-30 12:42:10 +00:00
|
|
|
'conditions': [
|
2014-09-01 11:06:37 +00:00
|
|
|
['OS=="android"', {
|
2014-05-30 12:42:10 +00:00
|
|
|
'dependencies': [
|
|
|
|
|
'<(DEPTH)/testing/android/native_test.gyp:native_test_native_code',
|
|
|
|
|
],
|
|
|
|
|
}],
|
|
|
|
|
],
|
2013-12-13 12:48:05 +00:00
|
|
|
},
|
2013-10-28 16:32:01 +00:00
|
|
|
],
|
|
|
|
|
'conditions': [
|
2014-09-01 11:06:37 +00:00
|
|
|
['OS=="android"', {
|
2013-10-28 16:32:01 +00:00
|
|
|
'targets': [
|
|
|
|
|
{
|
2014-09-03 14:34:46 +00:00
|
|
|
'target_name': 'video_engine_tests_apk_target',
|
2013-10-28 16:32:01 +00:00
|
|
|
'type': 'none',
|
|
|
|
|
'dependencies': [
|
2014-09-03 14:34:46 +00:00
|
|
|
'<(apk_tests_path):video_engine_tests_apk',
|
2013-10-28 16:32:01 +00:00
|
|
|
],
|
|
|
|
|
},
|
2013-12-13 12:48:05 +00:00
|
|
|
{
|
2014-09-03 14:34:46 +00:00
|
|
|
'target_name': 'webrtc_perf_tests_apk_target',
|
2013-12-13 12:48:05 +00:00
|
|
|
'type': 'none',
|
|
|
|
|
'dependencies': [
|
2014-09-03 14:34:46 +00:00
|
|
|
'<(apk_tests_path):webrtc_perf_tests_apk',
|
2013-12-13 12:48:05 +00:00
|
|
|
],
|
|
|
|
|
},
|
2013-10-28 16:32:01 +00:00
|
|
|
],
|
|
|
|
|
}],
|
|
|
|
|
['test_isolation_mode != "noop"', {
|
|
|
|
|
'targets': [
|
2014-09-30 14:21:10 +00:00
|
|
|
{
|
|
|
|
|
'target_name': 'rtc_unittests_run',
|
|
|
|
|
'type': 'none',
|
|
|
|
|
'dependencies': [
|
|
|
|
|
'rtc_unittests',
|
|
|
|
|
],
|
|
|
|
|
'includes': [
|
|
|
|
|
'build/isolate.gypi',
|
|
|
|
|
],
|
|
|
|
|
'sources': [
|
|
|
|
|
'rtc_unittests.isolate',
|
|
|
|
|
],
|
|
|
|
|
},
|
2013-10-28 16:32:01 +00:00
|
|
|
{
|
|
|
|
|
'target_name': 'video_engine_tests_run',
|
|
|
|
|
'type': 'none',
|
|
|
|
|
'dependencies': [
|
|
|
|
|
'video_engine_tests',
|
|
|
|
|
],
|
|
|
|
|
'includes': [
|
2013-10-28 18:10:29 +00:00
|
|
|
'build/isolate.gypi',
|
2013-10-28 16:32:01 +00:00
|
|
|
],
|
|
|
|
|
'sources': [
|
|
|
|
|
'video_engine_tests.isolate',
|
|
|
|
|
],
|
|
|
|
|
},
|
2013-12-13 12:48:05 +00:00
|
|
|
{
|
|
|
|
|
'target_name': 'webrtc_perf_tests_run',
|
|
|
|
|
'type': 'none',
|
|
|
|
|
'dependencies': [
|
|
|
|
|
'webrtc_perf_tests',
|
|
|
|
|
],
|
|
|
|
|
'includes': [
|
|
|
|
|
'build/isolate.gypi',
|
|
|
|
|
],
|
|
|
|
|
'sources': [
|
|
|
|
|
'webrtc_perf_tests.isolate',
|
|
|
|
|
],
|
|
|
|
|
},
|
2013-10-28 16:32:01 +00:00
|
|
|
],
|
|
|
|
|
}],
|
|
|
|
|
],
|
|
|
|
|
}
|