henrike@webrtc.org | 7b87e6b | 2013-07-23 18:15:11 +0000 | [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 | 7b87e6b | 2013-07-23 18:15:11 +0000 | [diff] [blame] | 8 | { |
pbos@webrtc.org | b581c90 | 2013-10-28 16:32:01 +0000 | [diff] [blame] | 9 | '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.org | 7b87e6b | 2013-07-23 18:15:11 +0000 | [diff] [blame] | 20 | 'variables': { |
| 21 | 'webrtc_all_dependencies': [ |
henrike@webrtc.org | f7795df | 2014-05-13 18:00:26 +0000 | [diff] [blame^] | 22 | 'base/base.gyp:*', |
henrike@webrtc.org | 7b87e6b | 2013-07-23 18:15:11 +0000 | [diff] [blame] | 23 | 'common_audio/common_audio.gyp:*', |
| 24 | 'common_video/common_video.gyp:*', |
| 25 | 'modules/modules.gyp:*', |
| 26 | 'system_wrappers/source/system_wrappers.gyp:*', |
| 27 | 'video_engine/video_engine.gyp:*', |
| 28 | 'voice_engine/voice_engine.gyp:*', |
| 29 | '<(webrtc_vp8_dir)/vp8.gyp:*', |
| 30 | ], |
| 31 | }, |
| 32 | 'targets': [ |
| 33 | { |
pbos@webrtc.org | b581c90 | 2013-10-28 16:32:01 +0000 | [diff] [blame] | 34 | 'target_name': 'webrtc_all', |
henrike@webrtc.org | 7b87e6b | 2013-07-23 18:15:11 +0000 | [diff] [blame] | 35 | 'type': 'none', |
| 36 | 'dependencies': [ |
| 37 | '<@(webrtc_all_dependencies)', |
pbos@webrtc.org | b581c90 | 2013-10-28 16:32:01 +0000 | [diff] [blame] | 38 | 'webrtc', |
henrike@webrtc.org | 7b87e6b | 2013-07-23 18:15:11 +0000 | [diff] [blame] | 39 | ], |
| 40 | 'conditions': [ |
| 41 | ['include_tests==1', { |
| 42 | 'dependencies': [ |
henrike@webrtc.org | f7795df | 2014-05-13 18:00:26 +0000 | [diff] [blame^] | 43 | 'base/base_tests.gyp:*', |
pbos@webrtc.org | 7123a80 | 2013-12-11 16:26:16 +0000 | [diff] [blame] | 44 | 'common_video/common_video_unittests.gyp:*', |
henrike@webrtc.org | 7b87e6b | 2013-07-23 18:15:11 +0000 | [diff] [blame] | 45 | 'system_wrappers/source/system_wrappers_tests.gyp:*', |
| 46 | 'test/metrics.gyp:*', |
| 47 | 'test/test.gyp:*', |
stefan@webrtc.org | cd117d2 | 2013-12-18 20:28:25 +0000 | [diff] [blame] | 48 | 'test/webrtc_test_common.gyp:webrtc_test_common_unittests', |
henrike@webrtc.org | 7b87e6b | 2013-07-23 18:15:11 +0000 | [diff] [blame] | 49 | 'tools/tools.gyp:*', |
pbos@webrtc.org | b581c90 | 2013-10-28 16:32:01 +0000 | [diff] [blame] | 50 | 'webrtc_tests', |
henrike@webrtc.org | 7b87e6b | 2013-07-23 18:15:11 +0000 | [diff] [blame] | 51 | ], |
| 52 | }], |
kjellander@webrtc.org | 0b7aefe | 2013-10-10 08:48:16 +0000 | [diff] [blame] | 53 | ['build_with_chromium==0 and OS=="android"', { |
henrike@webrtc.org | 7b87e6b | 2013-07-23 18:15:11 +0000 | [diff] [blame] | 54 | 'dependencies': [ |
| 55 | '../tools/android/android_tools_precompiled.gyp:*', |
henrike@webrtc.org | 7b87e6b | 2013-07-23 18:15:11 +0000 | [diff] [blame] | 56 | ], |
| 57 | }], |
| 58 | ], |
| 59 | }, |
pbos@webrtc.org | b581c90 | 2013-10-28 16:32:01 +0000 | [diff] [blame] | 60 | { |
| 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.org | b581c90 | 2013-10-28 16:32:01 +0000 | [diff] [blame] | 66 | 'call.h', |
| 67 | 'config.h', |
stefan@webrtc.org | da3ae7c | 2013-12-04 10:24:26 +0000 | [diff] [blame] | 68 | 'experiments.h', |
pbos@webrtc.org | b581c90 | 2013-10-28 16:32:01 +0000 | [diff] [blame] | 69 | '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': [ |
| 78 | '<@(webrtc_video_dependencies)', |
| 79 | ], |
| 80 | }, |
henrike@webrtc.org | 7b87e6b | 2013-07-23 18:15:11 +0000 | [diff] [blame] | 81 | ], |
| 82 | } |