blob: e78dba6fa23dca7bd2d8b164b7582a85d428d38e [file] [log] [blame]
henrike@webrtc.org00c3b1e2013-07-23 18:15:11 +00001# Copyright (c) 2012 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.
henrike@webrtc.org00c3b1e2013-07-23 18:15:11 +00008{
pbos@webrtc.org24e20892013-10-28 16:32:01 +00009 'conditions': [
10 ['include_tests==1', {
11 'includes': [
12 'webrtc_tests.gypi',
13 ],
14 }],
15 ],
16 'includes': [
17 'build/common.gypi',
18 'video/webrtc_video.gypi',
19 ],
henrike@webrtc.org00c3b1e2013-07-23 18:15:11 +000020 'variables': {
21 'webrtc_all_dependencies': [
22 'common_audio/common_audio.gyp:*',
23 'common_video/common_video.gyp:*',
24 'modules/modules.gyp:*',
25 'system_wrappers/source/system_wrappers.gyp:*',
26 'video_engine/video_engine.gyp:*',
27 'voice_engine/voice_engine.gyp:*',
28 '<(webrtc_vp8_dir)/vp8.gyp:*',
29 ],
30 },
31 'targets': [
32 {
pbos@webrtc.org24e20892013-10-28 16:32:01 +000033 'target_name': 'webrtc_all',
henrike@webrtc.org00c3b1e2013-07-23 18:15:11 +000034 'type': 'none',
35 'dependencies': [
36 '<@(webrtc_all_dependencies)',
pbos@webrtc.org24e20892013-10-28 16:32:01 +000037 'webrtc',
henrike@webrtc.org00c3b1e2013-07-23 18:15:11 +000038 ],
39 'conditions': [
40 ['include_tests==1', {
41 'dependencies': [
pbos@webrtc.orgc33d37c2013-12-11 16:26:16 +000042 'common_video/common_video_unittests.gyp:*',
henrike@webrtc.org00c3b1e2013-07-23 18:15:11 +000043 'system_wrappers/source/system_wrappers_tests.gyp:*',
44 'test/metrics.gyp:*',
45 'test/test.gyp:*',
stefan@webrtc.orgaacdb9f2013-12-18 20:28:25 +000046 'test/webrtc_test_common.gyp:webrtc_test_common_unittests',
henrike@webrtc.org00c3b1e2013-07-23 18:15:11 +000047 'tools/tools.gyp:*',
pbos@webrtc.org24e20892013-10-28 16:32:01 +000048 'webrtc_tests',
henrike@webrtc.org00c3b1e2013-07-23 18:15:11 +000049 ],
50 }],
kjellander@webrtc.org8e701082013-10-10 08:48:16 +000051 ['build_with_chromium==0 and OS=="android"', {
henrike@webrtc.org00c3b1e2013-07-23 18:15:11 +000052 'dependencies': [
53 '../tools/android/android_tools_precompiled.gyp:*',
henrike@webrtc.org00c3b1e2013-07-23 18:15:11 +000054 ],
55 }],
56 ],
57 },
pbos@webrtc.org24e20892013-10-28 16:32:01 +000058 {
59 # TODO(pbos): This is intended to contain audio parts as well as soon as
60 # VoiceEngine moves to the same new API format.
61 'target_name': 'webrtc',
62 'type': 'static_library',
63 'sources': [
pbos@webrtc.org24e20892013-10-28 16:32:01 +000064 'call.h',
65 'config.h',
stefan@webrtc.org47f0c412013-12-04 10:24:26 +000066 'experiments.h',
pbos@webrtc.org24e20892013-10-28 16:32:01 +000067 'frame_callback.h',
68 'transport.h',
69 'video_receive_stream.h',
70 'video_renderer.h',
71 'video_send_stream.h',
72
73 '<@(webrtc_video_sources)',
74 ],
75 'dependencies': [
76 '<@(webrtc_video_dependencies)',
77 ],
78 },
henrike@webrtc.org00c3b1e2013-07-23 18:15:11 +000079 ],
80}