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