blob: 6ea74f4322c4b7425baf24c11ba265cb3e7a14ba [file] [log] [blame]
pbos@webrtc.org24e20892013-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': [
22 'loopback.cc',
23 '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': [
35 'call_tests.cc',
36 'video/full_stack.cc',
37 'video/rampup_tests.cc',
38 'video/video_send_stream_tests.cc',
stefan@webrtc.orge0284102013-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.org24e20892013-10-28 16:32:01 +000041 'test/test_main.cc',
42 ],
43 'dependencies': [
44 '<(DEPTH)/testing/gtest.gyp:gtest',
45 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
46 'modules/modules.gyp:rtp_rtcp',
47 'test/webrtc_test_common.gyp:webrtc_test_common',
48 'webrtc',
49 ],
50 },
51 ],
52 'conditions': [
53 # TODO(henrike): remove build_with_chromium==1 when the bots are using
54 # Chromium's buildbots.
55 ['build_with_chromium==1 and OS=="android" and gtest_target_type=="shared_library"', {
56 'targets': [
57 {
58 'target_name': 'video_engine_tests_apk_target',
59 'type': 'none',
60 'dependencies': [
61 '<(apk_tests_path):video_engine_tests_apk',
62 ],
63 },
64 ],
65 }],
66 ['test_isolation_mode != "noop"', {
67 'targets': [
68 {
69 'target_name': 'video_engine_tests_run',
70 'type': 'none',
71 'dependencies': [
72 'video_engine_tests',
73 ],
74 'includes': [
pbos@webrtc.org800bc1a2013-10-28 18:10:29 +000075 'build/isolate.gypi',
pbos@webrtc.org24e20892013-10-28 16:32:01 +000076 'video_engine_tests.isolate',
77 ],
78 'sources': [
79 'video_engine_tests.isolate',
80 ],
81 },
82 ],
83 }],
84 ],
85}