henrike@webrtc.org | 00c3b1e | 2013-07-23 18:15:11 | [diff] [blame] | 1 | # 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.org | 00c3b1e | 2013-07-23 18:15:11 | [diff] [blame] | 8 | { |
pbos@webrtc.org | 24e2089 | 2013-10-28 16:32:01 | [diff] [blame] | 9 | 'conditions': [ |
| 10 | ['include_tests==1', { |
| 11 | 'includes': [ |
henrike@webrtc.org | be9a70f | 2014-10-02 18:43:47 | [diff] [blame] | 12 | 'libjingle/xmllite/xmllite_tests.gypi', |
henrike@webrtc.org | 1a02faa | 2014-10-28 22:20:11 | [diff] [blame] | 13 | 'libjingle/xmpp/xmpp_tests.gypi', |
| 14 | 'p2p/p2p_tests.gypi', |
henrike@webrtc.org | bb0131f | 2014-10-01 16:33:03 | [diff] [blame] | 15 | 'sound/sound_tests.gypi', |
pbos@webrtc.org | 24e2089 | 2013-10-28 16:32:01 | [diff] [blame] | 16 | 'webrtc_tests.gypi', |
| 17 | ], |
| 18 | }], |
| 19 | ], |
| 20 | 'includes': [ |
| 21 | 'build/common.gypi', |
| 22 | 'video/webrtc_video.gypi', |
| 23 | ], |
henrike@webrtc.org | 00c3b1e | 2013-07-23 18:15:11 | [diff] [blame] | 24 | 'variables': { |
| 25 | 'webrtc_all_dependencies': [ |
henrike@webrtc.org | 47be73b | 2014-05-13 18:00:26 | [diff] [blame] | 26 | 'base/base.gyp:*', |
henrike@webrtc.org | 91bac04 | 2014-08-26 22:04:04 | [diff] [blame] | 27 | 'sound/sound.gyp:*', |
pbos@webrtc.org | 7e68693 | 2014-05-15 09:35:06 | [diff] [blame] | 28 | 'common.gyp:*', |
henrike@webrtc.org | 00c3b1e | 2013-07-23 18:15:11 | [diff] [blame] | 29 | 'common_audio/common_audio.gyp:*', |
| 30 | 'common_video/common_video.gyp:*', |
henrike@webrtc.org | 48a7b2e | 2014-09-02 15:41:12 | [diff] [blame] | 31 | 'libjingle/xmllite/xmllite.gyp:*', |
henrike@webrtc.org | 1a02faa | 2014-10-28 22:20:11 | [diff] [blame] | 32 | 'libjingle/xmpp/xmpp.gyp:*', |
henrike@webrtc.org | 00c3b1e | 2013-07-23 18:15:11 | [diff] [blame] | 33 | 'modules/modules.gyp:*', |
henrike@webrtc.org | 1a02faa | 2014-10-28 22:20:11 | [diff] [blame] | 34 | 'p2p/p2p.gyp:*', |
henrike@webrtc.org | 00c3b1e | 2013-07-23 18:15:11 | [diff] [blame] | 35 | 'system_wrappers/source/system_wrappers.gyp:*', |
| 36 | 'video_engine/video_engine.gyp:*', |
| 37 | 'voice_engine/voice_engine.gyp:*', |
| 38 | '<(webrtc_vp8_dir)/vp8.gyp:*', |
marpan@webrtc.org | 6637388 | 2014-11-01 06:10:48 | [diff] [blame] | 39 | '<(webrtc_vp9_dir)/vp9.gyp:*', |
henrike@webrtc.org | 00c3b1e | 2013-07-23 18:15:11 | [diff] [blame] | 40 | ], |
| 41 | }, |
| 42 | 'targets': [ |
| 43 | { |
pbos@webrtc.org | 24e2089 | 2013-10-28 16:32:01 | [diff] [blame] | 44 | 'target_name': 'webrtc_all', |
henrike@webrtc.org | 00c3b1e | 2013-07-23 18:15:11 | [diff] [blame] | 45 | 'type': 'none', |
| 46 | 'dependencies': [ |
| 47 | '<@(webrtc_all_dependencies)', |
pbos@webrtc.org | 24e2089 | 2013-10-28 16:32:01 | [diff] [blame] | 48 | 'webrtc', |
henrike@webrtc.org | 00c3b1e | 2013-07-23 18:15:11 | [diff] [blame] | 49 | ], |
| 50 | 'conditions': [ |
| 51 | ['include_tests==1', { |
| 52 | 'dependencies': [ |
pbos@webrtc.org | c33d37c | 2013-12-11 16:26:16 | [diff] [blame] | 53 | 'common_video/common_video_unittests.gyp:*', |
henrike@webrtc.org | 00c3b1e | 2013-07-23 18:15:11 | [diff] [blame] | 54 | 'system_wrappers/source/system_wrappers_tests.gyp:*', |
| 55 | 'test/metrics.gyp:*', |
| 56 | 'test/test.gyp:*', |
stefan@webrtc.org | aacdb9f | 2013-12-18 20:28:25 | [diff] [blame] | 57 | 'test/webrtc_test_common.gyp:webrtc_test_common_unittests', |
henrike@webrtc.org | 00c3b1e | 2013-07-23 18:15:11 | [diff] [blame] | 58 | 'tools/tools.gyp:*', |
pbos@webrtc.org | 24e2089 | 2013-10-28 16:32:01 | [diff] [blame] | 59 | 'webrtc_tests', |
henrike@webrtc.org | 51b64e4 | 2014-09-10 17:28:19 | [diff] [blame] | 60 | 'rtc_unittests', |
henrike@webrtc.org | 00c3b1e | 2013-07-23 18:15:11 | [diff] [blame] | 61 | ], |
| 62 | }], |
henrike@webrtc.org | 00c3b1e | 2013-07-23 18:15:11 | [diff] [blame] | 63 | ], |
| 64 | }, |
pbos@webrtc.org | 24e2089 | 2013-10-28 16:32:01 | [diff] [blame] | 65 | { |
| 66 | # TODO(pbos): This is intended to contain audio parts as well as soon as |
| 67 | # VoiceEngine moves to the same new API format. |
| 68 | 'target_name': 'webrtc', |
| 69 | 'type': 'static_library', |
| 70 | 'sources': [ |
pbos@webrtc.org | 24e2089 | 2013-10-28 16:32:01 | [diff] [blame] | 71 | 'call.h', |
| 72 | 'config.h', |
stefan@webrtc.org | 47f0c41 | 2013-12-04 10:24:26 | [diff] [blame] | 73 | 'experiments.h', |
pbos@webrtc.org | 24e2089 | 2013-10-28 16:32:01 | [diff] [blame] | 74 | 'frame_callback.h', |
| 75 | 'transport.h', |
| 76 | 'video_receive_stream.h', |
| 77 | 'video_renderer.h', |
| 78 | 'video_send_stream.h', |
| 79 | |
| 80 | '<@(webrtc_video_sources)', |
| 81 | ], |
| 82 | 'dependencies': [ |
pbos@webrtc.org | 7e68693 | 2014-05-15 09:35:06 | [diff] [blame] | 83 | 'common.gyp:*', |
pbos@webrtc.org | 24e2089 | 2013-10-28 16:32:01 | [diff] [blame] | 84 | '<@(webrtc_video_dependencies)', |
| 85 | ], |
andresp@webrtc.org | 0ab271b | 2014-09-18 08:58:15 | [diff] [blame] | 86 | 'conditions': [ |
| 87 | # TODO(andresp): Chromium libpeerconnection should link directly with |
pbos@webrtc.org | e8dbbf4 | 2014-12-15 16:33:16 | [diff] [blame] | 88 | # this and no if conditions should be needed on webrtc build files. |
andresp@webrtc.org | 0ab271b | 2014-09-18 08:58:15 | [diff] [blame] | 89 | ['build_with_chromium==1', { |
pbos@webrtc.org | e8dbbf4 | 2014-12-15 16:33:16 | [diff] [blame] | 90 | 'dependencies': [ |
| 91 | '<(webrtc_root)/modules/modules.gyp:video_capture_module_impl', |
| 92 | '<(webrtc_root)/modules/modules.gyp:video_render_module_impl', |
| 93 | ], |
| 94 | }], |
andresp@webrtc.org | 0ab271b | 2014-09-18 08:58:15 | [diff] [blame] | 95 | ], |
pbos@webrtc.org | 24e2089 | 2013-10-28 16:32:01 | [diff] [blame] | 96 | }, |
henrike@webrtc.org | 00c3b1e | 2013-07-23 18:15:11 | [diff] [blame] | 97 | ], |
| 98 | } |