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