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': [
|
|
|
|
|
{
|
|
|
|
|
'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
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
'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',
|
2013-12-05 12:11:47 +00:00
|
|
|
'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': [
|
|
|
|
|
'<(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-05-14 12:24:04 +00:00
|
|
|
'<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:field_trial_default',
|
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',
|
|
|
|
|
'system_wrappers/source/system_wrappers.gyp:field_trial_default',
|
|
|
|
|
'test/webrtc_test_common.gyp:webrtc_test_common',
|
|
|
|
|
'test/webrtc_test_common.gyp:webrtc_test_renderer',
|
|
|
|
|
'webrtc',
|
|
|
|
|
],
|
|
|
|
|
},
|
2013-10-28 16:32:01 +00:00
|
|
|
{
|
|
|
|
|
'target_name': 'video_engine_tests',
|
|
|
|
|
'type': '<(gtest_target_type)',
|
|
|
|
|
'sources': [
|
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',
|
2013-12-05 12:11:47 +00:00
|
|
|
'test/common_unittest.cc',
|
2013-12-13 14:31:47 +00:00
|
|
|
'test/testsupport/metrics/video_metrics_unittest.cc',
|
2013-10-28 16:32:01 +00:00
|
|
|
],
|
|
|
|
|
'dependencies': [
|
|
|
|
|
'<(DEPTH)/testing/gtest.gyp:gtest',
|
|
|
|
|
'modules/modules.gyp:rtp_rtcp',
|
2013-12-13 14:31:47 +00:00
|
|
|
'test/metrics.gyp:metrics',
|
2013-10-28 16:32:01 +00:00
|
|
|
'test/webrtc_test_common.gyp:webrtc_test_common',
|
2014-05-14 12:24:04 +00:00
|
|
|
'test/test.gyp:test_main',
|
2014-06-05 09:32:51 +00:00
|
|
|
'test/webrtc_test_common.gyp:webrtc_test_video_render_dependencies',
|
2013-10-28 16:32:01 +00:00
|
|
|
'webrtc',
|
|
|
|
|
],
|
2014-05-27 18:44:59 +00:00
|
|
|
'conditions': [
|
|
|
|
|
# TODO(henrike): remove build_with_chromium==1 when the bots are
|
|
|
|
|
# using Chromium's buildbots.
|
2014-06-04 20:46:50 +00:00
|
|
|
['build_with_chromium==1 and 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',
|
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': [
|
|
|
|
|
'<(DEPTH)/testing/gtest.gyp:gtest',
|
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',
|
|
|
|
|
'test/webrtc_test_common.gyp:webrtc_test_common',
|
2014-05-14 12:24:04 +00:00
|
|
|
'test/test.gyp:test_main',
|
2014-06-05 09:32:51 +00:00
|
|
|
'test/webrtc_test_common.gyp:webrtc_test_video_render_dependencies',
|
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-01 11:06:37 +00:00
|
|
|
'target_name': 'video_engine_tests_apk',
|
2013-10-28 16:32:01 +00:00
|
|
|
'type': 'none',
|
2014-09-01 11:06:37 +00:00
|
|
|
'variables': {
|
|
|
|
|
'test_suite_name': 'video_engine_tests',
|
|
|
|
|
'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)video_engine_tests<(SHARED_LIB_SUFFIX)',
|
|
|
|
|
},
|
2013-10-28 16:32:01 +00:00
|
|
|
'dependencies': [
|
2014-09-01 11:06:37 +00:00
|
|
|
'video_engine_tests',
|
|
|
|
|
],
|
|
|
|
|
'includes': [
|
|
|
|
|
'../build/apk_test.gypi',
|
2013-10-28 16:32:01 +00:00
|
|
|
],
|
|
|
|
|
},
|
2013-12-13 12:48:05 +00:00
|
|
|
{
|
2014-09-01 11:06:37 +00:00
|
|
|
'target_name': 'webrtc_perf_tests_apk',
|
2013-12-13 12:48:05 +00:00
|
|
|
'type': 'none',
|
2014-09-01 11:06:37 +00:00
|
|
|
'variables': {
|
|
|
|
|
'test_suite_name': 'webrtc_perf_tests',
|
|
|
|
|
'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)webrtc_perf_tests<(SHARED_LIB_SUFFIX)',
|
|
|
|
|
},
|
2013-12-13 12:48:05 +00:00
|
|
|
'dependencies': [
|
2014-09-01 11:06:37 +00:00
|
|
|
'webrtc_perf_tests',
|
|
|
|
|
],
|
|
|
|
|
'includes': [
|
|
|
|
|
'../build/apk_test.gypi',
|
2013-12-13 12:48:05 +00:00
|
|
|
],
|
|
|
|
|
},
|
2013-10-28 16:32:01 +00:00
|
|
|
],
|
|
|
|
|
}],
|
|
|
|
|
['test_isolation_mode != "noop"', {
|
|
|
|
|
'targets': [
|
|
|
|
|
{
|
|
|
|
|
'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
|
|
|
'video_engine_tests.isolate',
|
|
|
|
|
],
|
|
|
|
|
'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',
|
|
|
|
|
'webrtc_perf_tests.isolate',
|
|
|
|
|
],
|
|
|
|
|
'sources': [
|
|
|
|
|
'webrtc_perf_tests.isolate',
|
|
|
|
|
],
|
|
|
|
|
},
|
2013-10-28 16:32:01 +00:00
|
|
|
],
|
|
|
|
|
}],
|
|
|
|
|
],
|
|
|
|
|
}
|