blob: 238229063e6a6be66222adda2afcb522b2edc6fb [file] [log] [blame]
henrike@webrtc.org8d27a1c2013-07-23 18:15:11 +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{
kjellander@webrtc.orgcf85f1c2014-03-05 00:40:33 +000010 'variables': {
kjellander31acf3d2015-07-09 01:18:58 -070011 'include_examples%': 1,
andrew@webrtc.org26eaf7c2014-06-17 16:10:20 +000012 'include_tests%': 1,
kjellander@webrtc.orgcf85f1c2014-03-05 00:40:33 +000013 },
kjellander86600242016-06-14 02:09:19 -070014 'includes': [
15 'webrtc/build/common.gypi',
16 ],
henrike@webrtc.org8d27a1c2013-07-23 18:15:11 +000017 'targets': [
18 {
19 'target_name': 'All',
20 'type': 'none',
21 'dependencies': [
kjellander86600242016-06-14 02:09:19 -070022 'webrtc/api/api.gyp:*',
23 'webrtc/base/base.gyp:*',
24 'webrtc/common.gyp:*',
25 'webrtc/common_audio/common_audio.gyp:*',
26 'webrtc/common_video/common_video.gyp:*',
27 'webrtc/media/media.gyp:*',
28 'webrtc/modules/modules.gyp:*',
29 'webrtc/p2p/p2p.gyp:*',
30 'webrtc/pc/pc.gyp:*',
31 'webrtc/system_wrappers/system_wrappers.gyp:*',
32 'webrtc/tools/tools.gyp:*',
33 'webrtc/voice_engine/voice_engine.gyp:*',
harryjin@google.comaaecefe2014-08-07 00:22:57 +000034 'webrtc/webrtc.gyp:*',
kjellander86600242016-06-14 02:09:19 -070035 '<(webrtc_vp8_dir)/vp8.gyp:*',
36 '<(webrtc_vp9_dir)/vp9.gyp:*',
henrike@webrtc.org8d27a1c2013-07-23 18:15:11 +000037 ],
henrike@webrtc.org451745e2013-12-12 16:55:37 +000038 'conditions': [
kjellander442e6ee2016-06-20 01:34:06 -070039 ['OS=="android" and build_with_chromium==0', {
40 'dependencies': [
41 'webrtc/api/api_java.gyp:*',
42 ],
43 }],
kjellander86600242016-06-14 02:09:19 -070044 ['include_tests==1', {
45 'includes': [
46 'webrtc/webrtc_tests.gypi',
47 ],
48 'dependencies': [
49 'webrtc/api/api_tests.gyp:*',
50 'webrtc/common_video/common_video_unittests.gyp:*',
51 'webrtc/system_wrappers/system_wrappers_tests.gyp:*',
52 'webrtc/test/metrics.gyp:*',
53 'webrtc/test/test.gyp:*',
54 ],
55 }],
kjellander31acf3d2015-07-09 01:18:58 -070056 ['include_examples==1', {
henrike@webrtc.org451745e2013-12-12 16:55:37 +000057 'dependencies': [
58 'webrtc/webrtc_examples.gyp:*',
59 ],
60 }],
kjellander86600242016-06-14 02:09:19 -070061 ['(OS=="ios" or (OS=="mac" and mac_deployment_target=="10.7"))', {
62 'dependencies': [
63 'webrtc/sdk/sdk.gyp:*',
64 ],
65 }],
kjellander28c99bc2016-02-17 05:38:29 -080066 ['OS=="ios" or (OS=="mac" and target_arch!="ia32")', {
andrew@webrtc.org26eaf7c2014-06-17 16:10:20 +000067 'dependencies': [
kjellander28c99bc2016-02-17 05:38:29 -080068 'talk/app/webrtc/legacy_objc_api.gyp:*',
69 ],
70 'conditions': [
71 ['include_tests==1', {
72 'dependencies': [
73 'talk/app/webrtc/legacy_objc_api_tests.gyp:*',
74 ],
75 }],
andrew@webrtc.org26eaf7c2014-06-17 16:10:20 +000076 ],
77 }],
henrike@webrtc.org451745e2013-12-12 16:55:37 +000078 ],
henrike@webrtc.org8d27a1c2013-07-23 18:15:11 +000079 },
80 ],
81}