blob: 2d2dc046785c460e4d0ea1f893cbe08eb32701f5 [file] [log] [blame]
henrike@webrtc.org00c3b1e2013-07-23 18:15:111# 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:118{
pbos@webrtc.org24e20892013-10-28 16:32:019 'conditions': [
10 ['include_tests==1', {
11 'includes': [
henrike@webrtc.orgbb0131f2014-10-01 16:33:0312 'sound/sound_tests.gypi',
pbos@webrtc.org24e20892013-10-28 16:32:0113 'webrtc_tests.gypi',
14 ],
15 }],
16 ],
17 'includes': [
18 'build/common.gypi',
19 'video/webrtc_video.gypi',
20 ],
henrike@webrtc.org00c3b1e2013-07-23 18:15:1121 'variables': {
22 'webrtc_all_dependencies': [
henrike@webrtc.org47be73b2014-05-13 18:00:2623 'base/base.gyp:*',
henrike@webrtc.org91bac042014-08-26 22:04:0424 'sound/sound.gyp:*',
pbos@webrtc.org7e686932014-05-15 09:35:0625 'common.gyp:*',
henrike@webrtc.org00c3b1e2013-07-23 18:15:1126 'common_audio/common_audio.gyp:*',
27 'common_video/common_video.gyp:*',
henrike@webrtc.org48a7b2e2014-09-02 15:41:1228 'libjingle/xmllite/xmllite.gyp:*',
henrike@webrtc.org00c3b1e2013-07-23 18:15:1129 'modules/modules.gyp:*',
30 'system_wrappers/source/system_wrappers.gyp:*',
31 'video_engine/video_engine.gyp:*',
32 'voice_engine/voice_engine.gyp:*',
33 '<(webrtc_vp8_dir)/vp8.gyp:*',
34 ],
35 },
36 'targets': [
37 {
pbos@webrtc.org24e20892013-10-28 16:32:0138 'target_name': 'webrtc_all',
henrike@webrtc.org00c3b1e2013-07-23 18:15:1139 'type': 'none',
40 'dependencies': [
41 '<@(webrtc_all_dependencies)',
pbos@webrtc.org24e20892013-10-28 16:32:0142 'webrtc',
henrike@webrtc.org00c3b1e2013-07-23 18:15:1143 ],
44 'conditions': [
45 ['include_tests==1', {
46 'dependencies': [
pbos@webrtc.orgc33d37c2013-12-11 16:26:1647 'common_video/common_video_unittests.gyp:*',
henrike@webrtc.org48a7b2e2014-09-02 15:41:1248 'libjingle/xmllite/xmllite_tests.gyp:*',
henrike@webrtc.org00c3b1e2013-07-23 18:15:1149 'system_wrappers/source/system_wrappers_tests.gyp:*',
50 'test/metrics.gyp:*',
51 'test/test.gyp:*',
stefan@webrtc.orgaacdb9f2013-12-18 20:28:2552 'test/webrtc_test_common.gyp:webrtc_test_common_unittests',
henrike@webrtc.org00c3b1e2013-07-23 18:15:1153 'tools/tools.gyp:*',
pbos@webrtc.org24e20892013-10-28 16:32:0154 'webrtc_tests',
henrike@webrtc.org51b64e42014-09-10 17:28:1955 'rtc_unittests',
henrike@webrtc.org00c3b1e2013-07-23 18:15:1156 ],
57 }],
henrike@webrtc.org00c3b1e2013-07-23 18:15:1158 ],
59 },
pbos@webrtc.org24e20892013-10-28 16:32:0160 {
61 # TODO(pbos): This is intended to contain audio parts as well as soon as
62 # VoiceEngine moves to the same new API format.
63 'target_name': 'webrtc',
64 'type': 'static_library',
65 'sources': [
pbos@webrtc.org24e20892013-10-28 16:32:0166 'call.h',
67 'config.h',
stefan@webrtc.org47f0c412013-12-04 10:24:2668 'experiments.h',
pbos@webrtc.org24e20892013-10-28 16:32:0169 'frame_callback.h',
70 'transport.h',
71 'video_receive_stream.h',
72 'video_renderer.h',
73 'video_send_stream.h',
74
75 '<@(webrtc_video_sources)',
76 ],
77 'dependencies': [
pbos@webrtc.org7e686932014-05-15 09:35:0678 'common.gyp:*',
pbos@webrtc.org24e20892013-10-28 16:32:0179 '<@(webrtc_video_dependencies)',
80 ],
andresp@webrtc.org0ab271b2014-09-18 08:58:1581 'conditions': [
82 # TODO(andresp): Chromium libpeerconnection should link directly with
83 # this and no if conditions should be needed on webrtc build files.
84 ['build_with_chromium==1', {
85 'dependencies': [
86 '<(webrtc_root)/modules/modules.gyp:video_capture_module_impl',
87 '<(webrtc_root)/modules/modules.gyp:video_render_module_impl',
88 ],
89 }],
90 ],
pbos@webrtc.org24e20892013-10-28 16:32:0191 },
henrike@webrtc.org00c3b1e2013-07-23 18:15:1192 ],
93}