blob: 69a5a7ba793af84c1e8e996a881c3435f2762273 [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',
pbos@webrtc.orgc49d5b72013-12-05 12:11:47 +000039 'test/common_unittest.cc',
pbos@webrtc.org16e03b72013-10-28 16:32:01 +000040 'test/test_main.cc',
41 ],
42 'dependencies': [
43 '<(DEPTH)/testing/gtest.gyp:gtest',
44 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
45 'modules/modules.gyp:rtp_rtcp',
46 'test/webrtc_test_common.gyp:webrtc_test_common',
47 'webrtc',
48 ],
49 },
50 ],
51 'conditions': [
52 # TODO(henrike): remove build_with_chromium==1 when the bots are using
53 # Chromium's buildbots.
54 ['build_with_chromium==1 and OS=="android" and gtest_target_type=="shared_library"', {
55 'targets': [
56 {
57 'target_name': 'video_engine_tests_apk_target',
58 'type': 'none',
59 'dependencies': [
60 '<(apk_tests_path):video_engine_tests_apk',
61 ],
62 },
63 ],
64 }],
65 ['test_isolation_mode != "noop"', {
66 'targets': [
67 {
68 'target_name': 'video_engine_tests_run',
69 'type': 'none',
70 'dependencies': [
71 'video_engine_tests',
72 ],
73 'includes': [
pbos@webrtc.org0803c032013-10-28 18:10:29 +000074 'build/isolate.gypi',
pbos@webrtc.org16e03b72013-10-28 16:32:01 +000075 'video_engine_tests.isolate',
76 ],
77 'sources': [
78 'video_engine_tests.isolate',
79 ],
80 },
81 ],
82 }],
83 ],
84}