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