blob: ed101b66246b21b2087e9b3ece91712f02436e46 [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:*',
46 'tools/tools.gyp:*',
pbos@webrtc.org24e20892013-10-28 16:32:01 +000047 'webrtc_tests',
henrike@webrtc.org00c3b1e2013-07-23 18:15:11 +000048 ],
49 }],
kjellander@webrtc.org8e701082013-10-10 08:48:16 +000050 ['build_with_chromium==0 and OS=="android"', {
henrike@webrtc.org00c3b1e2013-07-23 18:15:11 +000051 'dependencies': [
52 '../tools/android/android_tools_precompiled.gyp:*',
henrike@webrtc.org00c3b1e2013-07-23 18:15:11 +000053 ],
54 }],
55 ],
56 },
pbos@webrtc.org24e20892013-10-28 16:32:01 +000057 {
58 # TODO(pbos): This is intended to contain audio parts as well as soon as
59 # VoiceEngine moves to the same new API format.
60 'target_name': 'webrtc',
61 'type': 'static_library',
62 'sources': [
pbos@webrtc.org24e20892013-10-28 16:32:01 +000063 'call.h',
64 'config.h',
stefan@webrtc.org47f0c412013-12-04 10:24:26 +000065 'experiments.h',
pbos@webrtc.org24e20892013-10-28 16:32:01 +000066 'frame_callback.h',
67 'transport.h',
68 'video_receive_stream.h',
69 'video_renderer.h',
70 'video_send_stream.h',
71
72 '<@(webrtc_video_sources)',
73 ],
74 'dependencies': [
75 '<@(webrtc_video_dependencies)',
76 ],
77 },
henrike@webrtc.org00c3b1e2013-07-23 18:15:11 +000078 ],
79}