blob: d50552d9cf0c132102b3ab02b22bab6959959fd8 [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': [
henrike@webrtc.org47be73b2014-05-13 18:00:26 +000022 'base/base.gyp:*',
pbos@webrtc.org7e686932014-05-15 09:35:06 +000023 'common.gyp:*',
henrike@webrtc.org00c3b1e2013-07-23 18:15:11 +000024 'common_audio/common_audio.gyp:*',
25 'common_video/common_video.gyp:*',
26 'modules/modules.gyp:*',
27 'system_wrappers/source/system_wrappers.gyp:*',
28 'video_engine/video_engine.gyp:*',
29 'voice_engine/voice_engine.gyp:*',
30 '<(webrtc_vp8_dir)/vp8.gyp:*',
31 ],
32 },
33 'targets': [
34 {
pbos@webrtc.org24e20892013-10-28 16:32:01 +000035 'target_name': 'webrtc_all',
henrike@webrtc.org00c3b1e2013-07-23 18:15:11 +000036 'type': 'none',
37 'dependencies': [
38 '<@(webrtc_all_dependencies)',
pbos@webrtc.org24e20892013-10-28 16:32:01 +000039 'webrtc',
henrike@webrtc.org00c3b1e2013-07-23 18:15:11 +000040 ],
41 'conditions': [
42 ['include_tests==1', {
43 'dependencies': [
henrike@webrtc.org47be73b2014-05-13 18:00:26 +000044 'base/base_tests.gyp:*',
pbos@webrtc.orgc33d37c2013-12-11 16:26:16 +000045 'common_video/common_video_unittests.gyp:*',
henrike@webrtc.org00c3b1e2013-07-23 18:15:11 +000046 'system_wrappers/source/system_wrappers_tests.gyp:*',
47 'test/metrics.gyp:*',
48 'test/test.gyp:*',
stefan@webrtc.orgaacdb9f2013-12-18 20:28:25 +000049 'test/webrtc_test_common.gyp:webrtc_test_common_unittests',
henrike@webrtc.org00c3b1e2013-07-23 18:15:11 +000050 'tools/tools.gyp:*',
pbos@webrtc.org24e20892013-10-28 16:32:01 +000051 'webrtc_tests',
henrike@webrtc.org00c3b1e2013-07-23 18:15:11 +000052 ],
53 }],
kjellander@webrtc.org8e701082013-10-10 08:48:16 +000054 ['build_with_chromium==0 and OS=="android"', {
henrike@webrtc.org00c3b1e2013-07-23 18:15:11 +000055 'dependencies': [
56 '../tools/android/android_tools_precompiled.gyp:*',
henrike@webrtc.org00c3b1e2013-07-23 18:15:11 +000057 ],
58 }],
59 ],
60 },
pbos@webrtc.org24e20892013-10-28 16:32:01 +000061 {
62 # TODO(pbos): This is intended to contain audio parts as well as soon as
63 # VoiceEngine moves to the same new API format.
64 'target_name': 'webrtc',
65 'type': 'static_library',
66 'sources': [
pbos@webrtc.org24e20892013-10-28 16:32:01 +000067 'call.h',
68 'config.h',
stefan@webrtc.org47f0c412013-12-04 10:24:26 +000069 'experiments.h',
pbos@webrtc.org24e20892013-10-28 16:32:01 +000070 'frame_callback.h',
71 'transport.h',
72 'video_receive_stream.h',
73 'video_renderer.h',
74 'video_send_stream.h',
75
76 '<@(webrtc_video_sources)',
77 ],
78 'dependencies': [
pbos@webrtc.org7e686932014-05-15 09:35:06 +000079 'common.gyp:*',
pbos@webrtc.org24e20892013-10-28 16:32:01 +000080 '<@(webrtc_video_dependencies)',
81 ],
82 },
henrike@webrtc.org00c3b1e2013-07-23 18:15:11 +000083 ],
84}