henrike@webrtc.org | 00c3b1e | 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 | 00c3b1e | 2013-07-23 18:15:11 +0000 | [diff] [blame] | 8 | { |
pbos@webrtc.org | 24e2089 | 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 | 00c3b1e | 2013-07-23 18:15:11 +0000 | [diff] [blame] | 20 | 'variables': { |
| 21 | 'webrtc_all_dependencies': [ |
| 22 | 'common_audio/common_audio.gyp:*', |
| 23 | 'common_video/common_video.gyp:*', |
| 24 | 'modules/modules.gyp:*', |
| 25 | 'system_wrappers/source/system_wrappers.gyp:*', |
| 26 | 'video_engine/video_engine.gyp:*', |
| 27 | 'voice_engine/voice_engine.gyp:*', |
| 28 | '<(webrtc_vp8_dir)/vp8.gyp:*', |
| 29 | ], |
| 30 | }, |
| 31 | 'targets': [ |
| 32 | { |
pbos@webrtc.org | 24e2089 | 2013-10-28 16:32:01 +0000 | [diff] [blame] | 33 | 'target_name': 'webrtc_all', |
henrike@webrtc.org | 00c3b1e | 2013-07-23 18:15:11 +0000 | [diff] [blame] | 34 | 'type': 'none', |
| 35 | 'dependencies': [ |
| 36 | '<@(webrtc_all_dependencies)', |
pbos@webrtc.org | 24e2089 | 2013-10-28 16:32:01 +0000 | [diff] [blame] | 37 | 'webrtc', |
henrike@webrtc.org | 00c3b1e | 2013-07-23 18:15:11 +0000 | [diff] [blame] | 38 | ], |
| 39 | 'conditions': [ |
| 40 | ['include_tests==1', { |
| 41 | 'dependencies': [ |
| 42 | 'system_wrappers/source/system_wrappers_tests.gyp:*', |
| 43 | 'test/metrics.gyp:*', |
| 44 | 'test/test.gyp:*', |
| 45 | 'tools/tools.gyp:*', |
pbos@webrtc.org | 24e2089 | 2013-10-28 16:32:01 +0000 | [diff] [blame] | 46 | 'webrtc_tests', |
henrike@webrtc.org | 00c3b1e | 2013-07-23 18:15:11 +0000 | [diff] [blame] | 47 | ], |
| 48 | }], |
kjellander@webrtc.org | 8e70108 | 2013-10-10 08:48:16 +0000 | [diff] [blame] | 49 | ['build_with_chromium==0 and OS=="android"', { |
henrike@webrtc.org | 00c3b1e | 2013-07-23 18:15:11 +0000 | [diff] [blame] | 50 | 'dependencies': [ |
| 51 | '../tools/android/android_tools_precompiled.gyp:*', |
henrike@webrtc.org | 00c3b1e | 2013-07-23 18:15:11 +0000 | [diff] [blame] | 52 | ], |
| 53 | }], |
| 54 | ], |
| 55 | }, |
pbos@webrtc.org | 24e2089 | 2013-10-28 16:32:01 +0000 | [diff] [blame] | 56 | { |
| 57 | # TODO(pbos): This is intended to contain audio parts as well as soon as |
| 58 | # VoiceEngine moves to the same new API format. |
| 59 | 'target_name': 'webrtc', |
| 60 | 'type': 'static_library', |
| 61 | 'sources': [ |
| 62 | 'call.cc', |
| 63 | 'call.h', |
pbos@webrtc.org | 346dbe7 | 2013-11-20 11:48:56 +0000 | [diff] [blame] | 64 | 'config.cc', |
pbos@webrtc.org | 24e2089 | 2013-10-28 16:32:01 +0000 | [diff] [blame] | 65 | 'config.h', |
| 66 | 'frame_callback.h', |
| 67 | 'transport.h', |
| 68 | 'video_receive_stream.h', |
| 69 | 'video_renderer.h', |
| 70 | 'video_send_stream.h', |
| 71 | |
| 72 | '<@(webrtc_video_sources)', |
| 73 | ], |
| 74 | 'dependencies': [ |
| 75 | '<@(webrtc_video_dependencies)', |
| 76 | ], |
| 77 | }, |
henrike@webrtc.org | 00c3b1e | 2013-07-23 18:15:11 +0000 | [diff] [blame] | 78 | ], |
| 79 | } |