blob: eae8bbd5459231188a7c828622fda5b58bc65cc1 [file] [log] [blame]
henrike@webrtc.org28e20752013-07-10 00:45:36 +00001#
2# libjingle
3# Copyright 2012, Google Inc.
4#
5# Redistribution and use in source and binary forms, with or without
6# modification, are permitted provided that the following conditions are met:
7#
8# 1. Redistributions of source code must retain the above copyright notice,
9# this list of conditions and the following disclaimer.
10# 2. Redistributions in binary form must reproduce the above copyright notice,
11# this list of conditions and the following disclaimer in the documentation
12# and/or other materials provided with the distribution.
13# 3. The name of the author may not be used to endorse or promote products
14# derived from this software without specific prior written permission.
15#
16# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
17# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
18# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
19# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
20# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
21# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
22# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
23# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
24# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
25# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26#
27
28{
29 'includes': ['build/common.gypi'],
henrike@webrtc.org28e20752013-07-10 00:45:36 +000030 'conditions': [
31 ['os_posix == 1 and OS != "mac" and OS != "ios"', {
32 'conditions': [
33 ['sysroot!=""', {
34 'variables': {
35 'pkg-config': '../../../build/linux/pkg-config-wrapper "<(sysroot)" "<(target_arch)"',
36 },
37 }, {
38 'variables': {
39 'pkg-config': 'pkg-config'
40 },
41 }],
42 ],
43 }],
henrike@webrtc.org28e20752013-07-10 00:45:36 +000044 ['OS=="linux" or OS=="android"', {
45 'targets': [
46 {
47 'target_name': 'libjingle_peerconnection_so',
48 'type': 'loadable_module',
49 'dependencies': [
50 'libjingle_peerconnection',
51 '<(DEPTH)/third_party/icu/icu.gyp:icuuc',
52 ],
53 'sources': [
54 'app/webrtc/java/jni/peerconnection_jni.cc'
55 ],
fischman@webrtc.org540acde2014-02-13 03:56:14 +000056 'include_dirs': [
57 '<(DEPTH)/third_party/libyuv/include',
58 ],
henrike@webrtc.org28e20752013-07-10 00:45:36 +000059 'conditions': [
60 ['OS=="linux"', {
61 'defines': [
62 'HAVE_GTK',
63 ],
64 'include_dirs': [
65 '<(java_home)/include',
66 '<(java_home)/include/linux',
67 ],
68 'link_settings': {
69 'libraries': [
70 '<!@(pkg-config --libs-only-l gobject-2.0 gthread-2.0'
71 ' gtk+-2.0)',
72 ],
73 },
74 }],
75 ],
76 },
77 {
78 'target_name': 'libjingle_peerconnection_jar',
79 'type': 'none',
80 'actions': [
81 {
82 'variables': {
83 'java_src_dir': 'app/webrtc/java/src',
henrike@webrtc.org9de257d2013-07-17 14:42:53 +000084 'webrtc_modules_dir': '<(webrtc_root)/modules',
fischman@webrtc.org000dde92013-12-20 22:49:35 +000085 'build_jar_log': '<(INTERMEDIATE_DIR)/build_jar.log',
henrike@webrtc.org28e20752013-07-10 00:45:36 +000086 'peerconnection_java_files': [
87 'app/webrtc/java/src/org/webrtc/AudioSource.java',
88 'app/webrtc/java/src/org/webrtc/AudioTrack.java',
henrike@webrtc.org723d6832013-07-12 16:04:50 +000089 'app/webrtc/java/src/org/webrtc/DataChannel.java',
henrike@webrtc.org28e20752013-07-10 00:45:36 +000090 'app/webrtc/java/src/org/webrtc/IceCandidate.java',
fischman@webrtc.orgc883fdc2013-08-06 19:00:53 +000091 'app/webrtc/java/src/org/webrtc/Logging.java',
henrike@webrtc.org28e20752013-07-10 00:45:36 +000092 'app/webrtc/java/src/org/webrtc/MediaConstraints.java',
93 'app/webrtc/java/src/org/webrtc/MediaSource.java',
94 'app/webrtc/java/src/org/webrtc/MediaStream.java',
95 'app/webrtc/java/src/org/webrtc/MediaStreamTrack.java',
96 'app/webrtc/java/src/org/webrtc/PeerConnectionFactory.java',
97 'app/webrtc/java/src/org/webrtc/PeerConnection.java',
98 'app/webrtc/java/src/org/webrtc/SdpObserver.java',
99 'app/webrtc/java/src/org/webrtc/StatsObserver.java',
100 'app/webrtc/java/src/org/webrtc/StatsReport.java',
101 'app/webrtc/java/src/org/webrtc/SessionDescription.java',
102 'app/webrtc/java/src/org/webrtc/VideoCapturer.java',
103 'app/webrtc/java/src/org/webrtc/VideoRenderer.java',
104 'app/webrtc/java/src/org/webrtc/VideoSource.java',
105 'app/webrtc/java/src/org/webrtc/VideoTrack.java',
106 ],
107 # TODO(fischman): extract this into a webrtc gyp var that can be
108 # included here, or better yet, build a proper .jar in webrtc
109 # and include it here.
110 'android_java_files': [
fischman@webrtc.org540acde2014-02-13 03:56:14 +0000111 'app/webrtc/java/src/org/webrtc/MediaCodecVideoEncoder.java',
henrike@webrtc.org82f014a2013-09-10 18:24:07 +0000112 '<(webrtc_modules_dir)/audio_device/android/java/src/org/webrtc/voiceengine/AudioManagerAndroid.java',
henrike@webrtc.org9de257d2013-07-17 14:42:53 +0000113 '<(webrtc_modules_dir)/video_capture/android/java/src/org/webrtc/videoengine/VideoCaptureAndroid.java',
114 '<(webrtc_modules_dir)/video_capture/android/java/src/org/webrtc/videoengine/VideoCaptureDeviceInfoAndroid.java',
115 '<(webrtc_modules_dir)/video_render/android/java/src/org/webrtc/videoengine/ViEAndroidGLES20.java',
116 '<(webrtc_modules_dir)/video_render/android/java/src/org/webrtc/videoengine/ViERenderer.java',
117 '<(webrtc_modules_dir)/video_render/android/java/src/org/webrtc/videoengine/ViESurfaceRenderer.java',
henrike@webrtc.org9ee75e92013-12-11 21:42:44 +0000118 '<(webrtc_modules_dir)/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioRecord.java',
119 '<(webrtc_modules_dir)/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioTrack.java',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000120 ],
121 },
122 'action_name': 'create_jar',
123 'inputs': [
124 'build/build_jar.sh',
125 '<@(java_files)',
126 ],
127 'outputs': [
128 '<(PRODUCT_DIR)/libjingle_peerconnection.jar',
129 ],
130 'conditions': [
131 ['OS=="android"', {
132 'variables': {
133 'java_files': ['<@(peerconnection_java_files)', '<@(android_java_files)'],
134 'build_classpath': '<(java_src_dir):<(DEPTH)/third_party/android_tools/sdk/platforms/android-<(android_sdk_version)/android.jar',
135 },
136 }, {
137 'variables': {
138 'java_files': ['<@(peerconnection_java_files)'],
139 'build_classpath': '<(java_src_dir)',
140 },
141 }],
142 ],
143 'action': [
fischman@webrtc.org000dde92013-12-20 22:49:35 +0000144 'bash', '-ec',
145 'mkdir -p <(INTERMEDIATE_DIR) && '
146 '{ build/build_jar.sh <(java_home) <@(_outputs) '
147 ' <(INTERMEDIATE_DIR)/build_jar.tmp '
148 ' <(build_classpath) <@(java_files) '
149 ' > <(build_jar_log) 2>&1 || '
150 ' { cat <(build_jar_log) ; exit 1; } }'
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000151 ],
152 },
153 ],
154 'dependencies': [
155 'libjingle_peerconnection_so',
156 ],
157 },
158 ],
159 }],
fischman@webrtc.orge3de6b12013-08-26 19:31:21 +0000160 ['OS=="ios" or (OS=="mac" and target_arch!="ia32")', {
henrike@webrtc.org28e20752013-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.org1bc19542013-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.org28e20752013-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',
tkchin@webrtc.org19b1be12014-04-22 21:05:38 +0000196 'app/webrtc/objc/RTCStatsReport+Internal.h',
197 'app/webrtc/objc/RTCStatsReport.mm',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000198 'app/webrtc/objc/RTCVideoCapturer+Internal.h',
199 'app/webrtc/objc/RTCVideoCapturer.mm',
200 'app/webrtc/objc/RTCVideoRenderer+Internal.h',
201 'app/webrtc/objc/RTCVideoRenderer.mm',
202 'app/webrtc/objc/RTCVideoSource+Internal.h',
203 'app/webrtc/objc/RTCVideoSource.mm',
204 'app/webrtc/objc/RTCVideoTrack+Internal.h',
205 'app/webrtc/objc/RTCVideoTrack.mm',
206 'app/webrtc/objc/public/RTCAudioSource.h',
207 'app/webrtc/objc/public/RTCAudioTrack.h',
208 'app/webrtc/objc/public/RTCI420Frame.h',
fischman@webrtc.org1bc19542013-08-01 18:29:45 +0000209 'app/webrtc/objc/public/RTCICECandidate.h',
210 'app/webrtc/objc/public/RTCICEServer.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000211 'app/webrtc/objc/public/RTCMediaConstraints.h',
212 'app/webrtc/objc/public/RTCMediaSource.h',
213 'app/webrtc/objc/public/RTCMediaStream.h',
214 'app/webrtc/objc/public/RTCMediaStreamTrack.h',
215 'app/webrtc/objc/public/RTCPair.h',
216 'app/webrtc/objc/public/RTCPeerConnection.h',
217 'app/webrtc/objc/public/RTCPeerConnectionDelegate.h',
218 'app/webrtc/objc/public/RTCPeerConnectionFactory.h',
219 'app/webrtc/objc/public/RTCSessionDescription.h',
tkchin@webrtc.orgec3d8ec2014-04-21 18:47:24 +0000220 'app/webrtc/objc/public/RTCSessionDescriptionDelegate.h',
tkchin@webrtc.org19b1be12014-04-22 21:05:38 +0000221 'app/webrtc/objc/public/RTCStatsDelegate.h',
222 'app/webrtc/objc/public/RTCStatsReport.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000223 'app/webrtc/objc/public/RTCTypes.h',
224 'app/webrtc/objc/public/RTCVideoCapturer.h',
225 'app/webrtc/objc/public/RTCVideoRenderer.h',
226 'app/webrtc/objc/public/RTCVideoRendererDelegate.h',
227 'app/webrtc/objc/public/RTCVideoSource.h',
228 'app/webrtc/objc/public/RTCVideoTrack.h',
229 ],
fischman@webrtc.org1bc19542013-08-01 18:29:45 +0000230 'direct_dependent_settings': {
231 'include_dirs': [
232 '<(DEPTH)/talk/app/webrtc/objc/public',
233 ],
234 },
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000235 'include_dirs': [
236 '<(DEPTH)/talk/app/webrtc',
237 '<(DEPTH)/talk/app/webrtc/objc',
238 '<(DEPTH)/talk/app/webrtc/objc/public',
239 ],
240 'link_settings': {
241 'libraries': [
242 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
fischman@webrtc.org76fe9302013-09-19 21:11:08 +0000243 '-lstdc++',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000244 ],
245 },
246 'xcode_settings': {
247 'CLANG_ENABLE_OBJC_ARC': 'YES',
tkchin@webrtc.org19b1be12014-04-22 21:05:38 +0000248 # common.gypi enables this for mac but we want this to be disabled
249 # like it is for ios.
250 'CLANG_WARN_OBJC_MISSING_PROPERTY_SYNTHESIS': 'NO',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000251 },
fischman@webrtc.orge3de6b12013-08-26 19:31:21 +0000252 }, # target libjingle_peerconnection_objc
253 ],
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000254 }],
255 ],
256
257 'targets': [
258 {
259 'target_name': 'libjingle',
260 'type': 'static_library',
261 'dependencies': [
262 '<(DEPTH)/third_party/expat/expat.gyp:expat',
263 '<(DEPTH)/third_party/jsoncpp/jsoncpp.gyp:jsoncpp',
264 ],
265 'export_dependent_settings': [
266 '<(DEPTH)/third_party/expat/expat.gyp:expat',
267 '<(DEPTH)/third_party/jsoncpp/jsoncpp.gyp:jsoncpp',
268 ],
269 'sources': [
270 'base/asyncfile.cc',
271 'base/asyncfile.h',
272 'base/asynchttprequest.cc',
273 'base/asynchttprequest.h',
sergeyu@chromium.org9cf037b2014-02-07 19:03:26 +0000274 'base/asyncinvoker.cc',
275 'base/asyncinvoker.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000276 'base/asyncpacketsocket.h',
sergeyu@chromium.orga23f0ca2013-11-13 22:48:52 +0000277 'base/asyncresolverinterface.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000278 'base/asyncsocket.cc',
279 'base/asyncsocket.h',
280 'base/asynctcpsocket.cc',
281 'base/asynctcpsocket.h',
282 'base/asyncudpsocket.cc',
283 'base/asyncudpsocket.h',
284 'base/atomicops.h',
285 'base/autodetectproxy.cc',
286 'base/autodetectproxy.h',
287 'base/bandwidthsmoother.cc',
288 'base/bandwidthsmoother.h',
289 'base/base64.cc',
290 'base/base64.h',
291 'base/basicdefs.h',
292 'base/basictypes.h',
293 'base/bind.h',
294 'base/buffer.h',
295 'base/bytebuffer.cc',
296 'base/bytebuffer.h',
297 'base/byteorder.h',
sergeyu@chromium.org9cf037b2014-02-07 19:03:26 +0000298 'base/callback.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000299 'base/checks.cc',
300 'base/checks.h',
301 'base/common.cc',
302 'base/common.h',
303 'base/constructormagic.h',
304 'base/cpumonitor.cc',
305 'base/cpumonitor.h',
306 'base/crc32.cc',
307 'base/crc32.h',
308 'base/criticalsection.h',
309 'base/cryptstring.h',
310 'base/diskcache.cc',
311 'base/diskcache.h',
312 'base/event.cc',
313 'base/event.h',
314 'base/filelock.cc',
315 'base/filelock.h',
316 'base/fileutils.cc',
317 'base/fileutils.h',
318 'base/fileutils_mock.h',
319 'base/firewallsocketserver.cc',
320 'base/firewallsocketserver.h',
321 'base/flags.cc',
322 'base/flags.h',
323 'base/gunit_prod.h',
324 'base/helpers.cc',
325 'base/helpers.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000326 'base/httpbase.cc',
327 'base/httpbase.h',
328 'base/httpclient.cc',
329 'base/httpclient.h',
330 'base/httpcommon-inl.h',
331 'base/httpcommon.cc',
332 'base/httpcommon.h',
333 'base/httprequest.cc',
334 'base/httprequest.h',
335 'base/httpserver.cc',
336 'base/httpserver.h',
337 'base/ifaddrs-android.cc',
338 'base/ifaddrs-android.h',
339 'base/ipaddress.cc',
340 'base/ipaddress.h',
341 'base/json.cc',
342 'base/json.h',
343 'base/linked_ptr.h',
344 'base/linuxfdwalk.h',
345 'base/logging.cc',
346 'base/logging.h',
347 'base/maccocoathreadhelper.h',
348 'base/maccocoathreadhelper.mm',
349 'base/mathutils.h',
350 'base/md5.cc',
351 'base/md5.h',
352 'base/md5digest.h',
353 'base/messagedigest.cc',
354 'base/messagedigest.h',
355 'base/messagehandler.cc',
356 'base/messagehandler.h',
357 'base/messagequeue.cc',
358 'base/messagequeue.h',
359 'base/multipart.cc',
360 'base/multipart.h',
361 'base/natserver.cc',
362 'base/natserver.h',
363 'base/natsocketfactory.cc',
364 'base/natsocketfactory.h',
365 'base/nattypes.cc',
366 'base/nattypes.h',
367 'base/nethelpers.cc',
368 'base/nethelpers.h',
369 'base/network.cc',
370 'base/network.h',
371 'base/nssidentity.cc',
372 'base/nssidentity.h',
373 'base/nssstreamadapter.cc',
374 'base/nssstreamadapter.h',
375 'base/nullsocketserver.h',
376 'base/optionsfile.cc',
377 'base/optionsfile.h',
378 'base/pathutils.cc',
379 'base/pathutils.h',
380 'base/physicalsocketserver.cc',
381 'base/physicalsocketserver.h',
382 'base/profiler.cc',
383 'base/profiler.h',
384 'base/proxydetect.cc',
385 'base/proxydetect.h',
386 'base/proxyinfo.cc',
387 'base/proxyinfo.h',
388 'base/proxyserver.cc',
389 'base/proxyserver.h',
390 'base/ratelimiter.cc',
391 'base/ratelimiter.h',
392 'base/ratetracker.cc',
393 'base/ratetracker.h',
394 'base/refcount.h',
395 'base/referencecountedsingletonfactory.h',
396 'base/rollingaccumulator.h',
397 'base/scoped_autorelease_pool.h',
398 'base/scoped_ptr.h',
399 'base/scoped_ref_ptr.h',
sergeyu@chromium.org9cf037b2014-02-07 19:03:26 +0000400 'base/scopedptrcollection.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000401 'base/sec_buffer.h',
402 'base/sha1.cc',
403 'base/sha1.h',
404 'base/sha1digest.h',
405 'base/sharedexclusivelock.cc',
406 'base/sharedexclusivelock.h',
407 'base/signalthread.cc',
408 'base/signalthread.h',
409 'base/sigslot.h',
410 'base/sigslotrepeater.h',
411 'base/socket.h',
412 'base/socketadapters.cc',
413 'base/socketadapters.h',
414 'base/socketaddress.cc',
415 'base/socketaddress.h',
416 'base/socketaddresspair.cc',
417 'base/socketaddresspair.h',
418 'base/socketfactory.h',
419 'base/socketpool.cc',
420 'base/socketpool.h',
421 'base/socketserver.h',
422 'base/socketstream.cc',
423 'base/socketstream.h',
424 'base/ssladapter.cc',
425 'base/ssladapter.h',
426 'base/sslconfig.h',
sergeyu@chromium.org4b26e2e2014-01-15 23:15:54 +0000427 'base/sslfingerprint.cc',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000428 'base/sslfingerprint.h',
429 'base/sslidentity.cc',
430 'base/sslidentity.h',
431 'base/sslroots.h',
432 'base/sslsocketfactory.cc',
433 'base/sslsocketfactory.h',
434 'base/sslstreamadapter.cc',
435 'base/sslstreamadapter.h',
436 'base/sslstreamadapterhelper.cc',
437 'base/sslstreamadapterhelper.h',
438 'base/stream.cc',
439 'base/stream.h',
440 'base/stringdigest.h',
441 'base/stringencode.cc',
442 'base/stringencode.h',
443 'base/stringutils.cc',
444 'base/stringutils.h',
445 'base/systeminfo.cc',
446 'base/systeminfo.h',
447 'base/task.cc',
448 'base/task.h',
449 'base/taskparent.cc',
450 'base/taskparent.h',
451 'base/taskrunner.cc',
452 'base/taskrunner.h',
453 'base/testclient.cc',
454 'base/testclient.h',
455 'base/thread.cc',
456 'base/thread.h',
457 'base/timeutils.cc',
458 'base/timeutils.h',
459 'base/timing.cc',
460 'base/timing.h',
461 'base/transformadapter.cc',
462 'base/transformadapter.h',
463 'base/urlencode.cc',
464 'base/urlencode.h',
465 'base/versionparsing.cc',
466 'base/versionparsing.h',
467 'base/virtualsocketserver.cc',
468 'base/virtualsocketserver.h',
469 'base/window.h',
470 'base/windowpicker.h',
471 'base/windowpickerfactory.h',
472 'base/worker.cc',
473 'base/worker.h',
474 'xmllite/qname.cc',
475 'xmllite/qname.h',
476 'xmllite/xmlbuilder.cc',
477 'xmllite/xmlbuilder.h',
478 'xmllite/xmlconstants.cc',
479 'xmllite/xmlconstants.h',
480 'xmllite/xmlelement.cc',
481 'xmllite/xmlelement.h',
482 'xmllite/xmlnsstack.cc',
483 'xmllite/xmlnsstack.h',
484 'xmllite/xmlparser.cc',
485 'xmllite/xmlparser.h',
486 'xmllite/xmlprinter.cc',
487 'xmllite/xmlprinter.h',
488 'xmpp/asyncsocket.h',
489 'xmpp/chatroommodule.h',
490 'xmpp/chatroommoduleimpl.cc',
491 'xmpp/constants.cc',
492 'xmpp/constants.h',
493 'xmpp/discoitemsquerytask.cc',
494 'xmpp/discoitemsquerytask.h',
495 'xmpp/hangoutpubsubclient.cc',
496 'xmpp/hangoutpubsubclient.h',
497 'xmpp/iqtask.cc',
498 'xmpp/iqtask.h',
499 'xmpp/jid.cc',
500 'xmpp/jid.h',
501 'xmpp/module.h',
502 'xmpp/moduleimpl.cc',
503 'xmpp/moduleimpl.h',
504 'xmpp/mucroomconfigtask.cc',
505 'xmpp/mucroomconfigtask.h',
506 'xmpp/mucroomdiscoverytask.cc',
507 'xmpp/mucroomdiscoverytask.h',
508 'xmpp/mucroomlookuptask.cc',
509 'xmpp/mucroomlookuptask.h',
510 'xmpp/mucroomuniquehangoutidtask.cc',
511 'xmpp/mucroomuniquehangoutidtask.h',
512 'xmpp/pingtask.cc',
513 'xmpp/pingtask.h',
514 'xmpp/plainsaslhandler.h',
515 'xmpp/presenceouttask.cc',
516 'xmpp/presenceouttask.h',
517 'xmpp/presencereceivetask.cc',
518 'xmpp/presencereceivetask.h',
519 'xmpp/presencestatus.cc',
520 'xmpp/presencestatus.h',
521 'xmpp/prexmppauth.h',
522 'xmpp/pubsub_task.cc',
523 'xmpp/pubsub_task.h',
524 'xmpp/pubsubclient.cc',
525 'xmpp/pubsubclient.h',
mallinath@webrtc.org0dac5372014-01-28 06:58:42 +0000526 'xmpp/pubsubstateclient.cc',
527 'xmpp/pubsubstateclient.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000528 'xmpp/pubsubtasks.cc',
529 'xmpp/pubsubtasks.h',
530 'xmpp/receivetask.cc',
531 'xmpp/receivetask.h',
532 'xmpp/rostermodule.h',
533 'xmpp/rostermoduleimpl.cc',
534 'xmpp/rostermoduleimpl.h',
535 'xmpp/saslcookiemechanism.h',
536 'xmpp/saslhandler.h',
537 'xmpp/saslmechanism.cc',
538 'xmpp/saslmechanism.h',
539 'xmpp/saslplainmechanism.h',
540 'xmpp/xmppauth.cc',
541 'xmpp/xmppauth.h',
542 'xmpp/xmppclient.cc',
543 'xmpp/xmppclient.h',
544 'xmpp/xmppclientsettings.h',
545 'xmpp/xmppengine.h',
546 'xmpp/xmppengineimpl.cc',
547 'xmpp/xmppengineimpl.h',
548 'xmpp/xmppengineimpl_iq.cc',
549 'xmpp/xmpplogintask.cc',
550 'xmpp/xmpplogintask.h',
551 'xmpp/xmpppump.cc',
552 'xmpp/xmpppump.h',
553 'xmpp/xmppsocket.cc',
554 'xmpp/xmppsocket.h',
555 'xmpp/xmppstanzaparser.cc',
556 'xmpp/xmppstanzaparser.h',
557 'xmpp/xmpptask.cc',
558 'xmpp/xmpptask.h',
559 'xmpp/xmppthread.cc',
560 'xmpp/xmppthread.h',
561 ],
562 'conditions': [
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000563 ['OS=="android"', {
564 'sources': [
565 'base/ifaddrs-android.cc',
566 ],
567 'link_settings': {
568 'libraries': [
569 '-llog',
570 '-lGLESv2',
571 ],
572 },
573 }],
574 ['OS=="linux" or OS=="android"', {
575 'sources': [
576 'base/linux.cc',
577 'base/linux.h',
578 ],
579 }],
580 ['OS=="linux"', {
581 'sources': [
582 'base/dbus.cc',
583 'base/dbus.h',
584 'base/libdbusglibsymboltable.cc',
585 'base/libdbusglibsymboltable.h',
586 'base/linuxfdwalk.c',
587 'base/linuxwindowpicker.cc',
588 'base/linuxwindowpicker.h',
589 ],
590 'link_settings': {
591 'libraries': [
592 '-lcrypto',
593 '-ldl',
594 '-lrt',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000595 '-lXext',
596 '-lX11',
597 '-lXcomposite',
598 '-lXrender',
599 '<!@(<(pkg-config) --libs-only-l nss | sed -e "s/-lssl3//")',
600 ],
601 },
602 'cflags': [
603 '<!@(<(pkg-config) --cflags nss)',
604 ],
605 'ldflags': [
606 '<!@(<(pkg-config) --libs-only-L --libs-only-other nss)',
607 ],
608 }],
609 ['OS=="mac"', {
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000610 'sources': [
henrike@webrtc.org723d6832013-07-12 16:04:50 +0000611 'base/macasyncsocket.cc',
612 'base/macasyncsocket.h',
613 'base/maccocoasocketserver.h',
614 'base/maccocoasocketserver.mm',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000615 'base/macconversion.cc',
616 'base/macconversion.h',
henrike@webrtc.org723d6832013-07-12 16:04:50 +0000617 'base/macsocketserver.cc',
618 'base/macsocketserver.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000619 'base/macutils.cc',
620 'base/macutils.h',
621 'base/macwindowpicker.cc',
622 'base/macwindowpicker.h',
623 'base/scoped_autorelease_pool.mm',
624 ],
625 'link_settings': {
626 'libraries': [
fischman@webrtc.orge3de6b12013-08-26 19:31:21 +0000627 '$(SDKROOT)/usr/lib/libcrypto.dylib',
628 '$(SDKROOT)/usr/lib/libssl.dylib',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000629 ],
fischman@webrtc.orge3de6b12013-08-26 19:31:21 +0000630 },
631 'all_dependent_settings': {
632 'link_settings': {
633 'xcode_settings': {
634 'OTHER_LDFLAGS': [
635 '-framework Cocoa',
636 '-framework Foundation',
637 '-framework IOKit',
638 '-framework Security',
639 '-framework SystemConfiguration',
640 ],
641 },
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000642 },
643 },
fischman@webrtc.orge3de6b12013-08-26 19:31:21 +0000644 'conditions': [
645 ['target_arch=="ia32"', {
646 'all_dependent_settings': {
647 'link_settings': {
648 'xcode_settings': {
649 'OTHER_LDFLAGS': [
650 '-framework Carbon',
651 ],
652 },
653 },
654 },
655 }],
656 ],
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000657 }],
658 ['OS=="ios"', {
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000659 'sources': [
fischman@webrtc.orga86c42c2014-04-29 18:37:29 +0000660 'base/iosfilesystem.mm',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000661 'base/scoped_autorelease_pool.mm',
662 ],
fischman@webrtc.org1bc19542013-08-01 18:29:45 +0000663 'dependencies': [
664 '../net/third_party/nss/ssl.gyp:libssl',
665 ],
fischman@webrtc.orge3de6b12013-08-26 19:31:21 +0000666 'all_dependent_settings': {
667 'xcode_settings': {
668 'OTHER_LDFLAGS': [
669 '-framework Foundation',
670 '-framework IOKit',
671 '-framework Security',
672 '-framework SystemConfiguration',
673 '-framework UIKit',
674 ],
675 },
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000676 },
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000677 }],
678 ['OS=="win"', {
679 'sources': [
680 'base/diskcache_win32.cc',
681 'base/diskcache_win32.h',
682 'base/schanneladapter.cc',
683 'base/schanneladapter.h',
684 'base/win32.cc',
685 'base/win32.h',
686 'base/win32filesystem.cc',
687 'base/win32filesystem.h',
688 'base/win32regkey.cc',
689 'base/win32regkey.h',
690 'base/win32securityerrors.cc',
691 'base/win32socketinit.cc',
692 'base/win32socketinit.h',
693 'base/win32socketserver.cc',
694 'base/win32socketserver.h',
695 'base/win32window.cc',
696 'base/win32window.h',
697 'base/win32windowpicker.cc',
698 'base/win32windowpicker.h',
699 'base/winfirewall.cc',
700 'base/winfirewall.h',
701 'base/winping.cc',
702 'base/winping.h',
703 ],
henrike@webrtc.org28654cb2013-07-22 21:07:49 +0000704 'link_settings': {
705 'libraries': [
706 '-lcrypt32.lib',
707 '-liphlpapi.lib',
708 '-lsecur32.lib',
709 ],
710 },
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000711 # Suppress warnings about WIN32_LEAN_AND_MEAN.
712 'msvs_disabled_warnings': [4005],
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000713 }],
714 ['os_posix==1', {
715 'sources': [
716 'base/latebindingsymboltable.cc',
717 'base/latebindingsymboltable.h',
718 'base/posix.cc',
719 'base/posix.h',
720 'base/unixfilesystem.cc',
721 'base/unixfilesystem.h',
722 ],
723 'conditions': [
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000724 ['OS!="ios"', {
725 'sources': [
wu@webrtc.orgb9a088b2014-02-13 23:18:49 +0000726 'base/openssl.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000727 'base/openssladapter.cc',
728 'base/openssladapter.h',
729 'base/openssldigest.cc',
730 'base/openssldigest.h',
731 'base/opensslidentity.cc',
732 'base/opensslidentity.h',
733 'base/opensslstreamadapter.cc',
734 'base/opensslstreamadapter.h',
735 ],
736 }],
737 ],
738 }],
739 ], # conditions
740 }, # target libjingle
741 {
742 'target_name': 'libjingle_sound',
743 'type': 'static_library',
744 'dependencies': [
745 'libjingle',
746 ],
747 'sources': [
748 'sound/automaticallychosensoundsystem.h',
749 'sound/nullsoundsystem.cc',
750 'sound/nullsoundsystem.h',
751 'sound/nullsoundsystemfactory.cc',
752 'sound/nullsoundsystemfactory.h',
753 'sound/platformsoundsystem.cc',
754 'sound/platformsoundsystem.h',
755 'sound/platformsoundsystemfactory.cc',
756 'sound/platformsoundsystemfactory.h',
757 'sound/sounddevicelocator.h',
758 'sound/soundinputstreaminterface.h',
759 'sound/soundoutputstreaminterface.h',
760 'sound/soundsystemfactory.h',
761 'sound/soundsysteminterface.cc',
762 'sound/soundsysteminterface.h',
763 'sound/soundsystemproxy.cc',
764 'sound/soundsystemproxy.h',
765 ],
766 'conditions': [
767 ['OS=="linux"', {
768 'sources': [
769 'sound/alsasoundsystem.cc',
770 'sound/alsasoundsystem.h',
771 'sound/alsasymboltable.cc',
772 'sound/alsasymboltable.h',
773 'sound/linuxsoundsystem.cc',
774 'sound/linuxsoundsystem.h',
775 'sound/pulseaudiosoundsystem.cc',
776 'sound/pulseaudiosoundsystem.h',
777 'sound/pulseaudiosymboltable.cc',
778 'sound/pulseaudiosymboltable.h',
779 ],
780 }],
781 ],
782 }, # target libjingle_sound
783 {
784 'target_name': 'libjingle_media',
785 'type': 'static_library',
jiayl@webrtc.orga576faf2014-01-29 17:45:53 +0000786 'include_dirs': [
787 # TODO(jiayl): move this into the direct_dependent_settings of
788 # usrsctp.gyp.
789 '<(DEPTH)/third_party/usrsctp',
790 ],
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000791 'dependencies': [
792 '<(DEPTH)/third_party/libyuv/libyuv.gyp:libyuv',
jiayl@webrtc.orga576faf2014-01-29 17:45:53 +0000793 '<(DEPTH)/third_party/usrsctp/usrsctp.gyp:usrsctplib',
henrike@webrtc.org9de257d2013-07-17 14:42:53 +0000794 '<(webrtc_root)/modules/modules.gyp:video_capture_module',
795 '<(webrtc_root)/modules/modules.gyp:video_render_module',
796 '<(webrtc_root)/video_engine/video_engine.gyp:video_engine_core',
797 '<(webrtc_root)/voice_engine/voice_engine.gyp:voice_engine',
798 '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000799 'libjingle',
800 'libjingle_sound',
801 ],
802 'direct_dependent_settings': {
803 'include_dirs': [
804 '<(DEPTH)/third_party/libyuv/include',
805 ],
806 },
807 'sources': [
808 'media/base/audioframe.h',
809 'media/base/audiorenderer.h',
810 'media/base/capturemanager.cc',
811 'media/base/capturemanager.h',
812 'media/base/capturerenderadapter.cc',
813 'media/base/capturerenderadapter.h',
814 'media/base/codec.cc',
815 'media/base/codec.h',
816 'media/base/constants.cc',
817 'media/base/constants.h',
818 'media/base/cpuid.cc',
819 'media/base/cpuid.h',
820 'media/base/cryptoparams.h',
821 'media/base/filemediaengine.cc',
822 'media/base/filemediaengine.h',
823 'media/base/hybriddataengine.h',
824 'media/base/hybridvideoengine.cc',
825 'media/base/hybridvideoengine.h',
826 'media/base/mediachannel.h',
827 'media/base/mediacommon.h',
828 'media/base/mediaengine.cc',
829 'media/base/mediaengine.h',
830 'media/base/mutedvideocapturer.cc',
831 'media/base/mutedvideocapturer.h',
832 'media/base/rtpdataengine.cc',
833 'media/base/rtpdataengine.h',
834 'media/base/rtpdump.cc',
835 'media/base/rtpdump.h',
836 'media/base/rtputils.cc',
837 'media/base/rtputils.h',
838 'media/base/screencastid.h',
839 'media/base/streamparams.cc',
840 'media/base/streamparams.h',
841 'media/base/videoadapter.cc',
842 'media/base/videoadapter.h',
843 'media/base/videocapturer.cc',
844 'media/base/videocapturer.h',
845 'media/base/videocommon.cc',
846 'media/base/videocommon.h',
847 'media/base/videoframe.cc',
848 'media/base/videoframe.h',
849 'media/base/videoprocessor.h',
850 'media/base/videorenderer.h',
851 'media/base/voiceprocessor.h',
mallinath@webrtc.orgecd622e2014-02-03 17:17:05 +0000852 'media/base/yuvframegenerator.cc',
853 'media/base/yuvframegenerator.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000854 'media/devices/deviceinfo.h',
855 'media/devices/devicemanager.cc',
856 'media/devices/devicemanager.h',
857 'media/devices/dummydevicemanager.h',
858 'media/devices/filevideocapturer.cc',
859 'media/devices/filevideocapturer.h',
860 'media/devices/videorendererfactory.h',
mallinath@webrtc.orgecd622e2014-02-03 17:17:05 +0000861 'media/devices/yuvframescapturer.cc',
862 'media/devices/yuvframescapturer.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000863 'media/other/linphonemediaengine.h',
jiayl@webrtc.orga576faf2014-01-29 17:45:53 +0000864 'media/sctp/sctpdataengine.cc',
865 'media/sctp/sctpdataengine.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000866 'media/webrtc/webrtccommon.h',
867 'media/webrtc/webrtcexport.h',
868 'media/webrtc/webrtcmediaengine.h',
869 'media/webrtc/webrtcpassthroughrender.cc',
870 'media/webrtc/webrtcpassthroughrender.h',
wu@webrtc.org9dba5252013-08-05 20:36:57 +0000871 'media/webrtc/webrtctexturevideoframe.cc',
872 'media/webrtc/webrtctexturevideoframe.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000873 'media/webrtc/webrtcvideocapturer.cc',
874 'media/webrtc/webrtcvideocapturer.h',
875 'media/webrtc/webrtcvideodecoderfactory.h',
876 'media/webrtc/webrtcvideoencoderfactory.h',
877 'media/webrtc/webrtcvideoengine.cc',
878 'media/webrtc/webrtcvideoengine.h',
879 'media/webrtc/webrtcvideoframe.cc',
880 'media/webrtc/webrtcvideoframe.h',
881 'media/webrtc/webrtcvie.h',
882 'media/webrtc/webrtcvoe.h',
883 'media/webrtc/webrtcvoiceengine.cc',
884 'media/webrtc/webrtcvoiceengine.h',
885 ],
886 'conditions': [
887 ['OS=="linux"', {
888 'sources': [
889 'media/devices/gtkvideorenderer.cc',
890 'media/devices/gtkvideorenderer.h',
891 'media/devices/libudevsymboltable.cc',
892 'media/devices/libudevsymboltable.h',
893 'media/devices/linuxdeviceinfo.cc',
894 'media/devices/linuxdevicemanager.cc',
895 'media/devices/linuxdevicemanager.h',
896 'media/devices/v4llookup.cc',
897 'media/devices/v4llookup.h',
898 ],
899 'include_dirs': [
900 'third_party/libudev'
901 ],
902 'cflags': [
903 '<!@(pkg-config --cflags gobject-2.0 gthread-2.0 gtk+-2.0)',
904 ],
905 'libraries': [
906 '-lrt',
907 '-lXext',
908 '-lX11',
909 ],
910 }],
911 ['OS=="win"', {
912 'sources': [
913 'media/devices/gdivideorenderer.cc',
914 'media/devices/gdivideorenderer.h',
915 'media/devices/win32deviceinfo.cc',
916 'media/devices/win32devicemanager.cc',
917 'media/devices/win32devicemanager.h',
918 ],
919 'msvs_settings': {
920 'VCLibrarianTool': {
921 'AdditionalDependencies': [
922 'd3d9.lib',
923 'gdi32.lib',
924 'strmiids.lib',
925 'winmm.lib',
926 ],
927 },
928 },
929 }],
930 ['OS=="mac"', {
931 'sources': [
932 'media/devices/macdeviceinfo.cc',
933 'media/devices/macdevicemanager.cc',
934 'media/devices/macdevicemanager.h',
935 'media/devices/macdevicemanagermm.mm',
936 ],
937 'conditions': [
fischman@webrtc.orge3de6b12013-08-26 19:31:21 +0000938 ['target_arch=="ia32"', {
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000939 'sources': [
940 'media/devices/carbonvideorenderer.cc',
941 'media/devices/carbonvideorenderer.h',
942 ],
fischman@webrtc.orge3de6b12013-08-26 19:31:21 +0000943 'link_settings': {
944 'xcode_settings': {
945 'OTHER_LDFLAGS': [
946 '-framework Carbon',
947 ],
948 },
949 },
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000950 }],
951 ],
952 'xcode_settings': {
953 'WARNING_CFLAGS': [
954 # TODO(ronghuawu): Update macdevicemanager.cc to stop using
955 # deprecated functions and remove this flag.
956 '-Wno-deprecated-declarations',
957 ],
958 },
959 'link_settings': {
960 'xcode_settings': {
961 'OTHER_LDFLAGS': [
962 '-framework Cocoa',
963 '-framework CoreAudio',
964 '-framework CoreVideo',
965 '-framework OpenGL',
966 '-framework QTKit',
967 ],
968 },
969 },
970 }],
971 ['OS=="ios"', {
972 'sources': [
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000973 'media/devices/mobiledevicemanager.cc',
974 ],
975 'include_dirs': [
976 # TODO(sjlee) Remove when vp8 is building for iOS. vp8 pulls in
977 # libjpeg which pulls in libyuv which currently disabled.
978 '../third_party/libyuv/include',
979 ],
jiayl@webrtc.orga576faf2014-01-29 17:45:53 +0000980 'dependencies!': [
981 '<(DEPTH)/third_party/usrsctp/usrsctp.gyp:usrsctplib',
982 ],
983 'sources!': [
984 'media/sctp/sctpdataengine.cc',
985 'media/sctp/sctpdataengine.h',
986 ],
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000987 }],
988 ['OS=="android"', {
989 'sources': [
990 'media/devices/mobiledevicemanager.cc',
991 ],
992 }],
993 ],
994 }, # target libjingle_media
995 {
996 'target_name': 'libjingle_p2p',
997 'type': 'static_library',
998 'dependencies': [
999 '<(DEPTH)/third_party/libsrtp/libsrtp.gyp:libsrtp',
1000 'libjingle',
1001 'libjingle_media',
1002 ],
1003 'include_dirs': [
henrike@webrtc.org723d6832013-07-12 16:04:50 +00001004 '<(DEPTH)/testing/gtest/include',
henrike@webrtc.org28e20752013-07-10 00:45:36 +00001005 ],
1006 'direct_dependent_settings': {
1007 'include_dirs': [
henrike@webrtc.org723d6832013-07-12 16:04:50 +00001008 '<(DEPTH)/testing/gtest/include',
henrike@webrtc.org28e20752013-07-10 00:45:36 +00001009 ],
1010 },
henrike@webrtc.org28e20752013-07-10 00:45:36 +00001011 'sources': [
1012 'p2p/base/asyncstuntcpsocket.cc',
1013 'p2p/base/asyncstuntcpsocket.h',
1014 'p2p/base/basicpacketsocketfactory.cc',
1015 'p2p/base/basicpacketsocketfactory.h',
1016 'p2p/base/candidate.h',
1017 'p2p/base/common.h',
1018 'p2p/base/constants.cc',
1019 'p2p/base/constants.h',
1020 'p2p/base/dtlstransportchannel.cc',
1021 'p2p/base/dtlstransportchannel.h',
1022 'p2p/base/p2ptransport.cc',
1023 'p2p/base/p2ptransport.h',
1024 'p2p/base/p2ptransportchannel.cc',
1025 'p2p/base/p2ptransportchannel.h',
1026 'p2p/base/packetsocketfactory.h',
1027 'p2p/base/parsing.cc',
1028 'p2p/base/parsing.h',
1029 'p2p/base/port.cc',
1030 'p2p/base/port.h',
1031 'p2p/base/portallocator.cc',
1032 'p2p/base/portallocator.h',
1033 'p2p/base/portallocatorsessionproxy.cc',
1034 'p2p/base/portallocatorsessionproxy.h',
1035 'p2p/base/portinterface.h',
1036 'p2p/base/portproxy.cc',
1037 'p2p/base/portproxy.h',
1038 'p2p/base/pseudotcp.cc',
1039 'p2p/base/pseudotcp.h',
1040 'p2p/base/rawtransport.cc',
1041 'p2p/base/rawtransport.h',
1042 'p2p/base/rawtransportchannel.cc',
1043 'p2p/base/rawtransportchannel.h',
1044 'p2p/base/relayport.cc',
1045 'p2p/base/relayport.h',
1046 'p2p/base/relayserver.cc',
1047 'p2p/base/relayserver.h',
1048 'p2p/base/session.cc',
1049 'p2p/base/session.h',
1050 'p2p/base/sessionclient.h',
1051 'p2p/base/sessiondescription.cc',
1052 'p2p/base/sessiondescription.h',
1053 'p2p/base/sessionid.h',
1054 'p2p/base/sessionmanager.cc',
1055 'p2p/base/sessionmanager.h',
1056 'p2p/base/sessionmessages.cc',
1057 'p2p/base/sessionmessages.h',
1058 'p2p/base/stun.cc',
1059 'p2p/base/stun.h',
1060 'p2p/base/stunport.cc',
1061 'p2p/base/stunport.h',
1062 'p2p/base/stunrequest.cc',
1063 'p2p/base/stunrequest.h',
1064 'p2p/base/stunserver.cc',
1065 'p2p/base/stunserver.h',
1066 'p2p/base/tcpport.cc',
1067 'p2p/base/tcpport.h',
1068 'p2p/base/transport.cc',
1069 'p2p/base/transport.h',
1070 'p2p/base/transportchannel.cc',
1071 'p2p/base/transportchannel.h',
1072 'p2p/base/transportchannelimpl.h',
1073 'p2p/base/transportchannelproxy.cc',
1074 'p2p/base/transportchannelproxy.h',
sergeyu@chromium.org492e3152013-08-24 00:06:43 +00001075 'p2p/base/transportdescription.cc',
henrike@webrtc.org28e20752013-07-10 00:45:36 +00001076 'p2p/base/transportdescription.h',
1077 'p2p/base/transportdescriptionfactory.cc',
1078 'p2p/base/transportdescriptionfactory.h',
1079 'p2p/base/transportinfo.h',
1080 'p2p/base/turnport.cc',
1081 'p2p/base/turnport.h',
1082 'p2p/base/turnserver.cc',
1083 'p2p/base/turnserver.h',
1084 'p2p/base/udpport.h',
1085 'p2p/client/autoportallocator.h',
1086 'p2p/client/basicportallocator.cc',
1087 'p2p/client/basicportallocator.h',
1088 'p2p/client/connectivitychecker.cc',
1089 'p2p/client/connectivitychecker.h',
1090 'p2p/client/httpportallocator.cc',
1091 'p2p/client/httpportallocator.h',
1092 'p2p/client/sessionmanagertask.h',
1093 'p2p/client/sessionsendtask.h',
1094 'p2p/client/socketmonitor.cc',
1095 'p2p/client/socketmonitor.h',
1096 'session/tunnel/pseudotcpchannel.cc',
1097 'session/tunnel/pseudotcpchannel.h',
1098 'session/tunnel/tunnelsessionclient.cc',
1099 'session/tunnel/tunnelsessionclient.h',
1100 'session/tunnel/securetunnelsessionclient.cc',
1101 'session/tunnel/securetunnelsessionclient.h',
1102 'session/media/audiomonitor.cc',
1103 'session/media/audiomonitor.h',
1104 'session/media/call.cc',
1105 'session/media/call.h',
1106 'session/media/channel.cc',
1107 'session/media/channel.h',
1108 'session/media/channelmanager.cc',
1109 'session/media/channelmanager.h',
1110 'session/media/currentspeakermonitor.cc',
1111 'session/media/currentspeakermonitor.h',
1112 'session/media/mediamessages.cc',
1113 'session/media/mediamessages.h',
1114 'session/media/mediamonitor.cc',
1115 'session/media/mediamonitor.h',
1116 'session/media/mediarecorder.cc',
1117 'session/media/mediarecorder.h',
1118 'session/media/mediasession.cc',
1119 'session/media/mediasession.h',
1120 'session/media/mediasessionclient.cc',
1121 'session/media/mediasessionclient.h',
1122 'session/media/mediasink.h',
1123 'session/media/rtcpmuxfilter.cc',
1124 'session/media/rtcpmuxfilter.h',
1125 'session/media/soundclip.cc',
1126 'session/media/soundclip.h',
1127 'session/media/srtpfilter.cc',
1128 'session/media/srtpfilter.h',
1129 'session/media/ssrcmuxfilter.cc',
1130 'session/media/ssrcmuxfilter.h',
1131 'session/media/typingmonitor.cc',
1132 'session/media/typingmonitor.h',
1133 'session/media/voicechannel.h',
1134 ],
1135 }, # target libjingle_p2p
1136 {
1137 'target_name': 'libjingle_peerconnection',
1138 'type': 'static_library',
1139 'dependencies': [
1140 'libjingle',
1141 'libjingle_media',
1142 'libjingle_p2p',
1143 ],
1144 'sources': [
1145 'app/webrtc/audiotrack.cc',
1146 'app/webrtc/audiotrack.h',
1147 'app/webrtc/audiotrackrenderer.cc',
1148 'app/webrtc/audiotrackrenderer.h',
1149 'app/webrtc/datachannel.cc',
1150 'app/webrtc/datachannel.h',
1151 'app/webrtc/datachannelinterface.h',
1152 'app/webrtc/dtmfsender.cc',
1153 'app/webrtc/dtmfsender.h',
1154 'app/webrtc/dtmfsenderinterface.h',
1155 'app/webrtc/fakeportallocatorfactory.h',
1156 'app/webrtc/jsep.h',
1157 'app/webrtc/jsepicecandidate.cc',
1158 'app/webrtc/jsepicecandidate.h',
1159 'app/webrtc/jsepsessiondescription.cc',
1160 'app/webrtc/jsepsessiondescription.h',
1161 'app/webrtc/localaudiosource.cc',
1162 'app/webrtc/localaudiosource.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +00001163 'app/webrtc/mediaconstraintsinterface.cc',
1164 'app/webrtc/mediaconstraintsinterface.h',
1165 'app/webrtc/mediastream.cc',
1166 'app/webrtc/mediastream.h',
1167 'app/webrtc/mediastreamhandler.cc',
1168 'app/webrtc/mediastreamhandler.h',
1169 'app/webrtc/mediastreaminterface.h',
1170 'app/webrtc/mediastreamprovider.h',
1171 'app/webrtc/mediastreamproxy.h',
1172 'app/webrtc/mediastreamsignaling.cc',
1173 'app/webrtc/mediastreamsignaling.h',
1174 'app/webrtc/mediastreamtrack.h',
1175 'app/webrtc/mediastreamtrackproxy.h',
1176 'app/webrtc/notifier.h',
1177 'app/webrtc/peerconnection.cc',
1178 'app/webrtc/peerconnection.h',
1179 'app/webrtc/peerconnectionfactory.cc',
1180 'app/webrtc/peerconnectionfactory.h',
1181 'app/webrtc/peerconnectioninterface.h',
1182 'app/webrtc/peerconnectionproxy.h',
1183 'app/webrtc/portallocatorfactory.cc',
1184 'app/webrtc/portallocatorfactory.h',
1185 'app/webrtc/proxy.h',
wu@webrtc.orgb9a088b2014-02-13 23:18:49 +00001186 'app/webrtc/remoteaudiosource.cc',
1187 'app/webrtc/remoteaudiosource.h',
wu@webrtc.org967bfff2013-09-19 05:49:50 +00001188 'app/webrtc/remotevideocapturer.cc',
1189 'app/webrtc/remotevideocapturer.h',
henrika@webrtc.orgaebb1ad2014-01-14 10:00:58 +00001190 'app/webrtc/sctputils.cc',
1191 'app/webrtc/sctputils.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +00001192 'app/webrtc/statscollector.cc',
1193 'app/webrtc/statscollector.h',
1194 'app/webrtc/statstypes.h',
1195 'app/webrtc/streamcollection.h',
wu@webrtc.org967bfff2013-09-19 05:49:50 +00001196 'app/webrtc/videosource.cc',
1197 'app/webrtc/videosource.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +00001198 'app/webrtc/videosourceinterface.h',
1199 'app/webrtc/videosourceproxy.h',
1200 'app/webrtc/videotrack.cc',
1201 'app/webrtc/videotrack.h',
1202 'app/webrtc/videotrackrenderers.cc',
1203 'app/webrtc/videotrackrenderers.h',
1204 'app/webrtc/webrtcsdp.cc',
1205 'app/webrtc/webrtcsdp.h',
1206 'app/webrtc/webrtcsession.cc',
1207 'app/webrtc/webrtcsession.h',
wu@webrtc.org91053e72013-08-10 07:18:04 +00001208 'app/webrtc/webrtcsessiondescriptionfactory.cc',
1209 'app/webrtc/webrtcsessiondescriptionfactory.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +00001210 ],
1211 }, # target libjingle_peerconnection
1212 ],
1213}