Separate Call API/build files from video_engine/.
BUG=2535
R=andrew@webrtc.org, mflodman@webrtc.org, niklas.enbom@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/2659004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5042 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/webrtc/webrtc.gyp b/webrtc/webrtc.gyp
index 08d99ac..9fe514c 100644
--- a/webrtc/webrtc.gyp
+++ b/webrtc/webrtc.gyp
@@ -5,9 +5,18 @@
# tree. An additional intellectual property rights grant can be found
# in the file PATENTS. All contributing project authors may
# be found in the AUTHORS file in the root of the source tree.
-
{
- 'includes': ['build/common.gypi',],
+ 'conditions': [
+ ['include_tests==1', {
+ 'includes': [
+ 'webrtc_tests.gypi',
+ ],
+ }],
+ ],
+ 'includes': [
+ 'build/common.gypi',
+ 'video/webrtc_video.gypi',
+ ],
'variables': {
'webrtc_all_dependencies': [
'common_audio/common_audio.gyp:*',
@@ -21,10 +30,11 @@
},
'targets': [
{
- 'target_name': 'webrtc',
+ 'target_name': 'webrtc_all',
'type': 'none',
'dependencies': [
'<@(webrtc_all_dependencies)',
+ 'webrtc',
],
'conditions': [
['include_tests==1', {
@@ -33,6 +43,7 @@
'test/metrics.gyp:*',
'test/test.gyp:*',
'tools/tools.gyp:*',
+ 'webrtc_tests',
],
}],
['build_with_chromium==0 and OS=="android"', {
@@ -42,5 +53,26 @@
}],
],
},
+ {
+ # TODO(pbos): This is intended to contain audio parts as well as soon as
+ # VoiceEngine moves to the same new API format.
+ 'target_name': 'webrtc',
+ 'type': 'static_library',
+ 'sources': [
+ 'call.cc',
+ 'call.h',
+ 'config.h',
+ 'frame_callback.h',
+ 'transport.h',
+ 'video_receive_stream.h',
+ 'video_renderer.h',
+ 'video_send_stream.h',
+
+ '<@(webrtc_video_sources)',
+ ],
+ 'dependencies': [
+ '<@(webrtc_video_dependencies)',
+ ],
+ },
],
}