blob: f74ddc1d77b22ea9ccd92e1ce07a333e2de04481 [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'],
30
31 'conditions': [
32 ['os_posix == 1 and OS != "mac" and OS != "ios"', {
33 'conditions': [
34 ['sysroot!=""', {
35 'variables': {
36 'pkg-config': '../../../build/linux/pkg-config-wrapper "<(sysroot)" "<(target_arch)"',
37 },
38 }, {
39 'variables': {
40 'pkg-config': 'pkg-config'
41 },
42 }],
43 ],
44 }],
45
46 ['OS=="linux" or OS=="android"', {
47 'targets': [
48 {
49 'target_name': 'libjingle_peerconnection_so',
50 'type': 'loadable_module',
51 'dependencies': [
52 'libjingle_peerconnection',
53 '<(DEPTH)/third_party/icu/icu.gyp:icuuc',
54 ],
55 'sources': [
56 'app/webrtc/java/jni/peerconnection_jni.cc'
57 ],
58 'conditions': [
59 ['OS=="linux"', {
60 'defines': [
61 'HAVE_GTK',
62 ],
63 'include_dirs': [
64 '<(java_home)/include',
65 '<(java_home)/include/linux',
66 ],
67 'link_settings': {
68 'libraries': [
69 '<!@(pkg-config --libs-only-l gobject-2.0 gthread-2.0'
70 ' gtk+-2.0)',
71 ],
72 },
73 }],
74 ],
75 },
76 {
77 'target_name': 'libjingle_peerconnection_jar',
78 'type': 'none',
79 'actions': [
80 {
81 'variables': {
82 'java_src_dir': 'app/webrtc/java/src',
henrike@webrtc.org9de257d2013-07-17 14:42:53 +000083 'webrtc_modules_dir': '<(webrtc_root)/modules',
henrike@webrtc.org28e20752013-07-10 00:45:36 +000084 'peerconnection_java_files': [
85 'app/webrtc/java/src/org/webrtc/AudioSource.java',
86 'app/webrtc/java/src/org/webrtc/AudioTrack.java',
henrike@webrtc.org723d6832013-07-12 16:04:50 +000087 'app/webrtc/java/src/org/webrtc/DataChannel.java',
henrike@webrtc.org28e20752013-07-10 00:45:36 +000088 'app/webrtc/java/src/org/webrtc/IceCandidate.java',
89 'app/webrtc/java/src/org/webrtc/MediaConstraints.java',
90 'app/webrtc/java/src/org/webrtc/MediaSource.java',
91 'app/webrtc/java/src/org/webrtc/MediaStream.java',
92 'app/webrtc/java/src/org/webrtc/MediaStreamTrack.java',
93 'app/webrtc/java/src/org/webrtc/PeerConnectionFactory.java',
94 'app/webrtc/java/src/org/webrtc/PeerConnection.java',
95 'app/webrtc/java/src/org/webrtc/SdpObserver.java',
96 'app/webrtc/java/src/org/webrtc/StatsObserver.java',
97 'app/webrtc/java/src/org/webrtc/StatsReport.java',
98 'app/webrtc/java/src/org/webrtc/SessionDescription.java',
99 'app/webrtc/java/src/org/webrtc/VideoCapturer.java',
100 'app/webrtc/java/src/org/webrtc/VideoRenderer.java',
101 'app/webrtc/java/src/org/webrtc/VideoSource.java',
102 'app/webrtc/java/src/org/webrtc/VideoTrack.java',
103 ],
104 # TODO(fischman): extract this into a webrtc gyp var that can be
105 # included here, or better yet, build a proper .jar in webrtc
106 # and include it here.
107 'android_java_files': [
henrike@webrtc.org9de257d2013-07-17 14:42:53 +0000108 '<(webrtc_modules_dir)/audio_device/android/java/src/org/webrtc/voiceengine/WebRTCAudioDevice.java',
109 '<(webrtc_modules_dir)/video_capture/android/java/src/org/webrtc/videoengine/CaptureCapabilityAndroid.java',
110 '<(webrtc_modules_dir)/video_capture/android/java/src/org/webrtc/videoengine/VideoCaptureAndroid.java',
111 '<(webrtc_modules_dir)/video_capture/android/java/src/org/webrtc/videoengine/VideoCaptureDeviceInfoAndroid.java',
112 '<(webrtc_modules_dir)/video_render/android/java/src/org/webrtc/videoengine/ViEAndroidGLES20.java',
113 '<(webrtc_modules_dir)/video_render/android/java/src/org/webrtc/videoengine/ViERenderer.java',
114 '<(webrtc_modules_dir)/video_render/android/java/src/org/webrtc/videoengine/ViESurfaceRenderer.java',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000115 ],
116 },
117 'action_name': 'create_jar',
118 'inputs': [
119 'build/build_jar.sh',
120 '<@(java_files)',
121 ],
122 'outputs': [
123 '<(PRODUCT_DIR)/libjingle_peerconnection.jar',
124 ],
125 'conditions': [
126 ['OS=="android"', {
127 'variables': {
128 'java_files': ['<@(peerconnection_java_files)', '<@(android_java_files)'],
129 'build_classpath': '<(java_src_dir):<(DEPTH)/third_party/android_tools/sdk/platforms/android-<(android_sdk_version)/android.jar',
130 },
131 }, {
132 'variables': {
133 'java_files': ['<@(peerconnection_java_files)'],
134 'build_classpath': '<(java_src_dir)',
135 },
136 }],
137 ],
138 'action': [
139 'build/build_jar.sh', '<(java_home)', '<@(_outputs)',
140 '<(INTERMEDIATE_DIR)',
141 '<(build_classpath)',
142 '<@(java_files)'
143 ],
144 },
145 ],
146 'dependencies': [
147 'libjingle_peerconnection_so',
148 ],
149 },
150 ],
151 }],
152 ['libjingle_objc == 1', {
153 'targets': [
154 {
155 'target_name': 'libjingle_peerconnection_objc',
156 'type': 'static_library',
157 'dependencies': [
158 'libjingle_peerconnection',
159 ],
160 'sources': [
161 'app/webrtc/objc/RTCAudioTrack+Internal.h',
162 'app/webrtc/objc/RTCAudioTrack.mm',
163 'app/webrtc/objc/RTCEnumConverter.h',
164 'app/webrtc/objc/RTCEnumConverter.mm',
165 'app/webrtc/objc/RTCI420Frame.mm',
fischman@webrtc.org1bc19542013-08-01 18:29:45 +0000166 'app/webrtc/objc/RTCICECandidate+Internal.h',
167 'app/webrtc/objc/RTCICECandidate.mm',
168 'app/webrtc/objc/RTCICEServer+Internal.h',
169 'app/webrtc/objc/RTCICEServer.mm',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000170 'app/webrtc/objc/RTCMediaConstraints+Internal.h',
171 'app/webrtc/objc/RTCMediaConstraints.mm',
172 'app/webrtc/objc/RTCMediaConstraintsNative.cc',
173 'app/webrtc/objc/RTCMediaConstraintsNative.h',
174 'app/webrtc/objc/RTCMediaSource+Internal.h',
175 'app/webrtc/objc/RTCMediaSource.mm',
176 'app/webrtc/objc/RTCMediaStream+Internal.h',
177 'app/webrtc/objc/RTCMediaStream.mm',
178 'app/webrtc/objc/RTCMediaStreamTrack+Internal.h',
179 'app/webrtc/objc/RTCMediaStreamTrack.mm',
180 'app/webrtc/objc/RTCPair.m',
181 'app/webrtc/objc/RTCPeerConnection+Internal.h',
182 'app/webrtc/objc/RTCPeerConnection.mm',
183 'app/webrtc/objc/RTCPeerConnectionFactory.mm',
184 'app/webrtc/objc/RTCPeerConnectionObserver.h',
185 'app/webrtc/objc/RTCPeerConnectionObserver.mm',
186 'app/webrtc/objc/RTCSessionDescription+Internal.h',
187 'app/webrtc/objc/RTCSessionDescription.mm',
188 'app/webrtc/objc/RTCVideoCapturer+Internal.h',
189 'app/webrtc/objc/RTCVideoCapturer.mm',
190 'app/webrtc/objc/RTCVideoRenderer+Internal.h',
191 'app/webrtc/objc/RTCVideoRenderer.mm',
192 'app/webrtc/objc/RTCVideoSource+Internal.h',
193 'app/webrtc/objc/RTCVideoSource.mm',
194 'app/webrtc/objc/RTCVideoTrack+Internal.h',
195 'app/webrtc/objc/RTCVideoTrack.mm',
196 'app/webrtc/objc/public/RTCAudioSource.h',
197 'app/webrtc/objc/public/RTCAudioTrack.h',
198 'app/webrtc/objc/public/RTCI420Frame.h',
fischman@webrtc.org1bc19542013-08-01 18:29:45 +0000199 'app/webrtc/objc/public/RTCICECandidate.h',
200 'app/webrtc/objc/public/RTCICEServer.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000201 'app/webrtc/objc/public/RTCMediaConstraints.h',
202 'app/webrtc/objc/public/RTCMediaSource.h',
203 'app/webrtc/objc/public/RTCMediaStream.h',
204 'app/webrtc/objc/public/RTCMediaStreamTrack.h',
205 'app/webrtc/objc/public/RTCPair.h',
206 'app/webrtc/objc/public/RTCPeerConnection.h',
207 'app/webrtc/objc/public/RTCPeerConnectionDelegate.h',
208 'app/webrtc/objc/public/RTCPeerConnectionFactory.h',
209 'app/webrtc/objc/public/RTCSessionDescription.h',
210 'app/webrtc/objc/public/RTCSessionDescriptonDelegate.h',
211 'app/webrtc/objc/public/RTCTypes.h',
212 'app/webrtc/objc/public/RTCVideoCapturer.h',
213 'app/webrtc/objc/public/RTCVideoRenderer.h',
214 'app/webrtc/objc/public/RTCVideoRendererDelegate.h',
215 'app/webrtc/objc/public/RTCVideoSource.h',
216 'app/webrtc/objc/public/RTCVideoTrack.h',
217 ],
fischman@webrtc.org1bc19542013-08-01 18:29:45 +0000218 'direct_dependent_settings': {
219 'include_dirs': [
220 '<(DEPTH)/talk/app/webrtc/objc/public',
221 ],
222 },
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000223 'include_dirs': [
224 '<(DEPTH)/talk/app/webrtc',
225 '<(DEPTH)/talk/app/webrtc/objc',
226 '<(DEPTH)/talk/app/webrtc/objc/public',
227 ],
228 'link_settings': {
229 'libraries': [
230 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
231 ],
232 },
233 'xcode_settings': {
234 'CLANG_ENABLE_OBJC_ARC': 'YES',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000235 },
236 }
237 ]
238 }],
239 ],
240
241 'targets': [
242 {
243 'target_name': 'libjingle',
244 'type': 'static_library',
245 'dependencies': [
246 '<(DEPTH)/third_party/expat/expat.gyp:expat',
247 '<(DEPTH)/third_party/jsoncpp/jsoncpp.gyp:jsoncpp',
248 ],
249 'export_dependent_settings': [
250 '<(DEPTH)/third_party/expat/expat.gyp:expat',
251 '<(DEPTH)/third_party/jsoncpp/jsoncpp.gyp:jsoncpp',
252 ],
253 'sources': [
254 'base/asyncfile.cc',
255 'base/asyncfile.h',
256 'base/asynchttprequest.cc',
257 'base/asynchttprequest.h',
258 'base/asyncpacketsocket.h',
259 'base/asyncsocket.cc',
260 'base/asyncsocket.h',
261 'base/asynctcpsocket.cc',
262 'base/asynctcpsocket.h',
263 'base/asyncudpsocket.cc',
264 'base/asyncudpsocket.h',
265 'base/atomicops.h',
266 'base/autodetectproxy.cc',
267 'base/autodetectproxy.h',
268 'base/bandwidthsmoother.cc',
269 'base/bandwidthsmoother.h',
270 'base/base64.cc',
271 'base/base64.h',
272 'base/basicdefs.h',
273 'base/basictypes.h',
274 'base/bind.h',
275 'base/buffer.h',
276 'base/bytebuffer.cc',
277 'base/bytebuffer.h',
278 'base/byteorder.h',
279 'base/checks.cc',
280 'base/checks.h',
281 'base/common.cc',
282 'base/common.h',
283 'base/constructormagic.h',
284 'base/cpumonitor.cc',
285 'base/cpumonitor.h',
286 'base/crc32.cc',
287 'base/crc32.h',
288 'base/criticalsection.h',
289 'base/cryptstring.h',
290 'base/diskcache.cc',
291 'base/diskcache.h',
292 'base/event.cc',
293 'base/event.h',
294 'base/filelock.cc',
295 'base/filelock.h',
296 'base/fileutils.cc',
297 'base/fileutils.h',
298 'base/fileutils_mock.h',
299 'base/firewallsocketserver.cc',
300 'base/firewallsocketserver.h',
301 'base/flags.cc',
302 'base/flags.h',
303 'base/gunit_prod.h',
304 'base/helpers.cc',
305 'base/helpers.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000306 'base/httpbase.cc',
307 'base/httpbase.h',
308 'base/httpclient.cc',
309 'base/httpclient.h',
310 'base/httpcommon-inl.h',
311 'base/httpcommon.cc',
312 'base/httpcommon.h',
313 'base/httprequest.cc',
314 'base/httprequest.h',
315 'base/httpserver.cc',
316 'base/httpserver.h',
317 'base/ifaddrs-android.cc',
318 'base/ifaddrs-android.h',
319 'base/ipaddress.cc',
320 'base/ipaddress.h',
321 'base/json.cc',
322 'base/json.h',
323 'base/linked_ptr.h',
324 'base/linuxfdwalk.h',
325 'base/logging.cc',
326 'base/logging.h',
327 'base/maccocoathreadhelper.h',
328 'base/maccocoathreadhelper.mm',
329 'base/mathutils.h',
330 'base/md5.cc',
331 'base/md5.h',
332 'base/md5digest.h',
333 'base/messagedigest.cc',
334 'base/messagedigest.h',
335 'base/messagehandler.cc',
336 'base/messagehandler.h',
337 'base/messagequeue.cc',
338 'base/messagequeue.h',
339 'base/multipart.cc',
340 'base/multipart.h',
341 'base/natserver.cc',
342 'base/natserver.h',
343 'base/natsocketfactory.cc',
344 'base/natsocketfactory.h',
345 'base/nattypes.cc',
346 'base/nattypes.h',
347 'base/nethelpers.cc',
348 'base/nethelpers.h',
349 'base/network.cc',
350 'base/network.h',
351 'base/nssidentity.cc',
352 'base/nssidentity.h',
353 'base/nssstreamadapter.cc',
354 'base/nssstreamadapter.h',
355 'base/nullsocketserver.h',
356 'base/optionsfile.cc',
357 'base/optionsfile.h',
358 'base/pathutils.cc',
359 'base/pathutils.h',
360 'base/physicalsocketserver.cc',
361 'base/physicalsocketserver.h',
362 'base/profiler.cc',
363 'base/profiler.h',
364 'base/proxydetect.cc',
365 'base/proxydetect.h',
366 'base/proxyinfo.cc',
367 'base/proxyinfo.h',
368 'base/proxyserver.cc',
369 'base/proxyserver.h',
370 'base/ratelimiter.cc',
371 'base/ratelimiter.h',
372 'base/ratetracker.cc',
373 'base/ratetracker.h',
374 'base/refcount.h',
375 'base/referencecountedsingletonfactory.h',
376 'base/rollingaccumulator.h',
377 'base/scoped_autorelease_pool.h',
378 'base/scoped_ptr.h',
379 'base/scoped_ref_ptr.h',
380 'base/sec_buffer.h',
381 'base/sha1.cc',
382 'base/sha1.h',
383 'base/sha1digest.h',
384 'base/sharedexclusivelock.cc',
385 'base/sharedexclusivelock.h',
386 'base/signalthread.cc',
387 'base/signalthread.h',
388 'base/sigslot.h',
389 'base/sigslotrepeater.h',
390 'base/socket.h',
391 'base/socketadapters.cc',
392 'base/socketadapters.h',
393 'base/socketaddress.cc',
394 'base/socketaddress.h',
395 'base/socketaddresspair.cc',
396 'base/socketaddresspair.h',
397 'base/socketfactory.h',
398 'base/socketpool.cc',
399 'base/socketpool.h',
400 'base/socketserver.h',
401 'base/socketstream.cc',
402 'base/socketstream.h',
403 'base/ssladapter.cc',
404 'base/ssladapter.h',
405 'base/sslconfig.h',
406 'base/sslfingerprint.h',
407 'base/sslidentity.cc',
408 'base/sslidentity.h',
409 'base/sslroots.h',
410 'base/sslsocketfactory.cc',
411 'base/sslsocketfactory.h',
412 'base/sslstreamadapter.cc',
413 'base/sslstreamadapter.h',
414 'base/sslstreamadapterhelper.cc',
415 'base/sslstreamadapterhelper.h',
416 'base/stream.cc',
417 'base/stream.h',
418 'base/stringdigest.h',
419 'base/stringencode.cc',
420 'base/stringencode.h',
421 'base/stringutils.cc',
422 'base/stringutils.h',
423 'base/systeminfo.cc',
424 'base/systeminfo.h',
425 'base/task.cc',
426 'base/task.h',
427 'base/taskparent.cc',
428 'base/taskparent.h',
429 'base/taskrunner.cc',
430 'base/taskrunner.h',
431 'base/testclient.cc',
432 'base/testclient.h',
433 'base/thread.cc',
434 'base/thread.h',
435 'base/timeutils.cc',
436 'base/timeutils.h',
437 'base/timing.cc',
438 'base/timing.h',
439 'base/transformadapter.cc',
440 'base/transformadapter.h',
441 'base/urlencode.cc',
442 'base/urlencode.h',
443 'base/versionparsing.cc',
444 'base/versionparsing.h',
445 'base/virtualsocketserver.cc',
446 'base/virtualsocketserver.h',
447 'base/window.h',
448 'base/windowpicker.h',
449 'base/windowpickerfactory.h',
450 'base/worker.cc',
451 'base/worker.h',
452 'xmllite/qname.cc',
453 'xmllite/qname.h',
454 'xmllite/xmlbuilder.cc',
455 'xmllite/xmlbuilder.h',
456 'xmllite/xmlconstants.cc',
457 'xmllite/xmlconstants.h',
458 'xmllite/xmlelement.cc',
459 'xmllite/xmlelement.h',
460 'xmllite/xmlnsstack.cc',
461 'xmllite/xmlnsstack.h',
462 'xmllite/xmlparser.cc',
463 'xmllite/xmlparser.h',
464 'xmllite/xmlprinter.cc',
465 'xmllite/xmlprinter.h',
466 'xmpp/asyncsocket.h',
467 'xmpp/chatroommodule.h',
468 'xmpp/chatroommoduleimpl.cc',
469 'xmpp/constants.cc',
470 'xmpp/constants.h',
471 'xmpp/discoitemsquerytask.cc',
472 'xmpp/discoitemsquerytask.h',
473 'xmpp/hangoutpubsubclient.cc',
474 'xmpp/hangoutpubsubclient.h',
475 'xmpp/iqtask.cc',
476 'xmpp/iqtask.h',
477 'xmpp/jid.cc',
478 'xmpp/jid.h',
479 'xmpp/module.h',
480 'xmpp/moduleimpl.cc',
481 'xmpp/moduleimpl.h',
482 'xmpp/mucroomconfigtask.cc',
483 'xmpp/mucroomconfigtask.h',
484 'xmpp/mucroomdiscoverytask.cc',
485 'xmpp/mucroomdiscoverytask.h',
486 'xmpp/mucroomlookuptask.cc',
487 'xmpp/mucroomlookuptask.h',
488 'xmpp/mucroomuniquehangoutidtask.cc',
489 'xmpp/mucroomuniquehangoutidtask.h',
490 'xmpp/pingtask.cc',
491 'xmpp/pingtask.h',
492 'xmpp/plainsaslhandler.h',
493 'xmpp/presenceouttask.cc',
494 'xmpp/presenceouttask.h',
495 'xmpp/presencereceivetask.cc',
496 'xmpp/presencereceivetask.h',
497 'xmpp/presencestatus.cc',
498 'xmpp/presencestatus.h',
499 'xmpp/prexmppauth.h',
500 'xmpp/pubsub_task.cc',
501 'xmpp/pubsub_task.h',
502 'xmpp/pubsubclient.cc',
503 'xmpp/pubsubclient.h',
504 'xmpp/pubsubtasks.cc',
505 'xmpp/pubsubtasks.h',
506 'xmpp/receivetask.cc',
507 'xmpp/receivetask.h',
508 'xmpp/rostermodule.h',
509 'xmpp/rostermoduleimpl.cc',
510 'xmpp/rostermoduleimpl.h',
511 'xmpp/saslcookiemechanism.h',
512 'xmpp/saslhandler.h',
513 'xmpp/saslmechanism.cc',
514 'xmpp/saslmechanism.h',
515 'xmpp/saslplainmechanism.h',
516 'xmpp/xmppauth.cc',
517 'xmpp/xmppauth.h',
518 'xmpp/xmppclient.cc',
519 'xmpp/xmppclient.h',
520 'xmpp/xmppclientsettings.h',
521 'xmpp/xmppengine.h',
522 'xmpp/xmppengineimpl.cc',
523 'xmpp/xmppengineimpl.h',
524 'xmpp/xmppengineimpl_iq.cc',
525 'xmpp/xmpplogintask.cc',
526 'xmpp/xmpplogintask.h',
527 'xmpp/xmpppump.cc',
528 'xmpp/xmpppump.h',
529 'xmpp/xmppsocket.cc',
530 'xmpp/xmppsocket.h',
531 'xmpp/xmppstanzaparser.cc',
532 'xmpp/xmppstanzaparser.h',
533 'xmpp/xmpptask.cc',
534 'xmpp/xmpptask.h',
535 'xmpp/xmppthread.cc',
536 'xmpp/xmppthread.h',
537 ],
538 'conditions': [
539 ['OS=="mac" or OS=="ios" or OS=="win"', {
540 'dependencies': [
541 # The chromium copy of nss should NOT be used on platforms that
542 # have NSS as system libraries, such as linux.
543 '<(DEPTH)/third_party/nss/nss.gyp:nss',
544 ],
545 }],
546 ['OS=="android"', {
547 'sources': [
548 'base/ifaddrs-android.cc',
549 ],
550 'link_settings': {
551 'libraries': [
552 '-llog',
553 '-lGLESv2',
554 ],
555 },
556 }],
557 ['OS=="linux" or OS=="android"', {
558 'sources': [
559 'base/linux.cc',
560 'base/linux.h',
561 ],
562 }],
563 ['OS=="linux"', {
564 'sources': [
565 'base/dbus.cc',
566 'base/dbus.h',
567 'base/libdbusglibsymboltable.cc',
568 'base/libdbusglibsymboltable.h',
569 'base/linuxfdwalk.c',
570 'base/linuxwindowpicker.cc',
571 'base/linuxwindowpicker.h',
572 ],
573 'link_settings': {
574 'libraries': [
575 '-lcrypto',
576 '-ldl',
577 '-lrt',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000578 '-lXext',
579 '-lX11',
580 '-lXcomposite',
581 '-lXrender',
582 '<!@(<(pkg-config) --libs-only-l nss | sed -e "s/-lssl3//")',
583 ],
584 },
585 'cflags': [
586 '<!@(<(pkg-config) --cflags nss)',
587 ],
588 'ldflags': [
589 '<!@(<(pkg-config) --libs-only-L --libs-only-other nss)',
590 ],
591 }],
592 ['OS=="mac"', {
593 'conditions': [
henrike@webrtc.org723d6832013-07-12 16:04:50 +0000594 ['libjingle_objc != 1', {
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000595 'link_settings' :{
596 'xcode_settings': {
597 'OTHER_LDFLAGS': [
598 '-framework Carbon',
599 ],
600 },
601 },
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000602 }],
603 ],
604 'sources': [
henrike@webrtc.org723d6832013-07-12 16:04:50 +0000605 'base/macasyncsocket.cc',
606 'base/macasyncsocket.h',
607 'base/maccocoasocketserver.h',
608 'base/maccocoasocketserver.mm',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000609 'base/macconversion.cc',
610 'base/macconversion.h',
henrike@webrtc.org723d6832013-07-12 16:04:50 +0000611 'base/macsocketserver.cc',
612 'base/macsocketserver.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000613 'base/macutils.cc',
614 'base/macutils.h',
615 'base/macwindowpicker.cc',
616 'base/macwindowpicker.h',
617 'base/scoped_autorelease_pool.mm',
618 ],
619 'link_settings': {
620 'libraries': [
621 '$(SDKROOT)/usr/lib/libcrypto.dylib',
622 '$(SDKROOT)/usr/lib/libssl.dylib',
623 ],
624 'xcode_settings': {
625 'OTHER_LDFLAGS': [
626 '-framework Cocoa',
627 '-framework IOKit',
628 '-framework Security',
629 '-framework SystemConfiguration',
630 ],
631 },
632 },
633 }],
634 ['OS=="ios"', {
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000635 'sources': [
636 'base/scoped_autorelease_pool.mm',
637 ],
fischman@webrtc.org1bc19542013-08-01 18:29:45 +0000638 'dependencies': [
639 '../net/third_party/nss/ssl.gyp:libssl',
640 ],
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000641 'xcode_settings': {
642 'OTHER_LDFLAGS': [
643 '-framework IOKit',
644 '-framework Security',
645 '-framework SystemConfiguration',
646 '-framework UIKit',
647 ],
648 },
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000649 }],
650 ['OS=="win"', {
651 'sources': [
652 'base/diskcache_win32.cc',
653 'base/diskcache_win32.h',
654 'base/schanneladapter.cc',
655 'base/schanneladapter.h',
656 'base/win32.cc',
657 'base/win32.h',
658 'base/win32filesystem.cc',
659 'base/win32filesystem.h',
660 'base/win32regkey.cc',
661 'base/win32regkey.h',
662 'base/win32securityerrors.cc',
663 'base/win32socketinit.cc',
664 'base/win32socketinit.h',
665 'base/win32socketserver.cc',
666 'base/win32socketserver.h',
667 'base/win32window.cc',
668 'base/win32window.h',
669 'base/win32windowpicker.cc',
670 'base/win32windowpicker.h',
671 'base/winfirewall.cc',
672 'base/winfirewall.h',
673 'base/winping.cc',
674 'base/winping.h',
675 ],
henrike@webrtc.org28654cb2013-07-22 21:07:49 +0000676 'link_settings': {
677 'libraries': [
678 '-lcrypt32.lib',
679 '-liphlpapi.lib',
680 '-lsecur32.lib',
681 ],
682 },
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000683 # Suppress warnings about WIN32_LEAN_AND_MEAN.
684 'msvs_disabled_warnings': [4005],
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000685 }],
686 ['os_posix==1', {
687 'sources': [
688 'base/latebindingsymboltable.cc',
689 'base/latebindingsymboltable.h',
690 'base/posix.cc',
691 'base/posix.h',
692 'base/unixfilesystem.cc',
693 'base/unixfilesystem.h',
694 ],
695 'conditions': [
696 ['OS=="linux" or OS=="android"', {
697 'dependencies': [
698 '<(DEPTH)/third_party/openssl/openssl.gyp:openssl',
699 ],
700 }],
701 ['OS!="ios"', {
702 'sources': [
703 'base/openssladapter.cc',
704 'base/openssladapter.h',
705 'base/openssldigest.cc',
706 'base/openssldigest.h',
707 'base/opensslidentity.cc',
708 'base/opensslidentity.h',
709 'base/opensslstreamadapter.cc',
710 'base/opensslstreamadapter.h',
711 ],
712 }],
713 ],
714 }],
715 ], # conditions
716 }, # target libjingle
717 {
718 'target_name': 'libjingle_sound',
719 'type': 'static_library',
720 'dependencies': [
721 'libjingle',
722 ],
723 'sources': [
724 'sound/automaticallychosensoundsystem.h',
725 'sound/nullsoundsystem.cc',
726 'sound/nullsoundsystem.h',
727 'sound/nullsoundsystemfactory.cc',
728 'sound/nullsoundsystemfactory.h',
729 'sound/platformsoundsystem.cc',
730 'sound/platformsoundsystem.h',
731 'sound/platformsoundsystemfactory.cc',
732 'sound/platformsoundsystemfactory.h',
733 'sound/sounddevicelocator.h',
734 'sound/soundinputstreaminterface.h',
735 'sound/soundoutputstreaminterface.h',
736 'sound/soundsystemfactory.h',
737 'sound/soundsysteminterface.cc',
738 'sound/soundsysteminterface.h',
739 'sound/soundsystemproxy.cc',
740 'sound/soundsystemproxy.h',
741 ],
742 'conditions': [
743 ['OS=="linux"', {
744 'sources': [
745 'sound/alsasoundsystem.cc',
746 'sound/alsasoundsystem.h',
747 'sound/alsasymboltable.cc',
748 'sound/alsasymboltable.h',
749 'sound/linuxsoundsystem.cc',
750 'sound/linuxsoundsystem.h',
751 'sound/pulseaudiosoundsystem.cc',
752 'sound/pulseaudiosoundsystem.h',
753 'sound/pulseaudiosymboltable.cc',
754 'sound/pulseaudiosymboltable.h',
755 ],
756 }],
757 ],
758 }, # target libjingle_sound
759 {
760 'target_name': 'libjingle_media',
761 'type': 'static_library',
762 'dependencies': [
763 '<(DEPTH)/third_party/libyuv/libyuv.gyp:libyuv',
henrike@webrtc.org9de257d2013-07-17 14:42:53 +0000764 '<(webrtc_root)/modules/modules.gyp:video_capture_module',
765 '<(webrtc_root)/modules/modules.gyp:video_render_module',
766 '<(webrtc_root)/video_engine/video_engine.gyp:video_engine_core',
767 '<(webrtc_root)/voice_engine/voice_engine.gyp:voice_engine',
768 '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000769 'libjingle',
770 'libjingle_sound',
771 ],
772 'direct_dependent_settings': {
773 'include_dirs': [
774 '<(DEPTH)/third_party/libyuv/include',
775 ],
776 },
777 'sources': [
778 'media/base/audioframe.h',
779 'media/base/audiorenderer.h',
780 'media/base/capturemanager.cc',
781 'media/base/capturemanager.h',
782 'media/base/capturerenderadapter.cc',
783 'media/base/capturerenderadapter.h',
784 'media/base/codec.cc',
785 'media/base/codec.h',
786 'media/base/constants.cc',
787 'media/base/constants.h',
788 'media/base/cpuid.cc',
789 'media/base/cpuid.h',
790 'media/base/cryptoparams.h',
791 'media/base/filemediaengine.cc',
792 'media/base/filemediaengine.h',
793 'media/base/hybriddataengine.h',
794 'media/base/hybridvideoengine.cc',
795 'media/base/hybridvideoengine.h',
796 'media/base/mediachannel.h',
797 'media/base/mediacommon.h',
798 'media/base/mediaengine.cc',
799 'media/base/mediaengine.h',
800 'media/base/mutedvideocapturer.cc',
801 'media/base/mutedvideocapturer.h',
802 'media/base/rtpdataengine.cc',
803 'media/base/rtpdataengine.h',
804 'media/base/rtpdump.cc',
805 'media/base/rtpdump.h',
806 'media/base/rtputils.cc',
807 'media/base/rtputils.h',
808 'media/base/screencastid.h',
809 'media/base/streamparams.cc',
810 'media/base/streamparams.h',
811 'media/base/videoadapter.cc',
812 'media/base/videoadapter.h',
813 'media/base/videocapturer.cc',
814 'media/base/videocapturer.h',
815 'media/base/videocommon.cc',
816 'media/base/videocommon.h',
817 'media/base/videoframe.cc',
818 'media/base/videoframe.h',
819 'media/base/videoprocessor.h',
820 'media/base/videorenderer.h',
821 'media/base/voiceprocessor.h',
822 'media/devices/deviceinfo.h',
823 'media/devices/devicemanager.cc',
824 'media/devices/devicemanager.h',
825 'media/devices/dummydevicemanager.h',
826 'media/devices/filevideocapturer.cc',
827 'media/devices/filevideocapturer.h',
828 'media/devices/videorendererfactory.h',
829 'media/other/linphonemediaengine.h',
830 # TODO(ronghuawu): Enable when SCTP is ready.
831 # 'media/sctp/sctpdataengine.cc',
832 # 'media/sctp/sctpdataengine.h',
833 'media/webrtc/webrtccommon.h',
834 'media/webrtc/webrtcexport.h',
835 'media/webrtc/webrtcmediaengine.h',
836 'media/webrtc/webrtcpassthroughrender.cc',
837 'media/webrtc/webrtcpassthroughrender.h',
wu@webrtc.org9dba5252013-08-05 20:36:57 +0000838 'media/webrtc/webrtctexturevideoframe.cc',
839 'media/webrtc/webrtctexturevideoframe.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000840 'media/webrtc/webrtcvideocapturer.cc',
841 'media/webrtc/webrtcvideocapturer.h',
842 'media/webrtc/webrtcvideodecoderfactory.h',
843 'media/webrtc/webrtcvideoencoderfactory.h',
844 'media/webrtc/webrtcvideoengine.cc',
845 'media/webrtc/webrtcvideoengine.h',
846 'media/webrtc/webrtcvideoframe.cc',
847 'media/webrtc/webrtcvideoframe.h',
848 'media/webrtc/webrtcvie.h',
849 'media/webrtc/webrtcvoe.h',
850 'media/webrtc/webrtcvoiceengine.cc',
851 'media/webrtc/webrtcvoiceengine.h',
852 ],
853 'conditions': [
854 ['OS=="linux"', {
855 'sources': [
856 'media/devices/gtkvideorenderer.cc',
857 'media/devices/gtkvideorenderer.h',
858 'media/devices/libudevsymboltable.cc',
859 'media/devices/libudevsymboltable.h',
860 'media/devices/linuxdeviceinfo.cc',
861 'media/devices/linuxdevicemanager.cc',
862 'media/devices/linuxdevicemanager.h',
863 'media/devices/v4llookup.cc',
864 'media/devices/v4llookup.h',
865 ],
866 'include_dirs': [
867 'third_party/libudev'
868 ],
869 'cflags': [
870 '<!@(pkg-config --cflags gobject-2.0 gthread-2.0 gtk+-2.0)',
871 ],
872 'libraries': [
873 '-lrt',
874 '-lXext',
875 '-lX11',
876 ],
877 }],
878 ['OS=="win"', {
879 'sources': [
880 'media/devices/gdivideorenderer.cc',
881 'media/devices/gdivideorenderer.h',
882 'media/devices/win32deviceinfo.cc',
883 'media/devices/win32devicemanager.cc',
884 'media/devices/win32devicemanager.h',
885 ],
886 'msvs_settings': {
887 'VCLibrarianTool': {
888 'AdditionalDependencies': [
889 'd3d9.lib',
890 'gdi32.lib',
891 'strmiids.lib',
892 'winmm.lib',
893 ],
894 },
895 },
896 }],
897 ['OS=="mac"', {
898 'sources': [
899 'media/devices/macdeviceinfo.cc',
900 'media/devices/macdevicemanager.cc',
901 'media/devices/macdevicemanager.h',
902 'media/devices/macdevicemanagermm.mm',
903 ],
904 'conditions': [
905 # TODO(hughv): Investigate if this is needed.
906 [ 'libjingle_objc != 1', {
907 'sources': [
908 'media/devices/carbonvideorenderer.cc',
909 'media/devices/carbonvideorenderer.h',
910 ],
911 }],
912 ],
913 'xcode_settings': {
914 'WARNING_CFLAGS': [
915 # TODO(ronghuawu): Update macdevicemanager.cc to stop using
916 # deprecated functions and remove this flag.
917 '-Wno-deprecated-declarations',
918 ],
919 },
920 'link_settings': {
921 'xcode_settings': {
922 'OTHER_LDFLAGS': [
923 '-framework Cocoa',
924 '-framework CoreAudio',
925 '-framework CoreVideo',
926 '-framework OpenGL',
927 '-framework QTKit',
928 ],
929 },
930 },
931 }],
932 ['OS=="ios"', {
933 'sources': [
934 'media/devices/iosdeviceinfo.cc',
935 'media/devices/mobiledevicemanager.cc',
936 ],
937 'include_dirs': [
938 # TODO(sjlee) Remove when vp8 is building for iOS. vp8 pulls in
939 # libjpeg which pulls in libyuv which currently disabled.
940 '../third_party/libyuv/include',
941 ],
942 }],
943 ['OS=="android"', {
944 'sources': [
945 'media/devices/mobiledevicemanager.cc',
946 ],
947 }],
948 ],
949 }, # target libjingle_media
950 {
951 'target_name': 'libjingle_p2p',
952 'type': 'static_library',
953 'dependencies': [
954 '<(DEPTH)/third_party/libsrtp/libsrtp.gyp:libsrtp',
955 'libjingle',
956 'libjingle_media',
957 ],
958 'include_dirs': [
henrike@webrtc.org723d6832013-07-12 16:04:50 +0000959 '<(DEPTH)/testing/gtest/include',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000960 ],
961 'direct_dependent_settings': {
962 'include_dirs': [
henrike@webrtc.org723d6832013-07-12 16:04:50 +0000963 '<(DEPTH)/testing/gtest/include',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000964 ],
965 },
966 'defines': [
967 # TODO(ronghuawu): enable SCTP when it's ready.
968 # 'HAVE_SCTP',
969 ],
970 'sources': [
971 'p2p/base/asyncstuntcpsocket.cc',
972 'p2p/base/asyncstuntcpsocket.h',
973 'p2p/base/basicpacketsocketfactory.cc',
974 'p2p/base/basicpacketsocketfactory.h',
975 'p2p/base/candidate.h',
976 'p2p/base/common.h',
977 'p2p/base/constants.cc',
978 'p2p/base/constants.h',
979 'p2p/base/dtlstransportchannel.cc',
980 'p2p/base/dtlstransportchannel.h',
981 'p2p/base/p2ptransport.cc',
982 'p2p/base/p2ptransport.h',
983 'p2p/base/p2ptransportchannel.cc',
984 'p2p/base/p2ptransportchannel.h',
985 'p2p/base/packetsocketfactory.h',
986 'p2p/base/parsing.cc',
987 'p2p/base/parsing.h',
988 'p2p/base/port.cc',
989 'p2p/base/port.h',
990 'p2p/base/portallocator.cc',
991 'p2p/base/portallocator.h',
992 'p2p/base/portallocatorsessionproxy.cc',
993 'p2p/base/portallocatorsessionproxy.h',
994 'p2p/base/portinterface.h',
995 'p2p/base/portproxy.cc',
996 'p2p/base/portproxy.h',
997 'p2p/base/pseudotcp.cc',
998 'p2p/base/pseudotcp.h',
999 'p2p/base/rawtransport.cc',
1000 'p2p/base/rawtransport.h',
1001 'p2p/base/rawtransportchannel.cc',
1002 'p2p/base/rawtransportchannel.h',
1003 'p2p/base/relayport.cc',
1004 'p2p/base/relayport.h',
1005 'p2p/base/relayserver.cc',
1006 'p2p/base/relayserver.h',
1007 'p2p/base/session.cc',
1008 'p2p/base/session.h',
1009 'p2p/base/sessionclient.h',
1010 'p2p/base/sessiondescription.cc',
1011 'p2p/base/sessiondescription.h',
1012 'p2p/base/sessionid.h',
1013 'p2p/base/sessionmanager.cc',
1014 'p2p/base/sessionmanager.h',
1015 'p2p/base/sessionmessages.cc',
1016 'p2p/base/sessionmessages.h',
1017 'p2p/base/stun.cc',
1018 'p2p/base/stun.h',
1019 'p2p/base/stunport.cc',
1020 'p2p/base/stunport.h',
1021 'p2p/base/stunrequest.cc',
1022 'p2p/base/stunrequest.h',
1023 'p2p/base/stunserver.cc',
1024 'p2p/base/stunserver.h',
1025 'p2p/base/tcpport.cc',
1026 'p2p/base/tcpport.h',
1027 'p2p/base/transport.cc',
1028 'p2p/base/transport.h',
1029 'p2p/base/transportchannel.cc',
1030 'p2p/base/transportchannel.h',
1031 'p2p/base/transportchannelimpl.h',
1032 'p2p/base/transportchannelproxy.cc',
1033 'p2p/base/transportchannelproxy.h',
1034 'p2p/base/transportdescription.h',
1035 'p2p/base/transportdescriptionfactory.cc',
1036 'p2p/base/transportdescriptionfactory.h',
1037 'p2p/base/transportinfo.h',
1038 'p2p/base/turnport.cc',
1039 'p2p/base/turnport.h',
1040 'p2p/base/turnserver.cc',
1041 'p2p/base/turnserver.h',
1042 'p2p/base/udpport.h',
1043 'p2p/client/autoportallocator.h',
1044 'p2p/client/basicportallocator.cc',
1045 'p2p/client/basicportallocator.h',
1046 'p2p/client/connectivitychecker.cc',
1047 'p2p/client/connectivitychecker.h',
1048 'p2p/client/httpportallocator.cc',
1049 'p2p/client/httpportallocator.h',
1050 'p2p/client/sessionmanagertask.h',
1051 'p2p/client/sessionsendtask.h',
1052 'p2p/client/socketmonitor.cc',
1053 'p2p/client/socketmonitor.h',
1054 'session/tunnel/pseudotcpchannel.cc',
1055 'session/tunnel/pseudotcpchannel.h',
1056 'session/tunnel/tunnelsessionclient.cc',
1057 'session/tunnel/tunnelsessionclient.h',
1058 'session/tunnel/securetunnelsessionclient.cc',
1059 'session/tunnel/securetunnelsessionclient.h',
1060 'session/media/audiomonitor.cc',
1061 'session/media/audiomonitor.h',
1062 'session/media/call.cc',
1063 'session/media/call.h',
1064 'session/media/channel.cc',
1065 'session/media/channel.h',
1066 'session/media/channelmanager.cc',
1067 'session/media/channelmanager.h',
1068 'session/media/currentspeakermonitor.cc',
1069 'session/media/currentspeakermonitor.h',
1070 'session/media/mediamessages.cc',
1071 'session/media/mediamessages.h',
1072 'session/media/mediamonitor.cc',
1073 'session/media/mediamonitor.h',
1074 'session/media/mediarecorder.cc',
1075 'session/media/mediarecorder.h',
1076 'session/media/mediasession.cc',
1077 'session/media/mediasession.h',
1078 'session/media/mediasessionclient.cc',
1079 'session/media/mediasessionclient.h',
1080 'session/media/mediasink.h',
1081 'session/media/rtcpmuxfilter.cc',
1082 'session/media/rtcpmuxfilter.h',
1083 'session/media/soundclip.cc',
1084 'session/media/soundclip.h',
1085 'session/media/srtpfilter.cc',
1086 'session/media/srtpfilter.h',
1087 'session/media/ssrcmuxfilter.cc',
1088 'session/media/ssrcmuxfilter.h',
1089 'session/media/typingmonitor.cc',
1090 'session/media/typingmonitor.h',
1091 'session/media/voicechannel.h',
1092 ],
1093 }, # target libjingle_p2p
1094 {
1095 'target_name': 'libjingle_peerconnection',
1096 'type': 'static_library',
1097 'dependencies': [
1098 'libjingle',
1099 'libjingle_media',
1100 'libjingle_p2p',
1101 ],
1102 'sources': [
1103 'app/webrtc/audiotrack.cc',
1104 'app/webrtc/audiotrack.h',
1105 'app/webrtc/audiotrackrenderer.cc',
1106 'app/webrtc/audiotrackrenderer.h',
1107 'app/webrtc/datachannel.cc',
1108 'app/webrtc/datachannel.h',
1109 'app/webrtc/datachannelinterface.h',
1110 'app/webrtc/dtmfsender.cc',
1111 'app/webrtc/dtmfsender.h',
1112 'app/webrtc/dtmfsenderinterface.h',
1113 'app/webrtc/fakeportallocatorfactory.h',
1114 'app/webrtc/jsep.h',
1115 'app/webrtc/jsepicecandidate.cc',
1116 'app/webrtc/jsepicecandidate.h',
1117 'app/webrtc/jsepsessiondescription.cc',
1118 'app/webrtc/jsepsessiondescription.h',
1119 'app/webrtc/localaudiosource.cc',
1120 'app/webrtc/localaudiosource.h',
1121 'app/webrtc/localvideosource.cc',
1122 'app/webrtc/localvideosource.h',
1123 'app/webrtc/mediaconstraintsinterface.cc',
1124 'app/webrtc/mediaconstraintsinterface.h',
1125 'app/webrtc/mediastream.cc',
1126 'app/webrtc/mediastream.h',
1127 'app/webrtc/mediastreamhandler.cc',
1128 'app/webrtc/mediastreamhandler.h',
1129 'app/webrtc/mediastreaminterface.h',
1130 'app/webrtc/mediastreamprovider.h',
1131 'app/webrtc/mediastreamproxy.h',
1132 'app/webrtc/mediastreamsignaling.cc',
1133 'app/webrtc/mediastreamsignaling.h',
1134 'app/webrtc/mediastreamtrack.h',
1135 'app/webrtc/mediastreamtrackproxy.h',
1136 'app/webrtc/notifier.h',
1137 'app/webrtc/peerconnection.cc',
1138 'app/webrtc/peerconnection.h',
1139 'app/webrtc/peerconnectionfactory.cc',
1140 'app/webrtc/peerconnectionfactory.h',
1141 'app/webrtc/peerconnectioninterface.h',
1142 'app/webrtc/peerconnectionproxy.h',
1143 'app/webrtc/portallocatorfactory.cc',
1144 'app/webrtc/portallocatorfactory.h',
1145 'app/webrtc/proxy.h',
1146 'app/webrtc/statscollector.cc',
1147 'app/webrtc/statscollector.h',
1148 'app/webrtc/statstypes.h',
1149 'app/webrtc/streamcollection.h',
1150 'app/webrtc/videosourceinterface.h',
1151 'app/webrtc/videosourceproxy.h',
1152 'app/webrtc/videotrack.cc',
1153 'app/webrtc/videotrack.h',
1154 'app/webrtc/videotrackrenderers.cc',
1155 'app/webrtc/videotrackrenderers.h',
1156 'app/webrtc/webrtcsdp.cc',
1157 'app/webrtc/webrtcsdp.h',
1158 'app/webrtc/webrtcsession.cc',
1159 'app/webrtc/webrtcsession.h',
1160 ],
1161 }, # target libjingle_peerconnection
1162 ],
1163}