blob: 3904a0feb55aeefe8682176debb45a4edea8a967 [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 ],
56 'conditions': [
57 ['OS=="linux"', {
58 'defines': [
59 'HAVE_GTK',
60 ],
61 'include_dirs': [
62 '<(java_home)/include',
63 '<(java_home)/include/linux',
64 ],
65 'link_settings': {
66 'libraries': [
67 '<!@(pkg-config --libs-only-l gobject-2.0 gthread-2.0'
68 ' gtk+-2.0)',
69 ],
70 },
71 }],
72 ],
73 },
74 {
75 'target_name': 'libjingle_peerconnection_jar',
76 'type': 'none',
77 'actions': [
78 {
79 'variables': {
80 'java_src_dir': 'app/webrtc/java/src',
henrike@webrtc.org9de257d2013-07-17 14:42:53 +000081 'webrtc_modules_dir': '<(webrtc_root)/modules',
fischman@webrtc.org000dde92013-12-20 22:49:35 +000082 'build_jar_log': '<(INTERMEDIATE_DIR)/build_jar.log',
henrike@webrtc.org28e20752013-07-10 00:45:36 +000083 'peerconnection_java_files': [
84 'app/webrtc/java/src/org/webrtc/AudioSource.java',
85 'app/webrtc/java/src/org/webrtc/AudioTrack.java',
henrike@webrtc.org723d6832013-07-12 16:04:50 +000086 'app/webrtc/java/src/org/webrtc/DataChannel.java',
henrike@webrtc.org28e20752013-07-10 00:45:36 +000087 'app/webrtc/java/src/org/webrtc/IceCandidate.java',
fischman@webrtc.orgc883fdc2013-08-06 19:00:53 +000088 'app/webrtc/java/src/org/webrtc/Logging.java',
henrike@webrtc.org28e20752013-07-10 00:45:36 +000089 '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.org82f014a2013-09-10 18:24:07 +0000108 '<(webrtc_modules_dir)/audio_device/android/java/src/org/webrtc/voiceengine/AudioManagerAndroid.java',
henrike@webrtc.org9de257d2013-07-17 14:42:53 +0000109 '<(webrtc_modules_dir)/video_capture/android/java/src/org/webrtc/videoengine/VideoCaptureAndroid.java',
110 '<(webrtc_modules_dir)/video_capture/android/java/src/org/webrtc/videoengine/VideoCaptureDeviceInfoAndroid.java',
111 '<(webrtc_modules_dir)/video_render/android/java/src/org/webrtc/videoengine/ViEAndroidGLES20.java',
112 '<(webrtc_modules_dir)/video_render/android/java/src/org/webrtc/videoengine/ViERenderer.java',
113 '<(webrtc_modules_dir)/video_render/android/java/src/org/webrtc/videoengine/ViESurfaceRenderer.java',
henrike@webrtc.org9ee75e92013-12-11 21:42:44 +0000114 '<(webrtc_modules_dir)/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioRecord.java',
115 '<(webrtc_modules_dir)/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioTrack.java',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000116 ],
117 },
118 'action_name': 'create_jar',
119 'inputs': [
120 'build/build_jar.sh',
121 '<@(java_files)',
122 ],
123 'outputs': [
124 '<(PRODUCT_DIR)/libjingle_peerconnection.jar',
125 ],
126 'conditions': [
127 ['OS=="android"', {
128 'variables': {
129 'java_files': ['<@(peerconnection_java_files)', '<@(android_java_files)'],
130 'build_classpath': '<(java_src_dir):<(DEPTH)/third_party/android_tools/sdk/platforms/android-<(android_sdk_version)/android.jar',
131 },
132 }, {
133 'variables': {
134 'java_files': ['<@(peerconnection_java_files)'],
135 'build_classpath': '<(java_src_dir)',
136 },
137 }],
138 ],
139 'action': [
fischman@webrtc.org000dde92013-12-20 22:49:35 +0000140 'bash', '-ec',
141 'mkdir -p <(INTERMEDIATE_DIR) && '
142 '{ build/build_jar.sh <(java_home) <@(_outputs) '
143 ' <(INTERMEDIATE_DIR)/build_jar.tmp '
144 ' <(build_classpath) <@(java_files) '
145 ' > <(build_jar_log) 2>&1 || '
146 ' { cat <(build_jar_log) ; exit 1; } }'
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000147 ],
148 },
149 ],
150 'dependencies': [
151 'libjingle_peerconnection_so',
152 ],
153 },
154 ],
155 }],
fischman@webrtc.orge3de6b12013-08-26 19:31:21 +0000156 ['OS=="ios" or (OS=="mac" and target_arch!="ia32")', {
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000157 'targets': [
158 {
159 'target_name': 'libjingle_peerconnection_objc',
160 'type': 'static_library',
161 'dependencies': [
162 'libjingle_peerconnection',
163 ],
164 'sources': [
165 'app/webrtc/objc/RTCAudioTrack+Internal.h',
166 'app/webrtc/objc/RTCAudioTrack.mm',
167 'app/webrtc/objc/RTCEnumConverter.h',
168 'app/webrtc/objc/RTCEnumConverter.mm',
169 'app/webrtc/objc/RTCI420Frame.mm',
fischman@webrtc.org1bc19542013-08-01 18:29:45 +0000170 'app/webrtc/objc/RTCICECandidate+Internal.h',
171 'app/webrtc/objc/RTCICECandidate.mm',
172 'app/webrtc/objc/RTCICEServer+Internal.h',
173 'app/webrtc/objc/RTCICEServer.mm',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000174 'app/webrtc/objc/RTCMediaConstraints+Internal.h',
175 'app/webrtc/objc/RTCMediaConstraints.mm',
176 'app/webrtc/objc/RTCMediaConstraintsNative.cc',
177 'app/webrtc/objc/RTCMediaConstraintsNative.h',
178 'app/webrtc/objc/RTCMediaSource+Internal.h',
179 'app/webrtc/objc/RTCMediaSource.mm',
180 'app/webrtc/objc/RTCMediaStream+Internal.h',
181 'app/webrtc/objc/RTCMediaStream.mm',
182 'app/webrtc/objc/RTCMediaStreamTrack+Internal.h',
183 'app/webrtc/objc/RTCMediaStreamTrack.mm',
184 'app/webrtc/objc/RTCPair.m',
185 'app/webrtc/objc/RTCPeerConnection+Internal.h',
186 'app/webrtc/objc/RTCPeerConnection.mm',
187 'app/webrtc/objc/RTCPeerConnectionFactory.mm',
188 'app/webrtc/objc/RTCPeerConnectionObserver.h',
189 'app/webrtc/objc/RTCPeerConnectionObserver.mm',
190 'app/webrtc/objc/RTCSessionDescription+Internal.h',
191 'app/webrtc/objc/RTCSessionDescription.mm',
192 'app/webrtc/objc/RTCVideoCapturer+Internal.h',
193 'app/webrtc/objc/RTCVideoCapturer.mm',
194 'app/webrtc/objc/RTCVideoRenderer+Internal.h',
195 'app/webrtc/objc/RTCVideoRenderer.mm',
196 'app/webrtc/objc/RTCVideoSource+Internal.h',
197 'app/webrtc/objc/RTCVideoSource.mm',
198 'app/webrtc/objc/RTCVideoTrack+Internal.h',
199 'app/webrtc/objc/RTCVideoTrack.mm',
200 'app/webrtc/objc/public/RTCAudioSource.h',
201 'app/webrtc/objc/public/RTCAudioTrack.h',
202 'app/webrtc/objc/public/RTCI420Frame.h',
fischman@webrtc.org1bc19542013-08-01 18:29:45 +0000203 'app/webrtc/objc/public/RTCICECandidate.h',
204 'app/webrtc/objc/public/RTCICEServer.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000205 'app/webrtc/objc/public/RTCMediaConstraints.h',
206 'app/webrtc/objc/public/RTCMediaSource.h',
207 'app/webrtc/objc/public/RTCMediaStream.h',
208 'app/webrtc/objc/public/RTCMediaStreamTrack.h',
209 'app/webrtc/objc/public/RTCPair.h',
210 'app/webrtc/objc/public/RTCPeerConnection.h',
211 'app/webrtc/objc/public/RTCPeerConnectionDelegate.h',
212 'app/webrtc/objc/public/RTCPeerConnectionFactory.h',
213 'app/webrtc/objc/public/RTCSessionDescription.h',
214 'app/webrtc/objc/public/RTCSessionDescriptonDelegate.h',
215 'app/webrtc/objc/public/RTCTypes.h',
216 'app/webrtc/objc/public/RTCVideoCapturer.h',
217 'app/webrtc/objc/public/RTCVideoRenderer.h',
218 'app/webrtc/objc/public/RTCVideoRendererDelegate.h',
219 'app/webrtc/objc/public/RTCVideoSource.h',
220 'app/webrtc/objc/public/RTCVideoTrack.h',
221 ],
fischman@webrtc.org1bc19542013-08-01 18:29:45 +0000222 'direct_dependent_settings': {
223 'include_dirs': [
224 '<(DEPTH)/talk/app/webrtc/objc/public',
225 ],
226 },
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000227 'include_dirs': [
228 '<(DEPTH)/talk/app/webrtc',
229 '<(DEPTH)/talk/app/webrtc/objc',
230 '<(DEPTH)/talk/app/webrtc/objc/public',
231 ],
232 'link_settings': {
233 'libraries': [
234 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
fischman@webrtc.org76fe9302013-09-19 21:11:08 +0000235 '-lstdc++',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000236 ],
237 },
238 'xcode_settings': {
239 'CLANG_ENABLE_OBJC_ARC': 'YES',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000240 },
fischman@webrtc.orge3de6b12013-08-26 19:31:21 +0000241 }, # target libjingle_peerconnection_objc
242 ],
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000243 }],
244 ],
245
246 'targets': [
247 {
248 'target_name': 'libjingle',
249 'type': 'static_library',
250 'dependencies': [
251 '<(DEPTH)/third_party/expat/expat.gyp:expat',
252 '<(DEPTH)/third_party/jsoncpp/jsoncpp.gyp:jsoncpp',
253 ],
254 'export_dependent_settings': [
255 '<(DEPTH)/third_party/expat/expat.gyp:expat',
256 '<(DEPTH)/third_party/jsoncpp/jsoncpp.gyp:jsoncpp',
257 ],
258 'sources': [
259 'base/asyncfile.cc',
260 'base/asyncfile.h',
261 'base/asynchttprequest.cc',
262 'base/asynchttprequest.h',
sergeyu@chromium.org9cf037b2014-02-07 19:03:26 +0000263 'base/asyncinvoker.cc',
264 'base/asyncinvoker.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000265 'base/asyncpacketsocket.h',
sergeyu@chromium.orga23f0ca2013-11-13 22:48:52 +0000266 'base/asyncresolverinterface.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000267 'base/asyncsocket.cc',
268 'base/asyncsocket.h',
269 'base/asynctcpsocket.cc',
270 'base/asynctcpsocket.h',
271 'base/asyncudpsocket.cc',
272 'base/asyncudpsocket.h',
273 'base/atomicops.h',
274 'base/autodetectproxy.cc',
275 'base/autodetectproxy.h',
276 'base/bandwidthsmoother.cc',
277 'base/bandwidthsmoother.h',
278 'base/base64.cc',
279 'base/base64.h',
280 'base/basicdefs.h',
281 'base/basictypes.h',
282 'base/bind.h',
283 'base/buffer.h',
284 'base/bytebuffer.cc',
285 'base/bytebuffer.h',
286 'base/byteorder.h',
sergeyu@chromium.org9cf037b2014-02-07 19:03:26 +0000287 'base/callback.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000288 'base/checks.cc',
289 'base/checks.h',
290 'base/common.cc',
291 'base/common.h',
292 'base/constructormagic.h',
293 'base/cpumonitor.cc',
294 'base/cpumonitor.h',
295 'base/crc32.cc',
296 'base/crc32.h',
297 'base/criticalsection.h',
298 'base/cryptstring.h',
299 'base/diskcache.cc',
300 'base/diskcache.h',
301 'base/event.cc',
302 'base/event.h',
303 'base/filelock.cc',
304 'base/filelock.h',
305 'base/fileutils.cc',
306 'base/fileutils.h',
307 'base/fileutils_mock.h',
308 'base/firewallsocketserver.cc',
309 'base/firewallsocketserver.h',
310 'base/flags.cc',
311 'base/flags.h',
312 'base/gunit_prod.h',
313 'base/helpers.cc',
314 'base/helpers.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000315 'base/httpbase.cc',
316 'base/httpbase.h',
317 'base/httpclient.cc',
318 'base/httpclient.h',
319 'base/httpcommon-inl.h',
320 'base/httpcommon.cc',
321 'base/httpcommon.h',
322 'base/httprequest.cc',
323 'base/httprequest.h',
324 'base/httpserver.cc',
325 'base/httpserver.h',
326 'base/ifaddrs-android.cc',
327 'base/ifaddrs-android.h',
328 'base/ipaddress.cc',
329 'base/ipaddress.h',
330 'base/json.cc',
331 'base/json.h',
332 'base/linked_ptr.h',
333 'base/linuxfdwalk.h',
334 'base/logging.cc',
335 'base/logging.h',
336 'base/maccocoathreadhelper.h',
337 'base/maccocoathreadhelper.mm',
338 'base/mathutils.h',
339 'base/md5.cc',
340 'base/md5.h',
341 'base/md5digest.h',
342 'base/messagedigest.cc',
343 'base/messagedigest.h',
344 'base/messagehandler.cc',
345 'base/messagehandler.h',
346 'base/messagequeue.cc',
347 'base/messagequeue.h',
348 'base/multipart.cc',
349 'base/multipart.h',
350 'base/natserver.cc',
351 'base/natserver.h',
352 'base/natsocketfactory.cc',
353 'base/natsocketfactory.h',
354 'base/nattypes.cc',
355 'base/nattypes.h',
356 'base/nethelpers.cc',
357 'base/nethelpers.h',
358 'base/network.cc',
359 'base/network.h',
360 'base/nssidentity.cc',
361 'base/nssidentity.h',
362 'base/nssstreamadapter.cc',
363 'base/nssstreamadapter.h',
364 'base/nullsocketserver.h',
365 'base/optionsfile.cc',
366 'base/optionsfile.h',
367 'base/pathutils.cc',
368 'base/pathutils.h',
369 'base/physicalsocketserver.cc',
370 'base/physicalsocketserver.h',
371 'base/profiler.cc',
372 'base/profiler.h',
373 'base/proxydetect.cc',
374 'base/proxydetect.h',
375 'base/proxyinfo.cc',
376 'base/proxyinfo.h',
377 'base/proxyserver.cc',
378 'base/proxyserver.h',
379 'base/ratelimiter.cc',
380 'base/ratelimiter.h',
381 'base/ratetracker.cc',
382 'base/ratetracker.h',
383 'base/refcount.h',
384 'base/referencecountedsingletonfactory.h',
385 'base/rollingaccumulator.h',
386 'base/scoped_autorelease_pool.h',
387 'base/scoped_ptr.h',
388 'base/scoped_ref_ptr.h',
sergeyu@chromium.org9cf037b2014-02-07 19:03:26 +0000389 'base/scopedptrcollection.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000390 'base/sec_buffer.h',
391 'base/sha1.cc',
392 'base/sha1.h',
393 'base/sha1digest.h',
394 'base/sharedexclusivelock.cc',
395 'base/sharedexclusivelock.h',
396 'base/signalthread.cc',
397 'base/signalthread.h',
398 'base/sigslot.h',
399 'base/sigslotrepeater.h',
400 'base/socket.h',
401 'base/socketadapters.cc',
402 'base/socketadapters.h',
403 'base/socketaddress.cc',
404 'base/socketaddress.h',
405 'base/socketaddresspair.cc',
406 'base/socketaddresspair.h',
407 'base/socketfactory.h',
408 'base/socketpool.cc',
409 'base/socketpool.h',
410 'base/socketserver.h',
411 'base/socketstream.cc',
412 'base/socketstream.h',
413 'base/ssladapter.cc',
414 'base/ssladapter.h',
415 'base/sslconfig.h',
sergeyu@chromium.org4b26e2e2014-01-15 23:15:54 +0000416 'base/sslfingerprint.cc',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000417 'base/sslfingerprint.h',
418 'base/sslidentity.cc',
419 'base/sslidentity.h',
420 'base/sslroots.h',
421 'base/sslsocketfactory.cc',
422 'base/sslsocketfactory.h',
423 'base/sslstreamadapter.cc',
424 'base/sslstreamadapter.h',
425 'base/sslstreamadapterhelper.cc',
426 'base/sslstreamadapterhelper.h',
427 'base/stream.cc',
428 'base/stream.h',
429 'base/stringdigest.h',
430 'base/stringencode.cc',
431 'base/stringencode.h',
432 'base/stringutils.cc',
433 'base/stringutils.h',
434 'base/systeminfo.cc',
435 'base/systeminfo.h',
436 'base/task.cc',
437 'base/task.h',
438 'base/taskparent.cc',
439 'base/taskparent.h',
440 'base/taskrunner.cc',
441 'base/taskrunner.h',
442 'base/testclient.cc',
443 'base/testclient.h',
444 'base/thread.cc',
445 'base/thread.h',
446 'base/timeutils.cc',
447 'base/timeutils.h',
448 'base/timing.cc',
449 'base/timing.h',
450 'base/transformadapter.cc',
451 'base/transformadapter.h',
452 'base/urlencode.cc',
453 'base/urlencode.h',
454 'base/versionparsing.cc',
455 'base/versionparsing.h',
456 'base/virtualsocketserver.cc',
457 'base/virtualsocketserver.h',
458 'base/window.h',
459 'base/windowpicker.h',
460 'base/windowpickerfactory.h',
461 'base/worker.cc',
462 'base/worker.h',
463 'xmllite/qname.cc',
464 'xmllite/qname.h',
465 'xmllite/xmlbuilder.cc',
466 'xmllite/xmlbuilder.h',
467 'xmllite/xmlconstants.cc',
468 'xmllite/xmlconstants.h',
469 'xmllite/xmlelement.cc',
470 'xmllite/xmlelement.h',
471 'xmllite/xmlnsstack.cc',
472 'xmllite/xmlnsstack.h',
473 'xmllite/xmlparser.cc',
474 'xmllite/xmlparser.h',
475 'xmllite/xmlprinter.cc',
476 'xmllite/xmlprinter.h',
477 'xmpp/asyncsocket.h',
478 'xmpp/chatroommodule.h',
479 'xmpp/chatroommoduleimpl.cc',
480 'xmpp/constants.cc',
481 'xmpp/constants.h',
482 'xmpp/discoitemsquerytask.cc',
483 'xmpp/discoitemsquerytask.h',
484 'xmpp/hangoutpubsubclient.cc',
485 'xmpp/hangoutpubsubclient.h',
486 'xmpp/iqtask.cc',
487 'xmpp/iqtask.h',
488 'xmpp/jid.cc',
489 'xmpp/jid.h',
490 'xmpp/module.h',
491 'xmpp/moduleimpl.cc',
492 'xmpp/moduleimpl.h',
493 'xmpp/mucroomconfigtask.cc',
494 'xmpp/mucroomconfigtask.h',
495 'xmpp/mucroomdiscoverytask.cc',
496 'xmpp/mucroomdiscoverytask.h',
497 'xmpp/mucroomlookuptask.cc',
498 'xmpp/mucroomlookuptask.h',
499 'xmpp/mucroomuniquehangoutidtask.cc',
500 'xmpp/mucroomuniquehangoutidtask.h',
501 'xmpp/pingtask.cc',
502 'xmpp/pingtask.h',
503 'xmpp/plainsaslhandler.h',
504 'xmpp/presenceouttask.cc',
505 'xmpp/presenceouttask.h',
506 'xmpp/presencereceivetask.cc',
507 'xmpp/presencereceivetask.h',
508 'xmpp/presencestatus.cc',
509 'xmpp/presencestatus.h',
510 'xmpp/prexmppauth.h',
511 'xmpp/pubsub_task.cc',
512 'xmpp/pubsub_task.h',
513 'xmpp/pubsubclient.cc',
514 'xmpp/pubsubclient.h',
mallinath@webrtc.org0dac5372014-01-28 06:58:42 +0000515 'xmpp/pubsubstateclient.cc',
516 'xmpp/pubsubstateclient.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000517 'xmpp/pubsubtasks.cc',
518 'xmpp/pubsubtasks.h',
519 'xmpp/receivetask.cc',
520 'xmpp/receivetask.h',
521 'xmpp/rostermodule.h',
522 'xmpp/rostermoduleimpl.cc',
523 'xmpp/rostermoduleimpl.h',
524 'xmpp/saslcookiemechanism.h',
525 'xmpp/saslhandler.h',
526 'xmpp/saslmechanism.cc',
527 'xmpp/saslmechanism.h',
528 'xmpp/saslplainmechanism.h',
529 'xmpp/xmppauth.cc',
530 'xmpp/xmppauth.h',
531 'xmpp/xmppclient.cc',
532 'xmpp/xmppclient.h',
533 'xmpp/xmppclientsettings.h',
534 'xmpp/xmppengine.h',
535 'xmpp/xmppengineimpl.cc',
536 'xmpp/xmppengineimpl.h',
537 'xmpp/xmppengineimpl_iq.cc',
538 'xmpp/xmpplogintask.cc',
539 'xmpp/xmpplogintask.h',
540 'xmpp/xmpppump.cc',
541 'xmpp/xmpppump.h',
542 'xmpp/xmppsocket.cc',
543 'xmpp/xmppsocket.h',
544 'xmpp/xmppstanzaparser.cc',
545 'xmpp/xmppstanzaparser.h',
546 'xmpp/xmpptask.cc',
547 'xmpp/xmpptask.h',
548 'xmpp/xmppthread.cc',
549 'xmpp/xmppthread.h',
550 ],
551 'conditions': [
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000552 ['OS=="android"', {
553 'sources': [
554 'base/ifaddrs-android.cc',
555 ],
556 'link_settings': {
557 'libraries': [
558 '-llog',
559 '-lGLESv2',
560 ],
561 },
562 }],
563 ['OS=="linux" or OS=="android"', {
564 'sources': [
565 'base/linux.cc',
566 'base/linux.h',
567 ],
568 }],
569 ['OS=="linux"', {
570 'sources': [
571 'base/dbus.cc',
572 'base/dbus.h',
573 'base/libdbusglibsymboltable.cc',
574 'base/libdbusglibsymboltable.h',
575 'base/linuxfdwalk.c',
576 'base/linuxwindowpicker.cc',
577 'base/linuxwindowpicker.h',
578 ],
579 'link_settings': {
580 'libraries': [
581 '-lcrypto',
582 '-ldl',
583 '-lrt',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000584 '-lXext',
585 '-lX11',
586 '-lXcomposite',
587 '-lXrender',
588 '<!@(<(pkg-config) --libs-only-l nss | sed -e "s/-lssl3//")',
589 ],
590 },
591 'cflags': [
592 '<!@(<(pkg-config) --cflags nss)',
593 ],
594 'ldflags': [
595 '<!@(<(pkg-config) --libs-only-L --libs-only-other nss)',
596 ],
597 }],
598 ['OS=="mac"', {
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000599 'sources': [
henrike@webrtc.org723d6832013-07-12 16:04:50 +0000600 'base/macasyncsocket.cc',
601 'base/macasyncsocket.h',
602 'base/maccocoasocketserver.h',
603 'base/maccocoasocketserver.mm',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000604 'base/macconversion.cc',
605 'base/macconversion.h',
henrike@webrtc.org723d6832013-07-12 16:04:50 +0000606 'base/macsocketserver.cc',
607 'base/macsocketserver.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000608 'base/macutils.cc',
609 'base/macutils.h',
610 'base/macwindowpicker.cc',
611 'base/macwindowpicker.h',
612 'base/scoped_autorelease_pool.mm',
613 ],
614 'link_settings': {
615 'libraries': [
fischman@webrtc.orge3de6b12013-08-26 19:31:21 +0000616 '$(SDKROOT)/usr/lib/libcrypto.dylib',
617 '$(SDKROOT)/usr/lib/libssl.dylib',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000618 ],
fischman@webrtc.orge3de6b12013-08-26 19:31:21 +0000619 },
620 'all_dependent_settings': {
621 'link_settings': {
622 'xcode_settings': {
623 'OTHER_LDFLAGS': [
624 '-framework Cocoa',
625 '-framework Foundation',
626 '-framework IOKit',
627 '-framework Security',
628 '-framework SystemConfiguration',
629 ],
630 },
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000631 },
632 },
fischman@webrtc.orge3de6b12013-08-26 19:31:21 +0000633 'conditions': [
634 ['target_arch=="ia32"', {
635 'all_dependent_settings': {
636 'link_settings': {
637 'xcode_settings': {
638 'OTHER_LDFLAGS': [
639 '-framework Carbon',
640 ],
641 },
642 },
643 },
644 }],
645 ],
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000646 }],
647 ['OS=="ios"', {
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000648 'sources': [
649 'base/scoped_autorelease_pool.mm',
650 ],
fischman@webrtc.org1bc19542013-08-01 18:29:45 +0000651 'dependencies': [
652 '../net/third_party/nss/ssl.gyp:libssl',
653 ],
fischman@webrtc.orge3de6b12013-08-26 19:31:21 +0000654 'all_dependent_settings': {
655 'xcode_settings': {
656 'OTHER_LDFLAGS': [
657 '-framework Foundation',
658 '-framework IOKit',
659 '-framework Security',
660 '-framework SystemConfiguration',
661 '-framework UIKit',
662 ],
663 },
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000664 },
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000665 }],
666 ['OS=="win"', {
667 'sources': [
668 'base/diskcache_win32.cc',
669 'base/diskcache_win32.h',
670 'base/schanneladapter.cc',
671 'base/schanneladapter.h',
672 'base/win32.cc',
673 'base/win32.h',
674 'base/win32filesystem.cc',
675 'base/win32filesystem.h',
676 'base/win32regkey.cc',
677 'base/win32regkey.h',
678 'base/win32securityerrors.cc',
679 'base/win32socketinit.cc',
680 'base/win32socketinit.h',
681 'base/win32socketserver.cc',
682 'base/win32socketserver.h',
683 'base/win32window.cc',
684 'base/win32window.h',
685 'base/win32windowpicker.cc',
686 'base/win32windowpicker.h',
687 'base/winfirewall.cc',
688 'base/winfirewall.h',
689 'base/winping.cc',
690 'base/winping.h',
691 ],
henrike@webrtc.org28654cb2013-07-22 21:07:49 +0000692 'link_settings': {
693 'libraries': [
694 '-lcrypt32.lib',
695 '-liphlpapi.lib',
696 '-lsecur32.lib',
697 ],
698 },
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000699 # Suppress warnings about WIN32_LEAN_AND_MEAN.
700 'msvs_disabled_warnings': [4005],
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000701 }],
702 ['os_posix==1', {
703 'sources': [
704 'base/latebindingsymboltable.cc',
705 'base/latebindingsymboltable.h',
706 'base/posix.cc',
707 'base/posix.h',
708 'base/unixfilesystem.cc',
709 'base/unixfilesystem.h',
710 ],
711 'conditions': [
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000712 ['OS!="ios"', {
713 'sources': [
714 'base/openssladapter.cc',
715 'base/openssladapter.h',
716 'base/openssldigest.cc',
717 'base/openssldigest.h',
718 'base/opensslidentity.cc',
719 'base/opensslidentity.h',
720 'base/opensslstreamadapter.cc',
721 'base/opensslstreamadapter.h',
722 ],
723 }],
724 ],
725 }],
726 ], # conditions
727 }, # target libjingle
728 {
729 'target_name': 'libjingle_sound',
730 'type': 'static_library',
731 'dependencies': [
732 'libjingle',
733 ],
734 'sources': [
735 'sound/automaticallychosensoundsystem.h',
736 'sound/nullsoundsystem.cc',
737 'sound/nullsoundsystem.h',
738 'sound/nullsoundsystemfactory.cc',
739 'sound/nullsoundsystemfactory.h',
740 'sound/platformsoundsystem.cc',
741 'sound/platformsoundsystem.h',
742 'sound/platformsoundsystemfactory.cc',
743 'sound/platformsoundsystemfactory.h',
744 'sound/sounddevicelocator.h',
745 'sound/soundinputstreaminterface.h',
746 'sound/soundoutputstreaminterface.h',
747 'sound/soundsystemfactory.h',
748 'sound/soundsysteminterface.cc',
749 'sound/soundsysteminterface.h',
750 'sound/soundsystemproxy.cc',
751 'sound/soundsystemproxy.h',
752 ],
753 'conditions': [
754 ['OS=="linux"', {
755 'sources': [
756 'sound/alsasoundsystem.cc',
757 'sound/alsasoundsystem.h',
758 'sound/alsasymboltable.cc',
759 'sound/alsasymboltable.h',
760 'sound/linuxsoundsystem.cc',
761 'sound/linuxsoundsystem.h',
762 'sound/pulseaudiosoundsystem.cc',
763 'sound/pulseaudiosoundsystem.h',
764 'sound/pulseaudiosymboltable.cc',
765 'sound/pulseaudiosymboltable.h',
766 ],
767 }],
768 ],
769 }, # target libjingle_sound
770 {
771 'target_name': 'libjingle_media',
772 'type': 'static_library',
jiayl@webrtc.orga576faf2014-01-29 17:45:53 +0000773 'include_dirs': [
774 # TODO(jiayl): move this into the direct_dependent_settings of
775 # usrsctp.gyp.
776 '<(DEPTH)/third_party/usrsctp',
777 ],
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000778 'dependencies': [
779 '<(DEPTH)/third_party/libyuv/libyuv.gyp:libyuv',
jiayl@webrtc.orga576faf2014-01-29 17:45:53 +0000780 '<(DEPTH)/third_party/usrsctp/usrsctp.gyp:usrsctplib',
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',
mallinath@webrtc.orgecd622e2014-02-03 17:17:05 +0000839 'media/base/yuvframegenerator.cc',
840 'media/base/yuvframegenerator.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000841 'media/devices/deviceinfo.h',
842 'media/devices/devicemanager.cc',
843 'media/devices/devicemanager.h',
844 'media/devices/dummydevicemanager.h',
845 'media/devices/filevideocapturer.cc',
846 'media/devices/filevideocapturer.h',
847 'media/devices/videorendererfactory.h',
mallinath@webrtc.orgecd622e2014-02-03 17:17:05 +0000848 'media/devices/yuvframescapturer.cc',
849 'media/devices/yuvframescapturer.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000850 'media/other/linphonemediaengine.h',
jiayl@webrtc.orga576faf2014-01-29 17:45:53 +0000851 'media/sctp/sctpdataengine.cc',
852 'media/sctp/sctpdataengine.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000853 'media/webrtc/webrtccommon.h',
854 'media/webrtc/webrtcexport.h',
855 'media/webrtc/webrtcmediaengine.h',
856 'media/webrtc/webrtcpassthroughrender.cc',
857 'media/webrtc/webrtcpassthroughrender.h',
wu@webrtc.org9dba5252013-08-05 20:36:57 +0000858 'media/webrtc/webrtctexturevideoframe.cc',
859 'media/webrtc/webrtctexturevideoframe.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000860 'media/webrtc/webrtcvideocapturer.cc',
861 'media/webrtc/webrtcvideocapturer.h',
862 'media/webrtc/webrtcvideodecoderfactory.h',
863 'media/webrtc/webrtcvideoencoderfactory.h',
864 'media/webrtc/webrtcvideoengine.cc',
865 'media/webrtc/webrtcvideoengine.h',
866 'media/webrtc/webrtcvideoframe.cc',
867 'media/webrtc/webrtcvideoframe.h',
868 'media/webrtc/webrtcvie.h',
869 'media/webrtc/webrtcvoe.h',
870 'media/webrtc/webrtcvoiceengine.cc',
871 'media/webrtc/webrtcvoiceengine.h',
872 ],
873 'conditions': [
874 ['OS=="linux"', {
875 'sources': [
876 'media/devices/gtkvideorenderer.cc',
877 'media/devices/gtkvideorenderer.h',
878 'media/devices/libudevsymboltable.cc',
879 'media/devices/libudevsymboltable.h',
880 'media/devices/linuxdeviceinfo.cc',
881 'media/devices/linuxdevicemanager.cc',
882 'media/devices/linuxdevicemanager.h',
883 'media/devices/v4llookup.cc',
884 'media/devices/v4llookup.h',
885 ],
886 'include_dirs': [
887 'third_party/libudev'
888 ],
889 'cflags': [
890 '<!@(pkg-config --cflags gobject-2.0 gthread-2.0 gtk+-2.0)',
891 ],
892 'libraries': [
893 '-lrt',
894 '-lXext',
895 '-lX11',
896 ],
897 }],
898 ['OS=="win"', {
899 'sources': [
900 'media/devices/gdivideorenderer.cc',
901 'media/devices/gdivideorenderer.h',
902 'media/devices/win32deviceinfo.cc',
903 'media/devices/win32devicemanager.cc',
904 'media/devices/win32devicemanager.h',
905 ],
906 'msvs_settings': {
907 'VCLibrarianTool': {
908 'AdditionalDependencies': [
909 'd3d9.lib',
910 'gdi32.lib',
911 'strmiids.lib',
912 'winmm.lib',
913 ],
914 },
915 },
916 }],
917 ['OS=="mac"', {
918 'sources': [
919 'media/devices/macdeviceinfo.cc',
920 'media/devices/macdevicemanager.cc',
921 'media/devices/macdevicemanager.h',
922 'media/devices/macdevicemanagermm.mm',
923 ],
924 'conditions': [
fischman@webrtc.orge3de6b12013-08-26 19:31:21 +0000925 ['target_arch=="ia32"', {
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000926 'sources': [
927 'media/devices/carbonvideorenderer.cc',
928 'media/devices/carbonvideorenderer.h',
929 ],
fischman@webrtc.orge3de6b12013-08-26 19:31:21 +0000930 'link_settings': {
931 'xcode_settings': {
932 'OTHER_LDFLAGS': [
933 '-framework Carbon',
934 ],
935 },
936 },
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000937 }],
938 ],
939 'xcode_settings': {
940 'WARNING_CFLAGS': [
941 # TODO(ronghuawu): Update macdevicemanager.cc to stop using
942 # deprecated functions and remove this flag.
943 '-Wno-deprecated-declarations',
944 ],
945 },
946 'link_settings': {
947 'xcode_settings': {
948 'OTHER_LDFLAGS': [
949 '-framework Cocoa',
950 '-framework CoreAudio',
951 '-framework CoreVideo',
952 '-framework OpenGL',
953 '-framework QTKit',
954 ],
955 },
956 },
957 }],
958 ['OS=="ios"', {
959 'sources': [
960 'media/devices/iosdeviceinfo.cc',
961 'media/devices/mobiledevicemanager.cc',
962 ],
963 'include_dirs': [
964 # TODO(sjlee) Remove when vp8 is building for iOS. vp8 pulls in
965 # libjpeg which pulls in libyuv which currently disabled.
966 '../third_party/libyuv/include',
967 ],
jiayl@webrtc.orga576faf2014-01-29 17:45:53 +0000968 'dependencies!': [
969 '<(DEPTH)/third_party/usrsctp/usrsctp.gyp:usrsctplib',
970 ],
971 'sources!': [
972 'media/sctp/sctpdataengine.cc',
973 'media/sctp/sctpdataengine.h',
974 ],
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000975 }],
976 ['OS=="android"', {
977 'sources': [
978 'media/devices/mobiledevicemanager.cc',
979 ],
980 }],
981 ],
982 }, # target libjingle_media
983 {
984 'target_name': 'libjingle_p2p',
985 'type': 'static_library',
986 'dependencies': [
987 '<(DEPTH)/third_party/libsrtp/libsrtp.gyp:libsrtp',
988 'libjingle',
989 'libjingle_media',
990 ],
991 'include_dirs': [
henrike@webrtc.org723d6832013-07-12 16:04:50 +0000992 '<(DEPTH)/testing/gtest/include',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000993 ],
994 'direct_dependent_settings': {
995 'include_dirs': [
henrike@webrtc.org723d6832013-07-12 16:04:50 +0000996 '<(DEPTH)/testing/gtest/include',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000997 ],
998 },
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000999 'sources': [
1000 'p2p/base/asyncstuntcpsocket.cc',
1001 'p2p/base/asyncstuntcpsocket.h',
1002 'p2p/base/basicpacketsocketfactory.cc',
1003 'p2p/base/basicpacketsocketfactory.h',
1004 'p2p/base/candidate.h',
1005 'p2p/base/common.h',
1006 'p2p/base/constants.cc',
1007 'p2p/base/constants.h',
1008 'p2p/base/dtlstransportchannel.cc',
1009 'p2p/base/dtlstransportchannel.h',
1010 'p2p/base/p2ptransport.cc',
1011 'p2p/base/p2ptransport.h',
1012 'p2p/base/p2ptransportchannel.cc',
1013 'p2p/base/p2ptransportchannel.h',
1014 'p2p/base/packetsocketfactory.h',
1015 'p2p/base/parsing.cc',
1016 'p2p/base/parsing.h',
1017 'p2p/base/port.cc',
1018 'p2p/base/port.h',
1019 'p2p/base/portallocator.cc',
1020 'p2p/base/portallocator.h',
1021 'p2p/base/portallocatorsessionproxy.cc',
1022 'p2p/base/portallocatorsessionproxy.h',
1023 'p2p/base/portinterface.h',
1024 'p2p/base/portproxy.cc',
1025 'p2p/base/portproxy.h',
1026 'p2p/base/pseudotcp.cc',
1027 'p2p/base/pseudotcp.h',
1028 'p2p/base/rawtransport.cc',
1029 'p2p/base/rawtransport.h',
1030 'p2p/base/rawtransportchannel.cc',
1031 'p2p/base/rawtransportchannel.h',
1032 'p2p/base/relayport.cc',
1033 'p2p/base/relayport.h',
1034 'p2p/base/relayserver.cc',
1035 'p2p/base/relayserver.h',
1036 'p2p/base/session.cc',
1037 'p2p/base/session.h',
1038 'p2p/base/sessionclient.h',
1039 'p2p/base/sessiondescription.cc',
1040 'p2p/base/sessiondescription.h',
1041 'p2p/base/sessionid.h',
1042 'p2p/base/sessionmanager.cc',
1043 'p2p/base/sessionmanager.h',
1044 'p2p/base/sessionmessages.cc',
1045 'p2p/base/sessionmessages.h',
1046 'p2p/base/stun.cc',
1047 'p2p/base/stun.h',
1048 'p2p/base/stunport.cc',
1049 'p2p/base/stunport.h',
1050 'p2p/base/stunrequest.cc',
1051 'p2p/base/stunrequest.h',
1052 'p2p/base/stunserver.cc',
1053 'p2p/base/stunserver.h',
1054 'p2p/base/tcpport.cc',
1055 'p2p/base/tcpport.h',
1056 'p2p/base/transport.cc',
1057 'p2p/base/transport.h',
1058 'p2p/base/transportchannel.cc',
1059 'p2p/base/transportchannel.h',
1060 'p2p/base/transportchannelimpl.h',
1061 'p2p/base/transportchannelproxy.cc',
1062 'p2p/base/transportchannelproxy.h',
sergeyu@chromium.org492e3152013-08-24 00:06:43 +00001063 'p2p/base/transportdescription.cc',
henrike@webrtc.org28e20752013-07-10 00:45:36 +00001064 'p2p/base/transportdescription.h',
1065 'p2p/base/transportdescriptionfactory.cc',
1066 'p2p/base/transportdescriptionfactory.h',
1067 'p2p/base/transportinfo.h',
1068 'p2p/base/turnport.cc',
1069 'p2p/base/turnport.h',
1070 'p2p/base/turnserver.cc',
1071 'p2p/base/turnserver.h',
1072 'p2p/base/udpport.h',
1073 'p2p/client/autoportallocator.h',
1074 'p2p/client/basicportallocator.cc',
1075 'p2p/client/basicportallocator.h',
1076 'p2p/client/connectivitychecker.cc',
1077 'p2p/client/connectivitychecker.h',
1078 'p2p/client/httpportallocator.cc',
1079 'p2p/client/httpportallocator.h',
1080 'p2p/client/sessionmanagertask.h',
1081 'p2p/client/sessionsendtask.h',
1082 'p2p/client/socketmonitor.cc',
1083 'p2p/client/socketmonitor.h',
1084 'session/tunnel/pseudotcpchannel.cc',
1085 'session/tunnel/pseudotcpchannel.h',
1086 'session/tunnel/tunnelsessionclient.cc',
1087 'session/tunnel/tunnelsessionclient.h',
1088 'session/tunnel/securetunnelsessionclient.cc',
1089 'session/tunnel/securetunnelsessionclient.h',
1090 'session/media/audiomonitor.cc',
1091 'session/media/audiomonitor.h',
1092 'session/media/call.cc',
1093 'session/media/call.h',
1094 'session/media/channel.cc',
1095 'session/media/channel.h',
1096 'session/media/channelmanager.cc',
1097 'session/media/channelmanager.h',
1098 'session/media/currentspeakermonitor.cc',
1099 'session/media/currentspeakermonitor.h',
1100 'session/media/mediamessages.cc',
1101 'session/media/mediamessages.h',
1102 'session/media/mediamonitor.cc',
1103 'session/media/mediamonitor.h',
1104 'session/media/mediarecorder.cc',
1105 'session/media/mediarecorder.h',
1106 'session/media/mediasession.cc',
1107 'session/media/mediasession.h',
1108 'session/media/mediasessionclient.cc',
1109 'session/media/mediasessionclient.h',
1110 'session/media/mediasink.h',
1111 'session/media/rtcpmuxfilter.cc',
1112 'session/media/rtcpmuxfilter.h',
1113 'session/media/soundclip.cc',
1114 'session/media/soundclip.h',
1115 'session/media/srtpfilter.cc',
1116 'session/media/srtpfilter.h',
1117 'session/media/ssrcmuxfilter.cc',
1118 'session/media/ssrcmuxfilter.h',
1119 'session/media/typingmonitor.cc',
1120 'session/media/typingmonitor.h',
1121 'session/media/voicechannel.h',
1122 ],
1123 }, # target libjingle_p2p
1124 {
1125 'target_name': 'libjingle_peerconnection',
1126 'type': 'static_library',
1127 'dependencies': [
1128 'libjingle',
1129 'libjingle_media',
1130 'libjingle_p2p',
1131 ],
1132 'sources': [
1133 'app/webrtc/audiotrack.cc',
1134 'app/webrtc/audiotrack.h',
1135 'app/webrtc/audiotrackrenderer.cc',
1136 'app/webrtc/audiotrackrenderer.h',
1137 'app/webrtc/datachannel.cc',
1138 'app/webrtc/datachannel.h',
1139 'app/webrtc/datachannelinterface.h',
1140 'app/webrtc/dtmfsender.cc',
1141 'app/webrtc/dtmfsender.h',
1142 'app/webrtc/dtmfsenderinterface.h',
1143 'app/webrtc/fakeportallocatorfactory.h',
1144 'app/webrtc/jsep.h',
1145 'app/webrtc/jsepicecandidate.cc',
1146 'app/webrtc/jsepicecandidate.h',
1147 'app/webrtc/jsepsessiondescription.cc',
1148 'app/webrtc/jsepsessiondescription.h',
1149 'app/webrtc/localaudiosource.cc',
1150 'app/webrtc/localaudiosource.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +00001151 'app/webrtc/mediaconstraintsinterface.cc',
1152 'app/webrtc/mediaconstraintsinterface.h',
1153 'app/webrtc/mediastream.cc',
1154 'app/webrtc/mediastream.h',
1155 'app/webrtc/mediastreamhandler.cc',
1156 'app/webrtc/mediastreamhandler.h',
1157 'app/webrtc/mediastreaminterface.h',
1158 'app/webrtc/mediastreamprovider.h',
1159 'app/webrtc/mediastreamproxy.h',
1160 'app/webrtc/mediastreamsignaling.cc',
1161 'app/webrtc/mediastreamsignaling.h',
1162 'app/webrtc/mediastreamtrack.h',
1163 'app/webrtc/mediastreamtrackproxy.h',
1164 'app/webrtc/notifier.h',
1165 'app/webrtc/peerconnection.cc',
1166 'app/webrtc/peerconnection.h',
1167 'app/webrtc/peerconnectionfactory.cc',
1168 'app/webrtc/peerconnectionfactory.h',
1169 'app/webrtc/peerconnectioninterface.h',
1170 'app/webrtc/peerconnectionproxy.h',
1171 'app/webrtc/portallocatorfactory.cc',
1172 'app/webrtc/portallocatorfactory.h',
1173 'app/webrtc/proxy.h',
wu@webrtc.org967bfff2013-09-19 05:49:50 +00001174 'app/webrtc/remotevideocapturer.cc',
1175 'app/webrtc/remotevideocapturer.h',
henrika@webrtc.orgaebb1ad2014-01-14 10:00:58 +00001176 'app/webrtc/sctputils.cc',
1177 'app/webrtc/sctputils.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +00001178 'app/webrtc/statscollector.cc',
1179 'app/webrtc/statscollector.h',
1180 'app/webrtc/statstypes.h',
1181 'app/webrtc/streamcollection.h',
wu@webrtc.org967bfff2013-09-19 05:49:50 +00001182 'app/webrtc/videosource.cc',
1183 'app/webrtc/videosource.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +00001184 'app/webrtc/videosourceinterface.h',
1185 'app/webrtc/videosourceproxy.h',
1186 'app/webrtc/videotrack.cc',
1187 'app/webrtc/videotrack.h',
1188 'app/webrtc/videotrackrenderers.cc',
1189 'app/webrtc/videotrackrenderers.h',
1190 'app/webrtc/webrtcsdp.cc',
1191 'app/webrtc/webrtcsdp.h',
1192 'app/webrtc/webrtcsession.cc',
1193 'app/webrtc/webrtcsession.h',
wu@webrtc.org91053e72013-08-10 07:18:04 +00001194 'app/webrtc/webrtcsessiondescriptionfactory.cc',
1195 'app/webrtc/webrtcsessiondescriptionfactory.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +00001196 ],
1197 }, # target libjingle_peerconnection
1198 ],
1199}