blob: 1ff3a9c2817e7cf67b316ed7fce34b42afabf075 [file] [log] [blame]
pbos@webrtc.orgb581c902013-10-28 16:32:01 +00001# Copyright (c) 2013 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 'targets': [
10 {
11 'target_name': 'webrtc_tests',
12 'type': 'none',
13 'dependencies': [
14 'video_engine_tests',
15 'video_loopback',
pbos@webrtc.orgd1dd1d22013-12-13 12:48:05 +000016 'webrtc_perf_tests',
pbos@webrtc.orgb581c902013-10-28 16:32:01 +000017 ],
18 },
19 {
20 'target_name': 'video_loopback',
21 'type': 'executable',
22 'sources': [
pbos@webrtc.org3d706412013-12-05 12:11:47 +000023 'video/loopback.cc',
pbos@webrtc.orgb581c902013-10-28 16:32:01 +000024 'test/test_main.cc',
25 ],
26 'dependencies': [
27 '<(DEPTH)/testing/gtest.gyp:gtest',
28 'test/webrtc_test_common.gyp:webrtc_test_common',
29 'webrtc',
30 ],
31 },
32 {
33 'target_name': 'video_engine_tests',
34 'type': '<(gtest_target_type)',
35 'sources': [
pbos@webrtc.org39139dc2013-12-16 12:24:44 +000036 'video/bitrate_estimator_tests.cc',
pbos@webrtc.org3d706412013-12-05 12:11:47 +000037 'video/call_tests.cc',
sprang@webrtc.orgca723002014-01-07 09:54:34 +000038 'video/send_statistics_proxy_unittest.cc',
pbos@webrtc.orgb581c902013-10-28 16:32:01 +000039 'video/video_send_stream_tests.cc',
pbos@webrtc.org3d706412013-12-05 12:11:47 +000040 'test/common_unittest.cc',
pbos@webrtc.org9d9f1382013-12-13 14:31:47 +000041 'test/testsupport/metrics/video_metrics_unittest.cc',
pbos@webrtc.orgb581c902013-10-28 16:32:01 +000042 'test/test_main.cc',
43 ],
44 'dependencies': [
45 '<(DEPTH)/testing/gtest.gyp:gtest',
46 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
47 'modules/modules.gyp:rtp_rtcp',
pbos@webrtc.org9d9f1382013-12-13 14:31:47 +000048 'test/metrics.gyp:metrics',
pbos@webrtc.orgb581c902013-10-28 16:32:01 +000049 'test/webrtc_test_common.gyp:webrtc_test_common',
50 'webrtc',
51 ],
52 },
pbos@webrtc.orgd1dd1d22013-12-13 12:48:05 +000053 {
54 'target_name': 'webrtc_perf_tests',
55 'type': '<(gtest_target_type)',
56 'sources': [
henrik.lundin@webrtc.org1cc11662014-01-10 08:24:04 +000057 'modules/audio_coding/neteq4/test/neteq_performance_unittest.cc',
pbos@webrtc.orgd1dd1d22013-12-13 12:48:05 +000058 'test/test_main.cc',
59 'video/call_perf_tests.cc',
60 'video/full_stack.cc',
61 'video/rampup_tests.cc',
62 ],
63 'dependencies': [
64 '<(DEPTH)/testing/gtest.gyp:gtest',
65 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
henrik.lundin@webrtc.org86e3fa82014-04-24 13:19:04 +000066 'modules/modules.gyp:neteq_test_support', # Needed by neteq_performance_unittest.
pbos@webrtc.orgd1dd1d22013-12-13 12:48:05 +000067 'modules/modules.gyp:rtp_rtcp',
68 'test/webrtc_test_common.gyp:webrtc_test_common',
69 'webrtc',
70 ],
71 },
pbos@webrtc.orgb581c902013-10-28 16:32:01 +000072 ],
73 'conditions': [
74 # TODO(henrike): remove build_with_chromium==1 when the bots are using
75 # Chromium's buildbots.
76 ['build_with_chromium==1 and OS=="android" and gtest_target_type=="shared_library"', {
77 'targets': [
78 {
79 'target_name': 'video_engine_tests_apk_target',
80 'type': 'none',
81 'dependencies': [
82 '<(apk_tests_path):video_engine_tests_apk',
83 ],
84 },
pbos@webrtc.orgd1dd1d22013-12-13 12:48:05 +000085 {
86 'target_name': 'webrtc_perf_tests_apk_target',
87 'type': 'none',
88 'dependencies': [
89 '<(apk_tests_path):webrtc_perf_tests_apk',
90 ],
91 },
pbos@webrtc.orgb581c902013-10-28 16:32:01 +000092 ],
93 }],
94 ['test_isolation_mode != "noop"', {
95 'targets': [
96 {
97 'target_name': 'video_engine_tests_run',
98 'type': 'none',
99 'dependencies': [
100 'video_engine_tests',
101 ],
102 'includes': [
pbos@webrtc.org56290ed2013-10-28 18:10:29 +0000103 'build/isolate.gypi',
pbos@webrtc.orgb581c902013-10-28 16:32:01 +0000104 'video_engine_tests.isolate',
105 ],
106 'sources': [
107 'video_engine_tests.isolate',
108 ],
109 },
pbos@webrtc.orgd1dd1d22013-12-13 12:48:05 +0000110 {
111 'target_name': 'webrtc_perf_tests_run',
112 'type': 'none',
113 'dependencies': [
114 'webrtc_perf_tests',
115 ],
116 'includes': [
117 'build/isolate.gypi',
118 'webrtc_perf_tests.isolate',
119 ],
120 'sources': [
121 'webrtc_perf_tests.isolate',
122 ],
123 },
pbos@webrtc.orgb581c902013-10-28 16:32:01 +0000124 ],
125 }],
126 ],
127}