blob: a410e698cddf81cf522ff1dd83d163d2664e040a [file] [log] [blame]
henrike@webrtc.org28e20752013-07-10 00:45:36 +00001#
2# libjingle
3# Copyright 2012, Google Inc.
4#
5# Redistribution and use in source and binary forms, with or without
6# modification, are permitted provided that the following conditions are met:
7#
8# 1. Redistributions of source code must retain the above copyright notice,
9# this list of conditions and the following disclaimer.
10# 2. Redistributions in binary form must reproduce the above copyright notice,
11# this list of conditions and the following disclaimer in the documentation
12# and/or other materials provided with the distribution.
13# 3. The name of the author may not be used to endorse or promote products
14# derived from this software without specific prior written permission.
15#
16# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
17# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
18# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
19# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
20# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
21# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
22# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
23# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
24# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
25# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26#
27
28{
29 'includes': ['build/common.gypi'],
henrike@webrtc.org28e20752013-07-10 00:45:36 +000030 'conditions': [
31 ['os_posix == 1 and OS != "mac" and OS != "ios"', {
32 'conditions': [
33 ['sysroot!=""', {
34 'variables': {
35 'pkg-config': '../../../build/linux/pkg-config-wrapper "<(sysroot)" "<(target_arch)"',
36 },
37 }, {
38 'variables': {
39 'pkg-config': 'pkg-config'
40 },
41 }],
42 ],
43 }],
henrike@webrtc.org28e20752013-07-10 00:45:36 +000044 ['OS=="linux" or OS=="android"', {
45 'targets': [
46 {
47 'target_name': 'libjingle_peerconnection_so',
48 'type': 'loadable_module',
49 'dependencies': [
50 'libjingle_peerconnection',
51 '<(DEPTH)/third_party/icu/icu.gyp:icuuc',
52 ],
53 'sources': [
54 'app/webrtc/java/jni/peerconnection_jni.cc'
55 ],
fischman@webrtc.org540acde2014-02-13 03:56:14 +000056 'include_dirs': [
57 '<(DEPTH)/third_party/libyuv/include',
58 ],
henrike@webrtc.org28e20752013-07-10 00:45:36 +000059 'conditions': [
60 ['OS=="linux"', {
61 'defines': [
62 'HAVE_GTK',
63 ],
64 'include_dirs': [
65 '<(java_home)/include',
66 '<(java_home)/include/linux',
67 ],
68 'link_settings': {
69 'libraries': [
70 '<!@(pkg-config --libs-only-l gobject-2.0 gthread-2.0'
71 ' gtk+-2.0)',
72 ],
73 },
74 }],
75 ],
76 },
77 {
78 'target_name': 'libjingle_peerconnection_jar',
79 'type': 'none',
80 'actions': [
81 {
82 'variables': {
83 'java_src_dir': 'app/webrtc/java/src',
henrike@webrtc.org9de257d2013-07-17 14:42:53 +000084 'webrtc_modules_dir': '<(webrtc_root)/modules',
fischman@webrtc.org000dde92013-12-20 22:49:35 +000085 'build_jar_log': '<(INTERMEDIATE_DIR)/build_jar.log',
henrike@webrtc.org28e20752013-07-10 00:45:36 +000086 'peerconnection_java_files': [
87 'app/webrtc/java/src/org/webrtc/AudioSource.java',
88 'app/webrtc/java/src/org/webrtc/AudioTrack.java',
henrike@webrtc.org723d6832013-07-12 16:04:50 +000089 'app/webrtc/java/src/org/webrtc/DataChannel.java',
henrike@webrtc.org28e20752013-07-10 00:45:36 +000090 'app/webrtc/java/src/org/webrtc/IceCandidate.java',
fischman@webrtc.orgc883fdc2013-08-06 19:00:53 +000091 'app/webrtc/java/src/org/webrtc/Logging.java',
henrike@webrtc.org28e20752013-07-10 00:45:36 +000092 'app/webrtc/java/src/org/webrtc/MediaConstraints.java',
93 'app/webrtc/java/src/org/webrtc/MediaSource.java',
94 'app/webrtc/java/src/org/webrtc/MediaStream.java',
95 'app/webrtc/java/src/org/webrtc/MediaStreamTrack.java',
96 'app/webrtc/java/src/org/webrtc/PeerConnectionFactory.java',
97 'app/webrtc/java/src/org/webrtc/PeerConnection.java',
98 'app/webrtc/java/src/org/webrtc/SdpObserver.java',
99 'app/webrtc/java/src/org/webrtc/StatsObserver.java',
100 'app/webrtc/java/src/org/webrtc/StatsReport.java',
101 'app/webrtc/java/src/org/webrtc/SessionDescription.java',
102 'app/webrtc/java/src/org/webrtc/VideoCapturer.java',
103 'app/webrtc/java/src/org/webrtc/VideoRenderer.java',
104 'app/webrtc/java/src/org/webrtc/VideoSource.java',
105 'app/webrtc/java/src/org/webrtc/VideoTrack.java',
106 ],
107 # TODO(fischman): extract this into a webrtc gyp var that can be
108 # included here, or better yet, build a proper .jar in webrtc
109 # and include it here.
110 'android_java_files': [
fischman@webrtc.org540acde2014-02-13 03:56:14 +0000111 'app/webrtc/java/src/org/webrtc/MediaCodecVideoEncoder.java',
henrike@webrtc.org82f014a2013-09-10 18:24:07 +0000112 '<(webrtc_modules_dir)/audio_device/android/java/src/org/webrtc/voiceengine/AudioManagerAndroid.java',
henrike@webrtc.org9de257d2013-07-17 14:42:53 +0000113 '<(webrtc_modules_dir)/video_capture/android/java/src/org/webrtc/videoengine/VideoCaptureAndroid.java',
114 '<(webrtc_modules_dir)/video_capture/android/java/src/org/webrtc/videoengine/VideoCaptureDeviceInfoAndroid.java',
115 '<(webrtc_modules_dir)/video_render/android/java/src/org/webrtc/videoengine/ViEAndroidGLES20.java',
116 '<(webrtc_modules_dir)/video_render/android/java/src/org/webrtc/videoengine/ViERenderer.java',
117 '<(webrtc_modules_dir)/video_render/android/java/src/org/webrtc/videoengine/ViESurfaceRenderer.java',
henrike@webrtc.org9ee75e92013-12-11 21:42:44 +0000118 '<(webrtc_modules_dir)/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioRecord.java',
119 '<(webrtc_modules_dir)/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioTrack.java',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000120 ],
121 },
122 'action_name': 'create_jar',
123 'inputs': [
124 'build/build_jar.sh',
125 '<@(java_files)',
126 ],
127 'outputs': [
128 '<(PRODUCT_DIR)/libjingle_peerconnection.jar',
129 ],
130 'conditions': [
131 ['OS=="android"', {
132 'variables': {
133 'java_files': ['<@(peerconnection_java_files)', '<@(android_java_files)'],
134 'build_classpath': '<(java_src_dir):<(DEPTH)/third_party/android_tools/sdk/platforms/android-<(android_sdk_version)/android.jar',
135 },
136 }, {
137 'variables': {
138 'java_files': ['<@(peerconnection_java_files)'],
139 'build_classpath': '<(java_src_dir)',
140 },
141 }],
142 ],
143 'action': [
fischman@webrtc.org000dde92013-12-20 22:49:35 +0000144 'bash', '-ec',
145 'mkdir -p <(INTERMEDIATE_DIR) && '
146 '{ build/build_jar.sh <(java_home) <@(_outputs) '
147 ' <(INTERMEDIATE_DIR)/build_jar.tmp '
148 ' <(build_classpath) <@(java_files) '
149 ' > <(build_jar_log) 2>&1 || '
150 ' { cat <(build_jar_log) ; exit 1; } }'
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000151 ],
152 },
153 ],
154 'dependencies': [
155 'libjingle_peerconnection_so',
156 ],
157 },
158 ],
159 }],
tkchin@webrtc.orgff273322014-04-30 18:32:33 +0000160 ['OS=="ios" or (OS=="mac" and target_arch!="ia32" and mac_sdk>="10.7")', {
161 # The >= 10.7 above is required for ARC.
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000162 'targets': [
163 {
164 'target_name': 'libjingle_peerconnection_objc',
165 'type': 'static_library',
166 'dependencies': [
167 'libjingle_peerconnection',
168 ],
169 'sources': [
170 'app/webrtc/objc/RTCAudioTrack+Internal.h',
171 'app/webrtc/objc/RTCAudioTrack.mm',
tkchin@webrtc.orgff273322014-04-30 18:32:33 +0000172 'app/webrtc/objc/RTCDataChannel+Internal.h',
173 'app/webrtc/objc/RTCDataChannel.mm',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000174 'app/webrtc/objc/RTCEnumConverter.h',
175 'app/webrtc/objc/RTCEnumConverter.mm',
tkchin@webrtc.org1732a592014-05-19 23:26:01 +0000176 'app/webrtc/objc/RTCI420Frame+Internal.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000177 'app/webrtc/objc/RTCI420Frame.mm',
fischman@webrtc.org1bc19542013-08-01 18:29:45 +0000178 'app/webrtc/objc/RTCICECandidate+Internal.h',
179 'app/webrtc/objc/RTCICECandidate.mm',
180 'app/webrtc/objc/RTCICEServer+Internal.h',
181 'app/webrtc/objc/RTCICEServer.mm',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000182 'app/webrtc/objc/RTCMediaConstraints+Internal.h',
183 'app/webrtc/objc/RTCMediaConstraints.mm',
184 'app/webrtc/objc/RTCMediaConstraintsNative.cc',
185 'app/webrtc/objc/RTCMediaConstraintsNative.h',
186 'app/webrtc/objc/RTCMediaSource+Internal.h',
187 'app/webrtc/objc/RTCMediaSource.mm',
188 'app/webrtc/objc/RTCMediaStream+Internal.h',
189 'app/webrtc/objc/RTCMediaStream.mm',
190 'app/webrtc/objc/RTCMediaStreamTrack+Internal.h',
191 'app/webrtc/objc/RTCMediaStreamTrack.mm',
tkchin@webrtc.orgacca6752014-05-30 22:26:06 +0000192 'app/webrtc/objc/RTCOpenGLVideoRenderer.mm',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000193 'app/webrtc/objc/RTCPair.m',
194 'app/webrtc/objc/RTCPeerConnection+Internal.h',
195 'app/webrtc/objc/RTCPeerConnection.mm',
196 'app/webrtc/objc/RTCPeerConnectionFactory.mm',
197 'app/webrtc/objc/RTCPeerConnectionObserver.h',
198 'app/webrtc/objc/RTCPeerConnectionObserver.mm',
199 'app/webrtc/objc/RTCSessionDescription+Internal.h',
200 'app/webrtc/objc/RTCSessionDescription.mm',
tkchin@webrtc.org19b1be12014-04-22 21:05:38 +0000201 'app/webrtc/objc/RTCStatsReport+Internal.h',
202 'app/webrtc/objc/RTCStatsReport.mm',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000203 'app/webrtc/objc/RTCVideoCapturer+Internal.h',
204 'app/webrtc/objc/RTCVideoCapturer.mm',
205 'app/webrtc/objc/RTCVideoRenderer+Internal.h',
206 'app/webrtc/objc/RTCVideoRenderer.mm',
207 'app/webrtc/objc/RTCVideoSource+Internal.h',
208 'app/webrtc/objc/RTCVideoSource.mm',
209 'app/webrtc/objc/RTCVideoTrack+Internal.h',
210 'app/webrtc/objc/RTCVideoTrack.mm',
211 'app/webrtc/objc/public/RTCAudioSource.h',
212 'app/webrtc/objc/public/RTCAudioTrack.h',
tkchin@webrtc.orgff273322014-04-30 18:32:33 +0000213 'app/webrtc/objc/public/RTCDataChannel.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000214 'app/webrtc/objc/public/RTCI420Frame.h',
fischman@webrtc.org1bc19542013-08-01 18:29:45 +0000215 'app/webrtc/objc/public/RTCICECandidate.h',
216 'app/webrtc/objc/public/RTCICEServer.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000217 'app/webrtc/objc/public/RTCMediaConstraints.h',
218 'app/webrtc/objc/public/RTCMediaSource.h',
219 'app/webrtc/objc/public/RTCMediaStream.h',
220 'app/webrtc/objc/public/RTCMediaStreamTrack.h',
tkchin@webrtc.orgacca6752014-05-30 22:26:06 +0000221 'app/webrtc/objc/public/RTCOpenGLVideoRenderer.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000222 'app/webrtc/objc/public/RTCPair.h',
223 'app/webrtc/objc/public/RTCPeerConnection.h',
224 'app/webrtc/objc/public/RTCPeerConnectionDelegate.h',
225 'app/webrtc/objc/public/RTCPeerConnectionFactory.h',
226 'app/webrtc/objc/public/RTCSessionDescription.h',
tkchin@webrtc.orgec3d8ec2014-04-21 18:47:24 +0000227 'app/webrtc/objc/public/RTCSessionDescriptionDelegate.h',
tkchin@webrtc.org19b1be12014-04-22 21:05:38 +0000228 'app/webrtc/objc/public/RTCStatsDelegate.h',
229 'app/webrtc/objc/public/RTCStatsReport.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000230 'app/webrtc/objc/public/RTCTypes.h',
231 'app/webrtc/objc/public/RTCVideoCapturer.h',
232 'app/webrtc/objc/public/RTCVideoRenderer.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000233 'app/webrtc/objc/public/RTCVideoSource.h',
234 'app/webrtc/objc/public/RTCVideoTrack.h',
235 ],
fischman@webrtc.org1bc19542013-08-01 18:29:45 +0000236 'direct_dependent_settings': {
237 'include_dirs': [
238 '<(DEPTH)/talk/app/webrtc/objc/public',
239 ],
240 },
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000241 'include_dirs': [
242 '<(DEPTH)/talk/app/webrtc',
243 '<(DEPTH)/talk/app/webrtc/objc',
244 '<(DEPTH)/talk/app/webrtc/objc/public',
245 ],
246 'link_settings': {
247 'libraries': [
fischman@webrtc.org76fe9302013-09-19 21:11:08 +0000248 '-lstdc++',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000249 ],
250 },
251 'xcode_settings': {
252 'CLANG_ENABLE_OBJC_ARC': 'YES',
tkchin@webrtc.org19b1be12014-04-22 21:05:38 +0000253 # common.gypi enables this for mac but we want this to be disabled
254 # like it is for ios.
255 'CLANG_WARN_OBJC_MISSING_PROPERTY_SYNTHESIS': 'NO',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000256 },
tkchin@webrtc.orgff273322014-04-30 18:32:33 +0000257 'conditions': [
tkchin@webrtc.org1732a592014-05-19 23:26:01 +0000258 ['OS=="ios"', {
259 'sources': [
tkchin@webrtc.org1732a592014-05-19 23:26:01 +0000260 'app/webrtc/objc/RTCEAGLVideoView+Internal.h',
261 'app/webrtc/objc/RTCEAGLVideoView.m',
tkchin@webrtc.org1732a592014-05-19 23:26:01 +0000262 'app/webrtc/objc/public/RTCEAGLVideoView.h',
263 ],
264 'link_settings': {
265 'xcode_settings': {
266 'OTHER_LDFLAGS': [
267 '-framework CoreGraphics',
268 '-framework GLKit',
269 ],
270 },
271 },
272 }],
tkchin@webrtc.orgff273322014-04-30 18:32:33 +0000273 ['OS=="mac"', {
tkchin@webrtc.orgacca6752014-05-30 22:26:06 +0000274 'sources': [
275 'app/webrtc/objc/RTCNSGLVideoView.m',
276 'app/webrtc/objc/public/RTCNSGLVideoView.h',
277 ],
tkchin@webrtc.orgff273322014-04-30 18:32:33 +0000278 'xcode_settings': {
279 # Need to build against 10.7 framework for full ARC support
280 # on OSX.
281 'MACOSX_DEPLOYMENT_TARGET' : '10.7',
282 },
tkchin@webrtc.orgacca6752014-05-30 22:26:06 +0000283 'link_settings': {
284 'xcode_settings': {
285 'OTHER_LDFLAGS': [
286 '-framework Cocoa',
287 ],
288 },
289 },
tkchin@webrtc.orgff273322014-04-30 18:32:33 +0000290 }],
291 ],
fischman@webrtc.orge3de6b12013-08-26 19:31:21 +0000292 }, # target libjingle_peerconnection_objc
293 ],
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000294 }],
295 ],
296
297 'targets': [
298 {
299 'target_name': 'libjingle',
300 'type': 'static_library',
301 'dependencies': [
302 '<(DEPTH)/third_party/expat/expat.gyp:expat',
303 '<(DEPTH)/third_party/jsoncpp/jsoncpp.gyp:jsoncpp',
304 ],
305 'export_dependent_settings': [
306 '<(DEPTH)/third_party/expat/expat.gyp:expat',
307 '<(DEPTH)/third_party/jsoncpp/jsoncpp.gyp:jsoncpp',
308 ],
309 'sources': [
310 'base/asyncfile.cc',
311 'base/asyncfile.h',
312 'base/asynchttprequest.cc',
313 'base/asynchttprequest.h',
sergeyu@chromium.org9cf037b2014-02-07 19:03:26 +0000314 'base/asyncinvoker.cc',
315 'base/asyncinvoker.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000316 'base/asyncpacketsocket.h',
sergeyu@chromium.orga23f0ca2013-11-13 22:48:52 +0000317 'base/asyncresolverinterface.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000318 'base/asyncsocket.cc',
319 'base/asyncsocket.h',
320 'base/asynctcpsocket.cc',
321 'base/asynctcpsocket.h',
322 'base/asyncudpsocket.cc',
323 'base/asyncudpsocket.h',
324 'base/atomicops.h',
325 'base/autodetectproxy.cc',
326 'base/autodetectproxy.h',
327 'base/bandwidthsmoother.cc',
328 'base/bandwidthsmoother.h',
329 'base/base64.cc',
330 'base/base64.h',
331 'base/basicdefs.h',
332 'base/basictypes.h',
333 'base/bind.h',
334 'base/buffer.h',
335 'base/bytebuffer.cc',
336 'base/bytebuffer.h',
337 'base/byteorder.h',
sergeyu@chromium.org9cf037b2014-02-07 19:03:26 +0000338 'base/callback.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000339 'base/checks.cc',
340 'base/checks.h',
341 'base/common.cc',
342 'base/common.h',
343 'base/constructormagic.h',
344 'base/cpumonitor.cc',
345 'base/cpumonitor.h',
346 'base/crc32.cc',
347 'base/crc32.h',
348 'base/criticalsection.h',
349 'base/cryptstring.h',
350 'base/diskcache.cc',
351 'base/diskcache.h',
352 'base/event.cc',
353 'base/event.h',
354 'base/filelock.cc',
355 'base/filelock.h',
356 'base/fileutils.cc',
357 'base/fileutils.h',
358 'base/fileutils_mock.h',
359 'base/firewallsocketserver.cc',
360 'base/firewallsocketserver.h',
361 'base/flags.cc',
362 'base/flags.h',
363 'base/gunit_prod.h',
364 'base/helpers.cc',
365 'base/helpers.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000366 'base/httpbase.cc',
367 'base/httpbase.h',
368 'base/httpclient.cc',
369 'base/httpclient.h',
370 'base/httpcommon-inl.h',
371 'base/httpcommon.cc',
372 'base/httpcommon.h',
373 'base/httprequest.cc',
374 'base/httprequest.h',
375 'base/httpserver.cc',
376 'base/httpserver.h',
377 'base/ifaddrs-android.cc',
378 'base/ifaddrs-android.h',
379 'base/ipaddress.cc',
380 'base/ipaddress.h',
381 'base/json.cc',
382 'base/json.h',
383 'base/linked_ptr.h',
384 'base/linuxfdwalk.h',
385 'base/logging.cc',
386 'base/logging.h',
387 'base/maccocoathreadhelper.h',
388 'base/maccocoathreadhelper.mm',
389 'base/mathutils.h',
390 'base/md5.cc',
391 'base/md5.h',
392 'base/md5digest.h',
393 'base/messagedigest.cc',
394 'base/messagedigest.h',
395 'base/messagehandler.cc',
396 'base/messagehandler.h',
397 'base/messagequeue.cc',
398 'base/messagequeue.h',
399 'base/multipart.cc',
400 'base/multipart.h',
401 'base/natserver.cc',
402 'base/natserver.h',
403 'base/natsocketfactory.cc',
404 'base/natsocketfactory.h',
405 'base/nattypes.cc',
406 'base/nattypes.h',
407 'base/nethelpers.cc',
408 'base/nethelpers.h',
409 'base/network.cc',
410 'base/network.h',
411 'base/nssidentity.cc',
412 'base/nssidentity.h',
413 'base/nssstreamadapter.cc',
414 'base/nssstreamadapter.h',
415 'base/nullsocketserver.h',
416 'base/optionsfile.cc',
417 'base/optionsfile.h',
418 'base/pathutils.cc',
419 'base/pathutils.h',
420 'base/physicalsocketserver.cc',
421 'base/physicalsocketserver.h',
422 'base/profiler.cc',
423 'base/profiler.h',
424 'base/proxydetect.cc',
425 'base/proxydetect.h',
426 'base/proxyinfo.cc',
427 'base/proxyinfo.h',
428 'base/proxyserver.cc',
429 'base/proxyserver.h',
430 'base/ratelimiter.cc',
431 'base/ratelimiter.h',
432 'base/ratetracker.cc',
433 'base/ratetracker.h',
434 'base/refcount.h',
435 'base/referencecountedsingletonfactory.h',
436 'base/rollingaccumulator.h',
437 'base/scoped_autorelease_pool.h',
438 'base/scoped_ptr.h',
439 'base/scoped_ref_ptr.h',
sergeyu@chromium.org9cf037b2014-02-07 19:03:26 +0000440 'base/scopedptrcollection.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000441 'base/sec_buffer.h',
442 'base/sha1.cc',
443 'base/sha1.h',
444 'base/sha1digest.h',
445 'base/sharedexclusivelock.cc',
446 'base/sharedexclusivelock.h',
447 'base/signalthread.cc',
448 'base/signalthread.h',
449 'base/sigslot.h',
450 'base/sigslotrepeater.h',
451 'base/socket.h',
452 'base/socketadapters.cc',
453 'base/socketadapters.h',
454 'base/socketaddress.cc',
455 'base/socketaddress.h',
456 'base/socketaddresspair.cc',
457 'base/socketaddresspair.h',
458 'base/socketfactory.h',
459 'base/socketpool.cc',
460 'base/socketpool.h',
461 'base/socketserver.h',
462 'base/socketstream.cc',
463 'base/socketstream.h',
464 'base/ssladapter.cc',
465 'base/ssladapter.h',
466 'base/sslconfig.h',
sergeyu@chromium.org4b26e2e2014-01-15 23:15:54 +0000467 'base/sslfingerprint.cc',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000468 'base/sslfingerprint.h',
469 'base/sslidentity.cc',
470 'base/sslidentity.h',
471 'base/sslroots.h',
472 'base/sslsocketfactory.cc',
473 'base/sslsocketfactory.h',
474 'base/sslstreamadapter.cc',
475 'base/sslstreamadapter.h',
476 'base/sslstreamadapterhelper.cc',
477 'base/sslstreamadapterhelper.h',
478 'base/stream.cc',
479 'base/stream.h',
480 'base/stringdigest.h',
481 'base/stringencode.cc',
482 'base/stringencode.h',
483 'base/stringutils.cc',
484 'base/stringutils.h',
485 'base/systeminfo.cc',
486 'base/systeminfo.h',
487 'base/task.cc',
488 'base/task.h',
489 'base/taskparent.cc',
490 'base/taskparent.h',
491 'base/taskrunner.cc',
492 'base/taskrunner.h',
493 'base/testclient.cc',
494 'base/testclient.h',
495 'base/thread.cc',
496 'base/thread.h',
497 'base/timeutils.cc',
498 'base/timeutils.h',
499 'base/timing.cc',
500 'base/timing.h',
501 'base/transformadapter.cc',
502 'base/transformadapter.h',
503 'base/urlencode.cc',
504 'base/urlencode.h',
505 'base/versionparsing.cc',
506 'base/versionparsing.h',
507 'base/virtualsocketserver.cc',
508 'base/virtualsocketserver.h',
509 'base/window.h',
510 'base/windowpicker.h',
511 'base/windowpickerfactory.h',
512 'base/worker.cc',
513 'base/worker.h',
514 'xmllite/qname.cc',
515 'xmllite/qname.h',
516 'xmllite/xmlbuilder.cc',
517 'xmllite/xmlbuilder.h',
518 'xmllite/xmlconstants.cc',
519 'xmllite/xmlconstants.h',
520 'xmllite/xmlelement.cc',
521 'xmllite/xmlelement.h',
522 'xmllite/xmlnsstack.cc',
523 'xmllite/xmlnsstack.h',
524 'xmllite/xmlparser.cc',
525 'xmllite/xmlparser.h',
526 'xmllite/xmlprinter.cc',
527 'xmllite/xmlprinter.h',
528 'xmpp/asyncsocket.h',
529 'xmpp/chatroommodule.h',
530 'xmpp/chatroommoduleimpl.cc',
531 'xmpp/constants.cc',
532 'xmpp/constants.h',
533 'xmpp/discoitemsquerytask.cc',
534 'xmpp/discoitemsquerytask.h',
535 'xmpp/hangoutpubsubclient.cc',
536 'xmpp/hangoutpubsubclient.h',
537 'xmpp/iqtask.cc',
538 'xmpp/iqtask.h',
539 'xmpp/jid.cc',
540 'xmpp/jid.h',
541 'xmpp/module.h',
542 'xmpp/moduleimpl.cc',
543 'xmpp/moduleimpl.h',
544 'xmpp/mucroomconfigtask.cc',
545 'xmpp/mucroomconfigtask.h',
546 'xmpp/mucroomdiscoverytask.cc',
547 'xmpp/mucroomdiscoverytask.h',
548 'xmpp/mucroomlookuptask.cc',
549 'xmpp/mucroomlookuptask.h',
550 'xmpp/mucroomuniquehangoutidtask.cc',
551 'xmpp/mucroomuniquehangoutidtask.h',
552 'xmpp/pingtask.cc',
553 'xmpp/pingtask.h',
554 'xmpp/plainsaslhandler.h',
555 'xmpp/presenceouttask.cc',
556 'xmpp/presenceouttask.h',
557 'xmpp/presencereceivetask.cc',
558 'xmpp/presencereceivetask.h',
559 'xmpp/presencestatus.cc',
560 'xmpp/presencestatus.h',
561 'xmpp/prexmppauth.h',
562 'xmpp/pubsub_task.cc',
563 'xmpp/pubsub_task.h',
564 'xmpp/pubsubclient.cc',
565 'xmpp/pubsubclient.h',
mallinath@webrtc.org0dac5372014-01-28 06:58:42 +0000566 'xmpp/pubsubstateclient.cc',
567 'xmpp/pubsubstateclient.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000568 'xmpp/pubsubtasks.cc',
569 'xmpp/pubsubtasks.h',
570 'xmpp/receivetask.cc',
571 'xmpp/receivetask.h',
572 'xmpp/rostermodule.h',
573 'xmpp/rostermoduleimpl.cc',
574 'xmpp/rostermoduleimpl.h',
575 'xmpp/saslcookiemechanism.h',
576 'xmpp/saslhandler.h',
577 'xmpp/saslmechanism.cc',
578 'xmpp/saslmechanism.h',
579 'xmpp/saslplainmechanism.h',
580 'xmpp/xmppauth.cc',
581 'xmpp/xmppauth.h',
582 'xmpp/xmppclient.cc',
583 'xmpp/xmppclient.h',
584 'xmpp/xmppclientsettings.h',
585 'xmpp/xmppengine.h',
586 'xmpp/xmppengineimpl.cc',
587 'xmpp/xmppengineimpl.h',
588 'xmpp/xmppengineimpl_iq.cc',
589 'xmpp/xmpplogintask.cc',
590 'xmpp/xmpplogintask.h',
591 'xmpp/xmpppump.cc',
592 'xmpp/xmpppump.h',
593 'xmpp/xmppsocket.cc',
594 'xmpp/xmppsocket.h',
595 'xmpp/xmppstanzaparser.cc',
596 'xmpp/xmppstanzaparser.h',
597 'xmpp/xmpptask.cc',
598 'xmpp/xmpptask.h',
599 'xmpp/xmppthread.cc',
600 'xmpp/xmppthread.h',
601 ],
602 'conditions': [
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000603 ['OS=="android"', {
604 'sources': [
605 'base/ifaddrs-android.cc',
606 ],
607 'link_settings': {
608 'libraries': [
609 '-llog',
610 '-lGLESv2',
611 ],
612 },
613 }],
614 ['OS=="linux" or OS=="android"', {
615 'sources': [
616 'base/linux.cc',
617 'base/linux.h',
618 ],
619 }],
620 ['OS=="linux"', {
621 'sources': [
622 'base/dbus.cc',
623 'base/dbus.h',
624 'base/libdbusglibsymboltable.cc',
625 'base/libdbusglibsymboltable.h',
626 'base/linuxfdwalk.c',
627 'base/linuxwindowpicker.cc',
628 'base/linuxwindowpicker.h',
629 ],
630 'link_settings': {
631 'libraries': [
632 '-lcrypto',
633 '-ldl',
634 '-lrt',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000635 '-lXext',
636 '-lX11',
637 '-lXcomposite',
638 '-lXrender',
639 '<!@(<(pkg-config) --libs-only-l nss | sed -e "s/-lssl3//")',
640 ],
641 },
642 'cflags': [
643 '<!@(<(pkg-config) --cflags nss)',
644 ],
645 'ldflags': [
646 '<!@(<(pkg-config) --libs-only-L --libs-only-other nss)',
647 ],
648 }],
649 ['OS=="mac"', {
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000650 'sources': [
henrike@webrtc.org723d6832013-07-12 16:04:50 +0000651 'base/macasyncsocket.cc',
652 'base/macasyncsocket.h',
653 'base/maccocoasocketserver.h',
654 'base/maccocoasocketserver.mm',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000655 'base/macconversion.cc',
656 'base/macconversion.h',
henrike@webrtc.org723d6832013-07-12 16:04:50 +0000657 'base/macsocketserver.cc',
658 'base/macsocketserver.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000659 'base/macutils.cc',
660 'base/macutils.h',
661 'base/macwindowpicker.cc',
662 'base/macwindowpicker.h',
663 'base/scoped_autorelease_pool.mm',
664 ],
665 'link_settings': {
666 'libraries': [
fischman@webrtc.orge3de6b12013-08-26 19:31:21 +0000667 '$(SDKROOT)/usr/lib/libcrypto.dylib',
668 '$(SDKROOT)/usr/lib/libssl.dylib',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000669 ],
fischman@webrtc.orge3de6b12013-08-26 19:31:21 +0000670 },
671 'all_dependent_settings': {
672 'link_settings': {
673 'xcode_settings': {
674 'OTHER_LDFLAGS': [
675 '-framework Cocoa',
676 '-framework Foundation',
677 '-framework IOKit',
678 '-framework Security',
679 '-framework SystemConfiguration',
680 ],
681 },
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000682 },
683 },
fischman@webrtc.orge3de6b12013-08-26 19:31:21 +0000684 'conditions': [
685 ['target_arch=="ia32"', {
686 'all_dependent_settings': {
687 'link_settings': {
688 'xcode_settings': {
689 'OTHER_LDFLAGS': [
690 '-framework Carbon',
691 ],
692 },
693 },
694 },
695 }],
696 ],
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000697 }],
698 ['OS=="ios"', {
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000699 'sources': [
fischman@webrtc.orga86c42c2014-04-29 18:37:29 +0000700 'base/iosfilesystem.mm',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000701 'base/scoped_autorelease_pool.mm',
702 ],
fischman@webrtc.org1bc19542013-08-01 18:29:45 +0000703 'dependencies': [
704 '../net/third_party/nss/ssl.gyp:libssl',
705 ],
fischman@webrtc.orge3de6b12013-08-26 19:31:21 +0000706 'all_dependent_settings': {
707 'xcode_settings': {
708 'OTHER_LDFLAGS': [
709 '-framework Foundation',
fischman@webrtc.orge3de6b12013-08-26 19:31:21 +0000710 '-framework Security',
711 '-framework SystemConfiguration',
712 '-framework UIKit',
713 ],
714 },
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000715 },
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000716 }],
717 ['OS=="win"', {
718 'sources': [
719 'base/diskcache_win32.cc',
720 'base/diskcache_win32.h',
721 'base/schanneladapter.cc',
722 'base/schanneladapter.h',
723 'base/win32.cc',
724 'base/win32.h',
725 'base/win32filesystem.cc',
726 'base/win32filesystem.h',
727 'base/win32regkey.cc',
728 'base/win32regkey.h',
729 'base/win32securityerrors.cc',
730 'base/win32socketinit.cc',
731 'base/win32socketinit.h',
732 'base/win32socketserver.cc',
733 'base/win32socketserver.h',
734 'base/win32window.cc',
735 'base/win32window.h',
736 'base/win32windowpicker.cc',
737 'base/win32windowpicker.h',
738 'base/winfirewall.cc',
739 'base/winfirewall.h',
740 'base/winping.cc',
741 'base/winping.h',
742 ],
henrike@webrtc.org28654cb2013-07-22 21:07:49 +0000743 'link_settings': {
744 'libraries': [
745 '-lcrypt32.lib',
746 '-liphlpapi.lib',
747 '-lsecur32.lib',
748 ],
749 },
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000750 # Suppress warnings about WIN32_LEAN_AND_MEAN.
751 'msvs_disabled_warnings': [4005],
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000752 }],
753 ['os_posix==1', {
754 'sources': [
755 'base/latebindingsymboltable.cc',
756 'base/latebindingsymboltable.h',
757 'base/posix.cc',
758 'base/posix.h',
759 'base/unixfilesystem.cc',
760 'base/unixfilesystem.h',
761 ],
762 'conditions': [
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000763 ['OS!="ios"', {
764 'sources': [
wu@webrtc.orgb9a088b2014-02-13 23:18:49 +0000765 'base/openssl.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000766 'base/openssladapter.cc',
767 'base/openssladapter.h',
768 'base/openssldigest.cc',
769 'base/openssldigest.h',
770 'base/opensslidentity.cc',
771 'base/opensslidentity.h',
772 'base/opensslstreamadapter.cc',
773 'base/opensslstreamadapter.h',
774 ],
775 }],
776 ],
777 }],
778 ], # conditions
779 }, # target libjingle
780 {
781 'target_name': 'libjingle_sound',
782 'type': 'static_library',
783 'dependencies': [
784 'libjingle',
785 ],
786 'sources': [
787 'sound/automaticallychosensoundsystem.h',
788 'sound/nullsoundsystem.cc',
789 'sound/nullsoundsystem.h',
790 'sound/nullsoundsystemfactory.cc',
791 'sound/nullsoundsystemfactory.h',
792 'sound/platformsoundsystem.cc',
793 'sound/platformsoundsystem.h',
794 'sound/platformsoundsystemfactory.cc',
795 'sound/platformsoundsystemfactory.h',
796 'sound/sounddevicelocator.h',
797 'sound/soundinputstreaminterface.h',
798 'sound/soundoutputstreaminterface.h',
799 'sound/soundsystemfactory.h',
800 'sound/soundsysteminterface.cc',
801 'sound/soundsysteminterface.h',
802 'sound/soundsystemproxy.cc',
803 'sound/soundsystemproxy.h',
804 ],
805 'conditions': [
806 ['OS=="linux"', {
807 'sources': [
808 'sound/alsasoundsystem.cc',
809 'sound/alsasoundsystem.h',
810 'sound/alsasymboltable.cc',
811 'sound/alsasymboltable.h',
812 'sound/linuxsoundsystem.cc',
813 'sound/linuxsoundsystem.h',
814 'sound/pulseaudiosoundsystem.cc',
815 'sound/pulseaudiosoundsystem.h',
816 'sound/pulseaudiosymboltable.cc',
817 'sound/pulseaudiosymboltable.h',
818 ],
819 }],
820 ],
821 }, # target libjingle_sound
822 {
823 'target_name': 'libjingle_media',
824 'type': 'static_library',
jiayl@webrtc.orga576faf2014-01-29 17:45:53 +0000825 'include_dirs': [
826 # TODO(jiayl): move this into the direct_dependent_settings of
827 # usrsctp.gyp.
828 '<(DEPTH)/third_party/usrsctp',
829 ],
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000830 'dependencies': [
831 '<(DEPTH)/third_party/libyuv/libyuv.gyp:libyuv',
jiayl@webrtc.orga576faf2014-01-29 17:45:53 +0000832 '<(DEPTH)/third_party/usrsctp/usrsctp.gyp:usrsctplib',
henrike@webrtc.org9de257d2013-07-17 14:42:53 +0000833 '<(webrtc_root)/modules/modules.gyp:video_capture_module',
834 '<(webrtc_root)/modules/modules.gyp:video_render_module',
pbos@webrtc.orgb5a22b12014-05-13 11:07:01 +0000835 '<(webrtc_root)/webrtc.gyp:webrtc',
henrike@webrtc.org9de257d2013-07-17 14:42:53 +0000836 '<(webrtc_root)/voice_engine/voice_engine.gyp:voice_engine',
837 '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers',
andresp@webrtc.org581e2172014-05-14 13:12:45 +0000838 '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:field_trial_default',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000839 'libjingle',
840 'libjingle_sound',
841 ],
842 'direct_dependent_settings': {
843 'include_dirs': [
844 '<(DEPTH)/third_party/libyuv/include',
845 ],
846 },
847 'sources': [
848 'media/base/audioframe.h',
849 'media/base/audiorenderer.h',
850 'media/base/capturemanager.cc',
851 'media/base/capturemanager.h',
852 'media/base/capturerenderadapter.cc',
853 'media/base/capturerenderadapter.h',
854 'media/base/codec.cc',
855 'media/base/codec.h',
856 'media/base/constants.cc',
857 'media/base/constants.h',
858 'media/base/cpuid.cc',
859 'media/base/cpuid.h',
860 'media/base/cryptoparams.h',
861 'media/base/filemediaengine.cc',
862 'media/base/filemediaengine.h',
863 'media/base/hybriddataengine.h',
864 'media/base/hybridvideoengine.cc',
865 'media/base/hybridvideoengine.h',
866 'media/base/mediachannel.h',
867 'media/base/mediacommon.h',
868 'media/base/mediaengine.cc',
869 'media/base/mediaengine.h',
870 'media/base/mutedvideocapturer.cc',
871 'media/base/mutedvideocapturer.h',
872 'media/base/rtpdataengine.cc',
873 'media/base/rtpdataengine.h',
874 'media/base/rtpdump.cc',
875 'media/base/rtpdump.h',
876 'media/base/rtputils.cc',
877 'media/base/rtputils.h',
878 'media/base/screencastid.h',
879 'media/base/streamparams.cc',
880 'media/base/streamparams.h',
881 'media/base/videoadapter.cc',
882 'media/base/videoadapter.h',
883 'media/base/videocapturer.cc',
884 'media/base/videocapturer.h',
885 'media/base/videocommon.cc',
886 'media/base/videocommon.h',
887 'media/base/videoframe.cc',
888 'media/base/videoframe.h',
889 'media/base/videoprocessor.h',
890 'media/base/videorenderer.h',
891 'media/base/voiceprocessor.h',
mallinath@webrtc.orgecd622e2014-02-03 17:17:05 +0000892 'media/base/yuvframegenerator.cc',
893 'media/base/yuvframegenerator.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000894 'media/devices/deviceinfo.h',
895 'media/devices/devicemanager.cc',
896 'media/devices/devicemanager.h',
897 'media/devices/dummydevicemanager.h',
898 'media/devices/filevideocapturer.cc',
899 'media/devices/filevideocapturer.h',
900 'media/devices/videorendererfactory.h',
mallinath@webrtc.orgecd622e2014-02-03 17:17:05 +0000901 'media/devices/yuvframescapturer.cc',
902 'media/devices/yuvframescapturer.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000903 'media/other/linphonemediaengine.h',
jiayl@webrtc.orga576faf2014-01-29 17:45:53 +0000904 'media/sctp/sctpdataengine.cc',
905 'media/sctp/sctpdataengine.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000906 'media/webrtc/webrtccommon.h',
907 'media/webrtc/webrtcexport.h',
908 'media/webrtc/webrtcmediaengine.h',
909 'media/webrtc/webrtcpassthroughrender.cc',
910 'media/webrtc/webrtcpassthroughrender.h',
wu@webrtc.org9dba5252013-08-05 20:36:57 +0000911 'media/webrtc/webrtctexturevideoframe.cc',
912 'media/webrtc/webrtctexturevideoframe.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000913 'media/webrtc/webrtcvideocapturer.cc',
914 'media/webrtc/webrtcvideocapturer.h',
915 'media/webrtc/webrtcvideodecoderfactory.h',
916 'media/webrtc/webrtcvideoencoderfactory.h',
917 'media/webrtc/webrtcvideoengine.cc',
918 'media/webrtc/webrtcvideoengine.h',
pbos@webrtc.orgb5a22b12014-05-13 11:07:01 +0000919 'media/webrtc/webrtcvideoengine2.cc',
920 'media/webrtc/webrtcvideoengine2.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000921 'media/webrtc/webrtcvideoframe.cc',
922 'media/webrtc/webrtcvideoframe.h',
923 'media/webrtc/webrtcvie.h',
924 'media/webrtc/webrtcvoe.h',
925 'media/webrtc/webrtcvoiceengine.cc',
926 'media/webrtc/webrtcvoiceengine.h',
927 ],
928 'conditions': [
929 ['OS=="linux"', {
930 'sources': [
931 'media/devices/gtkvideorenderer.cc',
932 'media/devices/gtkvideorenderer.h',
933 'media/devices/libudevsymboltable.cc',
934 'media/devices/libudevsymboltable.h',
935 'media/devices/linuxdeviceinfo.cc',
936 'media/devices/linuxdevicemanager.cc',
937 'media/devices/linuxdevicemanager.h',
938 'media/devices/v4llookup.cc',
939 'media/devices/v4llookup.h',
940 ],
941 'include_dirs': [
942 'third_party/libudev'
943 ],
944 'cflags': [
945 '<!@(pkg-config --cflags gobject-2.0 gthread-2.0 gtk+-2.0)',
946 ],
947 'libraries': [
948 '-lrt',
949 '-lXext',
950 '-lX11',
951 ],
952 }],
953 ['OS=="win"', {
954 'sources': [
955 'media/devices/gdivideorenderer.cc',
956 'media/devices/gdivideorenderer.h',
957 'media/devices/win32deviceinfo.cc',
958 'media/devices/win32devicemanager.cc',
959 'media/devices/win32devicemanager.h',
960 ],
961 'msvs_settings': {
962 'VCLibrarianTool': {
963 'AdditionalDependencies': [
964 'd3d9.lib',
965 'gdi32.lib',
966 'strmiids.lib',
967 'winmm.lib',
968 ],
969 },
970 },
971 }],
972 ['OS=="mac"', {
973 'sources': [
974 'media/devices/macdeviceinfo.cc',
975 'media/devices/macdevicemanager.cc',
976 'media/devices/macdevicemanager.h',
977 'media/devices/macdevicemanagermm.mm',
978 ],
979 'conditions': [
fischman@webrtc.orge3de6b12013-08-26 19:31:21 +0000980 ['target_arch=="ia32"', {
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000981 'sources': [
982 'media/devices/carbonvideorenderer.cc',
983 'media/devices/carbonvideorenderer.h',
984 ],
fischman@webrtc.orge3de6b12013-08-26 19:31:21 +0000985 'link_settings': {
986 'xcode_settings': {
987 'OTHER_LDFLAGS': [
988 '-framework Carbon',
989 ],
990 },
991 },
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000992 }],
993 ],
994 'xcode_settings': {
995 'WARNING_CFLAGS': [
996 # TODO(ronghuawu): Update macdevicemanager.cc to stop using
997 # deprecated functions and remove this flag.
998 '-Wno-deprecated-declarations',
999 ],
1000 },
1001 'link_settings': {
1002 'xcode_settings': {
1003 'OTHER_LDFLAGS': [
1004 '-framework Cocoa',
1005 '-framework CoreAudio',
1006 '-framework CoreVideo',
1007 '-framework OpenGL',
1008 '-framework QTKit',
1009 ],
1010 },
1011 },
1012 }],
1013 ['OS=="ios"', {
1014 'sources': [
henrike@webrtc.org28e20752013-07-10 00:45:36 +00001015 'media/devices/mobiledevicemanager.cc',
1016 ],
1017 'include_dirs': [
1018 # TODO(sjlee) Remove when vp8 is building for iOS. vp8 pulls in
1019 # libjpeg which pulls in libyuv which currently disabled.
1020 '../third_party/libyuv/include',
1021 ],
jiayl@webrtc.orga576faf2014-01-29 17:45:53 +00001022 'dependencies!': [
1023 '<(DEPTH)/third_party/usrsctp/usrsctp.gyp:usrsctplib',
1024 ],
1025 'sources!': [
1026 'media/sctp/sctpdataengine.cc',
1027 'media/sctp/sctpdataengine.h',
1028 ],
henrike@webrtc.org28e20752013-07-10 00:45:36 +00001029 }],
1030 ['OS=="android"', {
1031 'sources': [
1032 'media/devices/mobiledevicemanager.cc',
1033 ],
1034 }],
1035 ],
1036 }, # target libjingle_media
1037 {
1038 'target_name': 'libjingle_p2p',
1039 'type': 'static_library',
1040 'dependencies': [
1041 '<(DEPTH)/third_party/libsrtp/libsrtp.gyp:libsrtp',
1042 'libjingle',
1043 'libjingle_media',
1044 ],
1045 'include_dirs': [
henrike@webrtc.org723d6832013-07-12 16:04:50 +00001046 '<(DEPTH)/testing/gtest/include',
henrike@webrtc.org28e20752013-07-10 00:45:36 +00001047 ],
1048 'direct_dependent_settings': {
1049 'include_dirs': [
henrike@webrtc.org723d6832013-07-12 16:04:50 +00001050 '<(DEPTH)/testing/gtest/include',
henrike@webrtc.org28e20752013-07-10 00:45:36 +00001051 ],
1052 },
henrike@webrtc.org28e20752013-07-10 00:45:36 +00001053 'sources': [
1054 'p2p/base/asyncstuntcpsocket.cc',
1055 'p2p/base/asyncstuntcpsocket.h',
1056 'p2p/base/basicpacketsocketfactory.cc',
1057 'p2p/base/basicpacketsocketfactory.h',
1058 'p2p/base/candidate.h',
1059 'p2p/base/common.h',
1060 'p2p/base/constants.cc',
1061 'p2p/base/constants.h',
1062 'p2p/base/dtlstransportchannel.cc',
1063 'p2p/base/dtlstransportchannel.h',
1064 'p2p/base/p2ptransport.cc',
1065 'p2p/base/p2ptransport.h',
1066 'p2p/base/p2ptransportchannel.cc',
1067 'p2p/base/p2ptransportchannel.h',
1068 'p2p/base/packetsocketfactory.h',
1069 'p2p/base/parsing.cc',
1070 'p2p/base/parsing.h',
1071 'p2p/base/port.cc',
1072 'p2p/base/port.h',
1073 'p2p/base/portallocator.cc',
1074 'p2p/base/portallocator.h',
1075 'p2p/base/portallocatorsessionproxy.cc',
1076 'p2p/base/portallocatorsessionproxy.h',
1077 'p2p/base/portinterface.h',
1078 'p2p/base/portproxy.cc',
1079 'p2p/base/portproxy.h',
1080 'p2p/base/pseudotcp.cc',
1081 'p2p/base/pseudotcp.h',
1082 'p2p/base/rawtransport.cc',
1083 'p2p/base/rawtransport.h',
1084 'p2p/base/rawtransportchannel.cc',
1085 'p2p/base/rawtransportchannel.h',
1086 'p2p/base/relayport.cc',
1087 'p2p/base/relayport.h',
1088 'p2p/base/relayserver.cc',
1089 'p2p/base/relayserver.h',
1090 'p2p/base/session.cc',
1091 'p2p/base/session.h',
1092 'p2p/base/sessionclient.h',
1093 'p2p/base/sessiondescription.cc',
1094 'p2p/base/sessiondescription.h',
1095 'p2p/base/sessionid.h',
1096 'p2p/base/sessionmanager.cc',
1097 'p2p/base/sessionmanager.h',
1098 'p2p/base/sessionmessages.cc',
1099 'p2p/base/sessionmessages.h',
1100 'p2p/base/stun.cc',
1101 'p2p/base/stun.h',
1102 'p2p/base/stunport.cc',
1103 'p2p/base/stunport.h',
1104 'p2p/base/stunrequest.cc',
1105 'p2p/base/stunrequest.h',
1106 'p2p/base/stunserver.cc',
1107 'p2p/base/stunserver.h',
1108 'p2p/base/tcpport.cc',
1109 'p2p/base/tcpport.h',
1110 'p2p/base/transport.cc',
1111 'p2p/base/transport.h',
1112 'p2p/base/transportchannel.cc',
1113 'p2p/base/transportchannel.h',
1114 'p2p/base/transportchannelimpl.h',
1115 'p2p/base/transportchannelproxy.cc',
1116 'p2p/base/transportchannelproxy.h',
sergeyu@chromium.org492e3152013-08-24 00:06:43 +00001117 'p2p/base/transportdescription.cc',
henrike@webrtc.org28e20752013-07-10 00:45:36 +00001118 'p2p/base/transportdescription.h',
1119 'p2p/base/transportdescriptionfactory.cc',
1120 'p2p/base/transportdescriptionfactory.h',
1121 'p2p/base/transportinfo.h',
1122 'p2p/base/turnport.cc',
1123 'p2p/base/turnport.h',
1124 'p2p/base/turnserver.cc',
1125 'p2p/base/turnserver.h',
1126 'p2p/base/udpport.h',
1127 'p2p/client/autoportallocator.h',
1128 'p2p/client/basicportallocator.cc',
1129 'p2p/client/basicportallocator.h',
1130 'p2p/client/connectivitychecker.cc',
1131 'p2p/client/connectivitychecker.h',
1132 'p2p/client/httpportallocator.cc',
1133 'p2p/client/httpportallocator.h',
1134 'p2p/client/sessionmanagertask.h',
1135 'p2p/client/sessionsendtask.h',
1136 'p2p/client/socketmonitor.cc',
1137 'p2p/client/socketmonitor.h',
1138 'session/tunnel/pseudotcpchannel.cc',
1139 'session/tunnel/pseudotcpchannel.h',
1140 'session/tunnel/tunnelsessionclient.cc',
1141 'session/tunnel/tunnelsessionclient.h',
1142 'session/tunnel/securetunnelsessionclient.cc',
1143 'session/tunnel/securetunnelsessionclient.h',
1144 'session/media/audiomonitor.cc',
1145 'session/media/audiomonitor.h',
buildbot@webrtc.org5ee0f052014-05-05 20:18:08 +00001146 'session/media/bundlefilter.cc',
1147 'session/media/bundlefilter.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +00001148 'session/media/call.cc',
1149 'session/media/call.h',
1150 'session/media/channel.cc',
1151 'session/media/channel.h',
1152 'session/media/channelmanager.cc',
1153 'session/media/channelmanager.h',
1154 'session/media/currentspeakermonitor.cc',
1155 'session/media/currentspeakermonitor.h',
1156 'session/media/mediamessages.cc',
1157 'session/media/mediamessages.h',
1158 'session/media/mediamonitor.cc',
1159 'session/media/mediamonitor.h',
1160 'session/media/mediarecorder.cc',
1161 'session/media/mediarecorder.h',
1162 'session/media/mediasession.cc',
1163 'session/media/mediasession.h',
1164 'session/media/mediasessionclient.cc',
1165 'session/media/mediasessionclient.h',
1166 'session/media/mediasink.h',
1167 'session/media/rtcpmuxfilter.cc',
1168 'session/media/rtcpmuxfilter.h',
1169 'session/media/soundclip.cc',
1170 'session/media/soundclip.h',
1171 'session/media/srtpfilter.cc',
1172 'session/media/srtpfilter.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +00001173 'session/media/typingmonitor.cc',
1174 'session/media/typingmonitor.h',
1175 'session/media/voicechannel.h',
1176 ],
1177 }, # target libjingle_p2p
1178 {
1179 'target_name': 'libjingle_peerconnection',
1180 'type': 'static_library',
1181 'dependencies': [
1182 'libjingle',
1183 'libjingle_media',
1184 'libjingle_p2p',
1185 ],
1186 'sources': [
1187 'app/webrtc/audiotrack.cc',
1188 'app/webrtc/audiotrack.h',
1189 'app/webrtc/audiotrackrenderer.cc',
1190 'app/webrtc/audiotrackrenderer.h',
1191 'app/webrtc/datachannel.cc',
1192 'app/webrtc/datachannel.h',
1193 'app/webrtc/datachannelinterface.h',
1194 'app/webrtc/dtmfsender.cc',
1195 'app/webrtc/dtmfsender.h',
1196 'app/webrtc/dtmfsenderinterface.h',
1197 'app/webrtc/fakeportallocatorfactory.h',
1198 'app/webrtc/jsep.h',
1199 'app/webrtc/jsepicecandidate.cc',
1200 'app/webrtc/jsepicecandidate.h',
1201 'app/webrtc/jsepsessiondescription.cc',
1202 'app/webrtc/jsepsessiondescription.h',
1203 'app/webrtc/localaudiosource.cc',
1204 'app/webrtc/localaudiosource.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +00001205 'app/webrtc/mediaconstraintsinterface.cc',
1206 'app/webrtc/mediaconstraintsinterface.h',
1207 'app/webrtc/mediastream.cc',
1208 'app/webrtc/mediastream.h',
1209 'app/webrtc/mediastreamhandler.cc',
1210 'app/webrtc/mediastreamhandler.h',
1211 'app/webrtc/mediastreaminterface.h',
1212 'app/webrtc/mediastreamprovider.h',
1213 'app/webrtc/mediastreamproxy.h',
1214 'app/webrtc/mediastreamsignaling.cc',
1215 'app/webrtc/mediastreamsignaling.h',
1216 'app/webrtc/mediastreamtrack.h',
1217 'app/webrtc/mediastreamtrackproxy.h',
1218 'app/webrtc/notifier.h',
1219 'app/webrtc/peerconnection.cc',
1220 'app/webrtc/peerconnection.h',
1221 'app/webrtc/peerconnectionfactory.cc',
1222 'app/webrtc/peerconnectionfactory.h',
1223 'app/webrtc/peerconnectioninterface.h',
1224 'app/webrtc/peerconnectionproxy.h',
1225 'app/webrtc/portallocatorfactory.cc',
1226 'app/webrtc/portallocatorfactory.h',
1227 'app/webrtc/proxy.h',
wu@webrtc.orgb9a088b2014-02-13 23:18:49 +00001228 'app/webrtc/remoteaudiosource.cc',
1229 'app/webrtc/remoteaudiosource.h',
wu@webrtc.org967bfff2013-09-19 05:49:50 +00001230 'app/webrtc/remotevideocapturer.cc',
1231 'app/webrtc/remotevideocapturer.h',
henrika@webrtc.orgaebb1ad2014-01-14 10:00:58 +00001232 'app/webrtc/sctputils.cc',
1233 'app/webrtc/sctputils.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +00001234 'app/webrtc/statscollector.cc',
1235 'app/webrtc/statscollector.h',
1236 'app/webrtc/statstypes.h',
1237 'app/webrtc/streamcollection.h',
wu@webrtc.org967bfff2013-09-19 05:49:50 +00001238 'app/webrtc/videosource.cc',
1239 'app/webrtc/videosource.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +00001240 'app/webrtc/videosourceinterface.h',
1241 'app/webrtc/videosourceproxy.h',
1242 'app/webrtc/videotrack.cc',
1243 'app/webrtc/videotrack.h',
1244 'app/webrtc/videotrackrenderers.cc',
1245 'app/webrtc/videotrackrenderers.h',
1246 'app/webrtc/webrtcsdp.cc',
1247 'app/webrtc/webrtcsdp.h',
1248 'app/webrtc/webrtcsession.cc',
1249 'app/webrtc/webrtcsession.h',
wu@webrtc.org91053e72013-08-10 07:18:04 +00001250 'app/webrtc/webrtcsessiondescriptionfactory.cc',
1251 'app/webrtc/webrtcsessiondescriptionfactory.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +00001252 ],
1253 }, # target libjingle_peerconnection
1254 ],
1255}