blob: 6827fd5dd8eed1e7984a6d1c3c30d8cc11b9e201 [file] [log] [blame]
pbos@webrtc.org16e03b72013-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',
16 ],
17 },
18 {
19 'target_name': 'video_loopback',
20 'type': 'executable',
21 'sources': [
pbos@webrtc.orgc49d5b72013-12-05 12:11:47 +000022 'video/loopback.cc',
pbos@webrtc.org16e03b72013-10-28 16:32:01 +000023 'test/test_main.cc',
24 ],
25 'dependencies': [
26 '<(DEPTH)/testing/gtest.gyp:gtest',
27 'test/webrtc_test_common.gyp:webrtc_test_common',
28 'webrtc',
29 ],
30 },
31 {
32 'target_name': 'video_engine_tests',
33 'type': '<(gtest_target_type)',
34 'sources': [
pbos@webrtc.orgc49d5b72013-12-05 12:11:47 +000035 'video/call_tests.cc',
pbos@webrtc.org16e03b72013-10-28 16:32:01 +000036 'video/full_stack.cc',
37 'video/rampup_tests.cc',
38 'video/video_send_stream_tests.cc',
stefan@webrtc.orgb082ade2013-11-18 11:45:11 +000039 'voice_engine/test/auto_test/resource_manager.cc',
40 'voice_engine/test/auto_test/resource_manager.h',
pbos@webrtc.orgc49d5b72013-12-05 12:11:47 +000041 'test/common_unittest.cc',
pbos@webrtc.org16e03b72013-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',
48 'test/webrtc_test_common.gyp:webrtc_test_common',
49 'webrtc',
50 ],
51 },
52 ],
53 'conditions': [
54 # TODO(henrike): remove build_with_chromium==1 when the bots are using
55 # Chromium's buildbots.
56 ['build_with_chromium==1 and OS=="android" and gtest_target_type=="shared_library"', {
57 'targets': [
58 {
59 'target_name': 'video_engine_tests_apk_target',
60 'type': 'none',
61 'dependencies': [
62 '<(apk_tests_path):video_engine_tests_apk',
63 ],
64 },
65 ],
66 }],
67 ['test_isolation_mode != "noop"', {
68 'targets': [
69 {
70 'target_name': 'video_engine_tests_run',
71 'type': 'none',
72 'dependencies': [
73 'video_engine_tests',
74 ],
75 'includes': [
pbos@webrtc.org0803c032013-10-28 18:10:29 +000076 'build/isolate.gypi',
pbos@webrtc.org16e03b72013-10-28 16:32:01 +000077 'video_engine_tests.isolate',
78 ],
79 'sources': [
80 'video_engine_tests.isolate',
81 ],
82 },
83 ],
84 }],
85 ],
86}