blob: 384f57cc9377e440d23598eac6de43f9370ceaf3 [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 ],
25 'dependencies': [
26 '<(DEPTH)/testing/gtest.gyp:gtest',
pbos@webrtc.org838c9da2014-05-13 11:26:40 +000027 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
pbos@webrtc.orgb581c902013-10-28 16:32:01 +000028 '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',
pbos@webrtc.orgb581c902013-10-28 16:32:01 +000046 'modules/modules.gyp:rtp_rtcp',
pbos@webrtc.org9d9f1382013-12-13 14:31:47 +000047 'test/metrics.gyp:metrics',
pbos@webrtc.orgb581c902013-10-28 16:32:01 +000048 'test/webrtc_test_common.gyp:webrtc_test_common',
49 'webrtc',
50 ],
51 },
pbos@webrtc.orgd1dd1d22013-12-13 12:48:05 +000052 {
53 'target_name': 'webrtc_perf_tests',
54 'type': '<(gtest_target_type)',
55 'sources': [
henrik.lundin@webrtc.org1cc11662014-01-10 08:24:04 +000056 'modules/audio_coding/neteq4/test/neteq_performance_unittest.cc',
pbos@webrtc.orgd1dd1d22013-12-13 12:48:05 +000057 'test/test_main.cc',
58 'video/call_perf_tests.cc',
59 'video/full_stack.cc',
60 'video/rampup_tests.cc',
61 ],
62 'dependencies': [
63 '<(DEPTH)/testing/gtest.gyp:gtest',
henrik.lundin@webrtc.org86e3fa82014-04-24 13:19:04 +000064 'modules/modules.gyp:neteq_test_support', # Needed by neteq_performance_unittest.
pbos@webrtc.orgd1dd1d22013-12-13 12:48:05 +000065 'modules/modules.gyp:rtp_rtcp',
66 'test/webrtc_test_common.gyp:webrtc_test_common',
67 'webrtc',
68 ],
69 },
pbos@webrtc.orgb581c902013-10-28 16:32:01 +000070 ],
71 'conditions': [
72 # TODO(henrike): remove build_with_chromium==1 when the bots are using
73 # Chromium's buildbots.
74 ['build_with_chromium==1 and OS=="android" and gtest_target_type=="shared_library"', {
75 'targets': [
76 {
77 'target_name': 'video_engine_tests_apk_target',
78 'type': 'none',
79 'dependencies': [
80 '<(apk_tests_path):video_engine_tests_apk',
81 ],
82 },
pbos@webrtc.orgd1dd1d22013-12-13 12:48:05 +000083 {
84 'target_name': 'webrtc_perf_tests_apk_target',
85 'type': 'none',
86 'dependencies': [
87 '<(apk_tests_path):webrtc_perf_tests_apk',
88 ],
89 },
pbos@webrtc.orgb581c902013-10-28 16:32:01 +000090 ],
91 }],
92 ['test_isolation_mode != "noop"', {
93 'targets': [
94 {
95 'target_name': 'video_engine_tests_run',
96 'type': 'none',
97 'dependencies': [
98 'video_engine_tests',
99 ],
100 'includes': [
pbos@webrtc.org56290ed2013-10-28 18:10:29 +0000101 'build/isolate.gypi',
pbos@webrtc.orgb581c902013-10-28 16:32:01 +0000102 'video_engine_tests.isolate',
103 ],
104 'sources': [
105 'video_engine_tests.isolate',
106 ],
107 },
pbos@webrtc.orgd1dd1d22013-12-13 12:48:05 +0000108 {
109 'target_name': 'webrtc_perf_tests_run',
110 'type': 'none',
111 'dependencies': [
112 'webrtc_perf_tests',
113 ],
114 'includes': [
115 'build/isolate.gypi',
116 'webrtc_perf_tests.isolate',
117 ],
118 'sources': [
119 'webrtc_perf_tests.isolate',
120 ],
121 },
pbos@webrtc.orgb581c902013-10-28 16:32:01 +0000122 ],
123 }],
124 ],
125}