blob: 770bcd42dd2661c59cab7df3d3870cc31d51f1a7 [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 }],
tkchin@webrtc.orgff273322014-04-30 18:32:33 +0000160 ['OS=="ios" or (OS=="mac" and target_arch!="ia32" and mac_sdk>="10.7")', {
161 # The >= 10.7 above is required for ARC.
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000162 'targets': [
163 {
164 'target_name': 'libjingle_peerconnection_objc',
165 'type': 'static_library',
166 'dependencies': [
167 'libjingle_peerconnection',
168 ],
169 'sources': [
170 'app/webrtc/objc/RTCAudioTrack+Internal.h',
171 'app/webrtc/objc/RTCAudioTrack.mm',
tkchin@webrtc.orgff273322014-04-30 18:32:33 +0000172 'app/webrtc/objc/RTCDataChannel+Internal.h',
173 'app/webrtc/objc/RTCDataChannel.mm',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000174 'app/webrtc/objc/RTCEnumConverter.h',
175 'app/webrtc/objc/RTCEnumConverter.mm',
176 'app/webrtc/objc/RTCI420Frame.mm',
fischman@webrtc.org1bc19542013-08-01 18:29:45 +0000177 'app/webrtc/objc/RTCICECandidate+Internal.h',
178 'app/webrtc/objc/RTCICECandidate.mm',
179 'app/webrtc/objc/RTCICEServer+Internal.h',
180 'app/webrtc/objc/RTCICEServer.mm',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000181 'app/webrtc/objc/RTCMediaConstraints+Internal.h',
182 'app/webrtc/objc/RTCMediaConstraints.mm',
183 'app/webrtc/objc/RTCMediaConstraintsNative.cc',
184 'app/webrtc/objc/RTCMediaConstraintsNative.h',
185 'app/webrtc/objc/RTCMediaSource+Internal.h',
186 'app/webrtc/objc/RTCMediaSource.mm',
187 'app/webrtc/objc/RTCMediaStream+Internal.h',
188 'app/webrtc/objc/RTCMediaStream.mm',
189 'app/webrtc/objc/RTCMediaStreamTrack+Internal.h',
190 'app/webrtc/objc/RTCMediaStreamTrack.mm',
191 'app/webrtc/objc/RTCPair.m',
192 'app/webrtc/objc/RTCPeerConnection+Internal.h',
193 'app/webrtc/objc/RTCPeerConnection.mm',
194 'app/webrtc/objc/RTCPeerConnectionFactory.mm',
195 'app/webrtc/objc/RTCPeerConnectionObserver.h',
196 'app/webrtc/objc/RTCPeerConnectionObserver.mm',
197 'app/webrtc/objc/RTCSessionDescription+Internal.h',
198 'app/webrtc/objc/RTCSessionDescription.mm',
tkchin@webrtc.org19b1be12014-04-22 21:05:38 +0000199 'app/webrtc/objc/RTCStatsReport+Internal.h',
200 'app/webrtc/objc/RTCStatsReport.mm',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000201 'app/webrtc/objc/RTCVideoCapturer+Internal.h',
202 'app/webrtc/objc/RTCVideoCapturer.mm',
203 'app/webrtc/objc/RTCVideoRenderer+Internal.h',
204 'app/webrtc/objc/RTCVideoRenderer.mm',
205 'app/webrtc/objc/RTCVideoSource+Internal.h',
206 'app/webrtc/objc/RTCVideoSource.mm',
207 'app/webrtc/objc/RTCVideoTrack+Internal.h',
208 'app/webrtc/objc/RTCVideoTrack.mm',
209 'app/webrtc/objc/public/RTCAudioSource.h',
210 'app/webrtc/objc/public/RTCAudioTrack.h',
tkchin@webrtc.orgff273322014-04-30 18:32:33 +0000211 'app/webrtc/objc/public/RTCDataChannel.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000212 'app/webrtc/objc/public/RTCI420Frame.h',
fischman@webrtc.org1bc19542013-08-01 18:29:45 +0000213 'app/webrtc/objc/public/RTCICECandidate.h',
214 'app/webrtc/objc/public/RTCICEServer.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000215 'app/webrtc/objc/public/RTCMediaConstraints.h',
216 'app/webrtc/objc/public/RTCMediaSource.h',
217 'app/webrtc/objc/public/RTCMediaStream.h',
218 'app/webrtc/objc/public/RTCMediaStreamTrack.h',
219 'app/webrtc/objc/public/RTCPair.h',
220 'app/webrtc/objc/public/RTCPeerConnection.h',
221 'app/webrtc/objc/public/RTCPeerConnectionDelegate.h',
222 'app/webrtc/objc/public/RTCPeerConnectionFactory.h',
223 'app/webrtc/objc/public/RTCSessionDescription.h',
tkchin@webrtc.orgec3d8ec2014-04-21 18:47:24 +0000224 'app/webrtc/objc/public/RTCSessionDescriptionDelegate.h',
tkchin@webrtc.org19b1be12014-04-22 21:05:38 +0000225 'app/webrtc/objc/public/RTCStatsDelegate.h',
226 'app/webrtc/objc/public/RTCStatsReport.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000227 'app/webrtc/objc/public/RTCTypes.h',
228 'app/webrtc/objc/public/RTCVideoCapturer.h',
229 'app/webrtc/objc/public/RTCVideoRenderer.h',
230 'app/webrtc/objc/public/RTCVideoRendererDelegate.h',
231 'app/webrtc/objc/public/RTCVideoSource.h',
232 'app/webrtc/objc/public/RTCVideoTrack.h',
233 ],
fischman@webrtc.org1bc19542013-08-01 18:29:45 +0000234 'direct_dependent_settings': {
235 'include_dirs': [
236 '<(DEPTH)/talk/app/webrtc/objc/public',
237 ],
238 },
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000239 'include_dirs': [
240 '<(DEPTH)/talk/app/webrtc',
241 '<(DEPTH)/talk/app/webrtc/objc',
242 '<(DEPTH)/talk/app/webrtc/objc/public',
243 ],
244 'link_settings': {
245 'libraries': [
246 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
fischman@webrtc.org76fe9302013-09-19 21:11:08 +0000247 '-lstdc++',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000248 ],
249 },
250 'xcode_settings': {
251 'CLANG_ENABLE_OBJC_ARC': 'YES',
tkchin@webrtc.org19b1be12014-04-22 21:05:38 +0000252 # common.gypi enables this for mac but we want this to be disabled
253 # like it is for ios.
254 'CLANG_WARN_OBJC_MISSING_PROPERTY_SYNTHESIS': 'NO',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000255 },
tkchin@webrtc.orgff273322014-04-30 18:32:33 +0000256 'conditions': [
257 ['OS=="mac"', {
258 'xcode_settings': {
259 # Need to build against 10.7 framework for full ARC support
260 # on OSX.
261 'MACOSX_DEPLOYMENT_TARGET' : '10.7',
262 },
263 }],
264 ],
fischman@webrtc.orge3de6b12013-08-26 19:31:21 +0000265 }, # target libjingle_peerconnection_objc
266 ],
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000267 }],
268 ],
269
270 'targets': [
271 {
272 'target_name': 'libjingle',
273 'type': 'static_library',
274 'dependencies': [
275 '<(DEPTH)/third_party/expat/expat.gyp:expat',
276 '<(DEPTH)/third_party/jsoncpp/jsoncpp.gyp:jsoncpp',
277 ],
278 'export_dependent_settings': [
279 '<(DEPTH)/third_party/expat/expat.gyp:expat',
280 '<(DEPTH)/third_party/jsoncpp/jsoncpp.gyp:jsoncpp',
281 ],
282 'sources': [
283 'base/asyncfile.cc',
284 'base/asyncfile.h',
285 'base/asynchttprequest.cc',
286 'base/asynchttprequest.h',
sergeyu@chromium.org9cf037b2014-02-07 19:03:26 +0000287 'base/asyncinvoker.cc',
288 'base/asyncinvoker.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000289 'base/asyncpacketsocket.h',
sergeyu@chromium.orga23f0ca2013-11-13 22:48:52 +0000290 'base/asyncresolverinterface.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000291 'base/asyncsocket.cc',
292 'base/asyncsocket.h',
293 'base/asynctcpsocket.cc',
294 'base/asynctcpsocket.h',
295 'base/asyncudpsocket.cc',
296 'base/asyncudpsocket.h',
297 'base/atomicops.h',
298 'base/autodetectproxy.cc',
299 'base/autodetectproxy.h',
300 'base/bandwidthsmoother.cc',
301 'base/bandwidthsmoother.h',
302 'base/base64.cc',
303 'base/base64.h',
304 'base/basicdefs.h',
305 'base/basictypes.h',
306 'base/bind.h',
307 'base/buffer.h',
308 'base/bytebuffer.cc',
309 'base/bytebuffer.h',
310 'base/byteorder.h',
sergeyu@chromium.org9cf037b2014-02-07 19:03:26 +0000311 'base/callback.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000312 'base/checks.cc',
313 'base/checks.h',
314 'base/common.cc',
315 'base/common.h',
316 'base/constructormagic.h',
317 'base/cpumonitor.cc',
318 'base/cpumonitor.h',
319 'base/crc32.cc',
320 'base/crc32.h',
321 'base/criticalsection.h',
322 'base/cryptstring.h',
323 'base/diskcache.cc',
324 'base/diskcache.h',
325 'base/event.cc',
326 'base/event.h',
327 'base/filelock.cc',
328 'base/filelock.h',
329 'base/fileutils.cc',
330 'base/fileutils.h',
331 'base/fileutils_mock.h',
332 'base/firewallsocketserver.cc',
333 'base/firewallsocketserver.h',
334 'base/flags.cc',
335 'base/flags.h',
336 'base/gunit_prod.h',
337 'base/helpers.cc',
338 'base/helpers.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000339 'base/httpbase.cc',
340 'base/httpbase.h',
341 'base/httpclient.cc',
342 'base/httpclient.h',
343 'base/httpcommon-inl.h',
344 'base/httpcommon.cc',
345 'base/httpcommon.h',
346 'base/httprequest.cc',
347 'base/httprequest.h',
348 'base/httpserver.cc',
349 'base/httpserver.h',
350 'base/ifaddrs-android.cc',
351 'base/ifaddrs-android.h',
352 'base/ipaddress.cc',
353 'base/ipaddress.h',
354 'base/json.cc',
355 'base/json.h',
356 'base/linked_ptr.h',
357 'base/linuxfdwalk.h',
358 'base/logging.cc',
359 'base/logging.h',
360 'base/maccocoathreadhelper.h',
361 'base/maccocoathreadhelper.mm',
362 'base/mathutils.h',
363 'base/md5.cc',
364 'base/md5.h',
365 'base/md5digest.h',
366 'base/messagedigest.cc',
367 'base/messagedigest.h',
368 'base/messagehandler.cc',
369 'base/messagehandler.h',
370 'base/messagequeue.cc',
371 'base/messagequeue.h',
372 'base/multipart.cc',
373 'base/multipart.h',
374 'base/natserver.cc',
375 'base/natserver.h',
376 'base/natsocketfactory.cc',
377 'base/natsocketfactory.h',
378 'base/nattypes.cc',
379 'base/nattypes.h',
380 'base/nethelpers.cc',
381 'base/nethelpers.h',
382 'base/network.cc',
383 'base/network.h',
384 'base/nssidentity.cc',
385 'base/nssidentity.h',
386 'base/nssstreamadapter.cc',
387 'base/nssstreamadapter.h',
388 'base/nullsocketserver.h',
389 'base/optionsfile.cc',
390 'base/optionsfile.h',
391 'base/pathutils.cc',
392 'base/pathutils.h',
393 'base/physicalsocketserver.cc',
394 'base/physicalsocketserver.h',
395 'base/profiler.cc',
396 'base/profiler.h',
397 'base/proxydetect.cc',
398 'base/proxydetect.h',
399 'base/proxyinfo.cc',
400 'base/proxyinfo.h',
401 'base/proxyserver.cc',
402 'base/proxyserver.h',
403 'base/ratelimiter.cc',
404 'base/ratelimiter.h',
405 'base/ratetracker.cc',
406 'base/ratetracker.h',
407 'base/refcount.h',
408 'base/referencecountedsingletonfactory.h',
409 'base/rollingaccumulator.h',
410 'base/scoped_autorelease_pool.h',
411 'base/scoped_ptr.h',
412 'base/scoped_ref_ptr.h',
sergeyu@chromium.org9cf037b2014-02-07 19:03:26 +0000413 'base/scopedptrcollection.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000414 'base/sec_buffer.h',
415 'base/sha1.cc',
416 'base/sha1.h',
417 'base/sha1digest.h',
418 'base/sharedexclusivelock.cc',
419 'base/sharedexclusivelock.h',
420 'base/signalthread.cc',
421 'base/signalthread.h',
422 'base/sigslot.h',
423 'base/sigslotrepeater.h',
424 'base/socket.h',
425 'base/socketadapters.cc',
426 'base/socketadapters.h',
427 'base/socketaddress.cc',
428 'base/socketaddress.h',
429 'base/socketaddresspair.cc',
430 'base/socketaddresspair.h',
431 'base/socketfactory.h',
432 'base/socketpool.cc',
433 'base/socketpool.h',
434 'base/socketserver.h',
435 'base/socketstream.cc',
436 'base/socketstream.h',
437 'base/ssladapter.cc',
438 'base/ssladapter.h',
439 'base/sslconfig.h',
sergeyu@chromium.org4b26e2e2014-01-15 23:15:54 +0000440 'base/sslfingerprint.cc',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000441 'base/sslfingerprint.h',
442 'base/sslidentity.cc',
443 'base/sslidentity.h',
444 'base/sslroots.h',
445 'base/sslsocketfactory.cc',
446 'base/sslsocketfactory.h',
447 'base/sslstreamadapter.cc',
448 'base/sslstreamadapter.h',
449 'base/sslstreamadapterhelper.cc',
450 'base/sslstreamadapterhelper.h',
451 'base/stream.cc',
452 'base/stream.h',
453 'base/stringdigest.h',
454 'base/stringencode.cc',
455 'base/stringencode.h',
456 'base/stringutils.cc',
457 'base/stringutils.h',
458 'base/systeminfo.cc',
459 'base/systeminfo.h',
460 'base/task.cc',
461 'base/task.h',
462 'base/taskparent.cc',
463 'base/taskparent.h',
464 'base/taskrunner.cc',
465 'base/taskrunner.h',
466 'base/testclient.cc',
467 'base/testclient.h',
468 'base/thread.cc',
469 'base/thread.h',
470 'base/timeutils.cc',
471 'base/timeutils.h',
472 'base/timing.cc',
473 'base/timing.h',
474 'base/transformadapter.cc',
475 'base/transformadapter.h',
476 'base/urlencode.cc',
477 'base/urlencode.h',
478 'base/versionparsing.cc',
479 'base/versionparsing.h',
480 'base/virtualsocketserver.cc',
481 'base/virtualsocketserver.h',
482 'base/window.h',
483 'base/windowpicker.h',
484 'base/windowpickerfactory.h',
485 'base/worker.cc',
486 'base/worker.h',
487 'xmllite/qname.cc',
488 'xmllite/qname.h',
489 'xmllite/xmlbuilder.cc',
490 'xmllite/xmlbuilder.h',
491 'xmllite/xmlconstants.cc',
492 'xmllite/xmlconstants.h',
493 'xmllite/xmlelement.cc',
494 'xmllite/xmlelement.h',
495 'xmllite/xmlnsstack.cc',
496 'xmllite/xmlnsstack.h',
497 'xmllite/xmlparser.cc',
498 'xmllite/xmlparser.h',
499 'xmllite/xmlprinter.cc',
500 'xmllite/xmlprinter.h',
501 'xmpp/asyncsocket.h',
502 'xmpp/chatroommodule.h',
503 'xmpp/chatroommoduleimpl.cc',
504 'xmpp/constants.cc',
505 'xmpp/constants.h',
506 'xmpp/discoitemsquerytask.cc',
507 'xmpp/discoitemsquerytask.h',
508 'xmpp/hangoutpubsubclient.cc',
509 'xmpp/hangoutpubsubclient.h',
510 'xmpp/iqtask.cc',
511 'xmpp/iqtask.h',
512 'xmpp/jid.cc',
513 'xmpp/jid.h',
514 'xmpp/module.h',
515 'xmpp/moduleimpl.cc',
516 'xmpp/moduleimpl.h',
517 'xmpp/mucroomconfigtask.cc',
518 'xmpp/mucroomconfigtask.h',
519 'xmpp/mucroomdiscoverytask.cc',
520 'xmpp/mucroomdiscoverytask.h',
521 'xmpp/mucroomlookuptask.cc',
522 'xmpp/mucroomlookuptask.h',
523 'xmpp/mucroomuniquehangoutidtask.cc',
524 'xmpp/mucroomuniquehangoutidtask.h',
525 'xmpp/pingtask.cc',
526 'xmpp/pingtask.h',
527 'xmpp/plainsaslhandler.h',
528 'xmpp/presenceouttask.cc',
529 'xmpp/presenceouttask.h',
530 'xmpp/presencereceivetask.cc',
531 'xmpp/presencereceivetask.h',
532 'xmpp/presencestatus.cc',
533 'xmpp/presencestatus.h',
534 'xmpp/prexmppauth.h',
535 'xmpp/pubsub_task.cc',
536 'xmpp/pubsub_task.h',
537 'xmpp/pubsubclient.cc',
538 'xmpp/pubsubclient.h',
mallinath@webrtc.org0dac5372014-01-28 06:58:42 +0000539 'xmpp/pubsubstateclient.cc',
540 'xmpp/pubsubstateclient.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000541 'xmpp/pubsubtasks.cc',
542 'xmpp/pubsubtasks.h',
543 'xmpp/receivetask.cc',
544 'xmpp/receivetask.h',
545 'xmpp/rostermodule.h',
546 'xmpp/rostermoduleimpl.cc',
547 'xmpp/rostermoduleimpl.h',
548 'xmpp/saslcookiemechanism.h',
549 'xmpp/saslhandler.h',
550 'xmpp/saslmechanism.cc',
551 'xmpp/saslmechanism.h',
552 'xmpp/saslplainmechanism.h',
553 'xmpp/xmppauth.cc',
554 'xmpp/xmppauth.h',
555 'xmpp/xmppclient.cc',
556 'xmpp/xmppclient.h',
557 'xmpp/xmppclientsettings.h',
558 'xmpp/xmppengine.h',
559 'xmpp/xmppengineimpl.cc',
560 'xmpp/xmppengineimpl.h',
561 'xmpp/xmppengineimpl_iq.cc',
562 'xmpp/xmpplogintask.cc',
563 'xmpp/xmpplogintask.h',
564 'xmpp/xmpppump.cc',
565 'xmpp/xmpppump.h',
566 'xmpp/xmppsocket.cc',
567 'xmpp/xmppsocket.h',
568 'xmpp/xmppstanzaparser.cc',
569 'xmpp/xmppstanzaparser.h',
570 'xmpp/xmpptask.cc',
571 'xmpp/xmpptask.h',
572 'xmpp/xmppthread.cc',
573 'xmpp/xmppthread.h',
574 ],
575 'conditions': [
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000576 ['OS=="android"', {
577 'sources': [
578 'base/ifaddrs-android.cc',
579 ],
580 'link_settings': {
581 'libraries': [
582 '-llog',
583 '-lGLESv2',
584 ],
585 },
586 }],
587 ['OS=="linux" or OS=="android"', {
588 'sources': [
589 'base/linux.cc',
590 'base/linux.h',
591 ],
592 }],
593 ['OS=="linux"', {
594 'sources': [
595 'base/dbus.cc',
596 'base/dbus.h',
597 'base/libdbusglibsymboltable.cc',
598 'base/libdbusglibsymboltable.h',
599 'base/linuxfdwalk.c',
600 'base/linuxwindowpicker.cc',
601 'base/linuxwindowpicker.h',
602 ],
603 'link_settings': {
604 'libraries': [
605 '-lcrypto',
606 '-ldl',
607 '-lrt',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000608 '-lXext',
609 '-lX11',
610 '-lXcomposite',
611 '-lXrender',
612 '<!@(<(pkg-config) --libs-only-l nss | sed -e "s/-lssl3//")',
613 ],
614 },
615 'cflags': [
616 '<!@(<(pkg-config) --cflags nss)',
617 ],
618 'ldflags': [
619 '<!@(<(pkg-config) --libs-only-L --libs-only-other nss)',
620 ],
621 }],
622 ['OS=="mac"', {
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000623 'sources': [
henrike@webrtc.org723d6832013-07-12 16:04:50 +0000624 'base/macasyncsocket.cc',
625 'base/macasyncsocket.h',
626 'base/maccocoasocketserver.h',
627 'base/maccocoasocketserver.mm',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000628 'base/macconversion.cc',
629 'base/macconversion.h',
henrike@webrtc.org723d6832013-07-12 16:04:50 +0000630 'base/macsocketserver.cc',
631 'base/macsocketserver.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000632 'base/macutils.cc',
633 'base/macutils.h',
634 'base/macwindowpicker.cc',
635 'base/macwindowpicker.h',
636 'base/scoped_autorelease_pool.mm',
637 ],
638 'link_settings': {
639 'libraries': [
fischman@webrtc.orge3de6b12013-08-26 19:31:21 +0000640 '$(SDKROOT)/usr/lib/libcrypto.dylib',
641 '$(SDKROOT)/usr/lib/libssl.dylib',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000642 ],
fischman@webrtc.orge3de6b12013-08-26 19:31:21 +0000643 },
644 'all_dependent_settings': {
645 'link_settings': {
646 'xcode_settings': {
647 'OTHER_LDFLAGS': [
648 '-framework Cocoa',
649 '-framework Foundation',
650 '-framework IOKit',
651 '-framework Security',
652 '-framework SystemConfiguration',
653 ],
654 },
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000655 },
656 },
fischman@webrtc.orge3de6b12013-08-26 19:31:21 +0000657 'conditions': [
658 ['target_arch=="ia32"', {
659 'all_dependent_settings': {
660 'link_settings': {
661 'xcode_settings': {
662 'OTHER_LDFLAGS': [
663 '-framework Carbon',
664 ],
665 },
666 },
667 },
668 }],
669 ],
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000670 }],
671 ['OS=="ios"', {
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000672 'sources': [
fischman@webrtc.orga86c42c2014-04-29 18:37:29 +0000673 'base/iosfilesystem.mm',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000674 'base/scoped_autorelease_pool.mm',
675 ],
fischman@webrtc.org1bc19542013-08-01 18:29:45 +0000676 'dependencies': [
677 '../net/third_party/nss/ssl.gyp:libssl',
678 ],
fischman@webrtc.orge3de6b12013-08-26 19:31:21 +0000679 'all_dependent_settings': {
680 'xcode_settings': {
681 'OTHER_LDFLAGS': [
682 '-framework Foundation',
683 '-framework IOKit',
684 '-framework Security',
685 '-framework SystemConfiguration',
686 '-framework UIKit',
687 ],
688 },
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000689 },
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000690 }],
691 ['OS=="win"', {
692 'sources': [
693 'base/diskcache_win32.cc',
694 'base/diskcache_win32.h',
695 'base/schanneladapter.cc',
696 'base/schanneladapter.h',
697 'base/win32.cc',
698 'base/win32.h',
699 'base/win32filesystem.cc',
700 'base/win32filesystem.h',
701 'base/win32regkey.cc',
702 'base/win32regkey.h',
703 'base/win32securityerrors.cc',
704 'base/win32socketinit.cc',
705 'base/win32socketinit.h',
706 'base/win32socketserver.cc',
707 'base/win32socketserver.h',
708 'base/win32window.cc',
709 'base/win32window.h',
710 'base/win32windowpicker.cc',
711 'base/win32windowpicker.h',
712 'base/winfirewall.cc',
713 'base/winfirewall.h',
714 'base/winping.cc',
715 'base/winping.h',
716 ],
henrike@webrtc.org28654cb2013-07-22 21:07:49 +0000717 'link_settings': {
718 'libraries': [
719 '-lcrypt32.lib',
720 '-liphlpapi.lib',
721 '-lsecur32.lib',
722 ],
723 },
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000724 # Suppress warnings about WIN32_LEAN_AND_MEAN.
725 'msvs_disabled_warnings': [4005],
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000726 }],
727 ['os_posix==1', {
728 'sources': [
729 'base/latebindingsymboltable.cc',
730 'base/latebindingsymboltable.h',
731 'base/posix.cc',
732 'base/posix.h',
733 'base/unixfilesystem.cc',
734 'base/unixfilesystem.h',
735 ],
736 'conditions': [
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000737 ['OS!="ios"', {
738 'sources': [
wu@webrtc.orgb9a088b2014-02-13 23:18:49 +0000739 'base/openssl.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000740 'base/openssladapter.cc',
741 'base/openssladapter.h',
742 'base/openssldigest.cc',
743 'base/openssldigest.h',
744 'base/opensslidentity.cc',
745 'base/opensslidentity.h',
746 'base/opensslstreamadapter.cc',
747 'base/opensslstreamadapter.h',
748 ],
749 }],
750 ],
751 }],
752 ], # conditions
753 }, # target libjingle
754 {
755 'target_name': 'libjingle_sound',
756 'type': 'static_library',
757 'dependencies': [
758 'libjingle',
759 ],
760 'sources': [
761 'sound/automaticallychosensoundsystem.h',
762 'sound/nullsoundsystem.cc',
763 'sound/nullsoundsystem.h',
764 'sound/nullsoundsystemfactory.cc',
765 'sound/nullsoundsystemfactory.h',
766 'sound/platformsoundsystem.cc',
767 'sound/platformsoundsystem.h',
768 'sound/platformsoundsystemfactory.cc',
769 'sound/platformsoundsystemfactory.h',
770 'sound/sounddevicelocator.h',
771 'sound/soundinputstreaminterface.h',
772 'sound/soundoutputstreaminterface.h',
773 'sound/soundsystemfactory.h',
774 'sound/soundsysteminterface.cc',
775 'sound/soundsysteminterface.h',
776 'sound/soundsystemproxy.cc',
777 'sound/soundsystemproxy.h',
778 ],
779 'conditions': [
780 ['OS=="linux"', {
781 'sources': [
782 'sound/alsasoundsystem.cc',
783 'sound/alsasoundsystem.h',
784 'sound/alsasymboltable.cc',
785 'sound/alsasymboltable.h',
786 'sound/linuxsoundsystem.cc',
787 'sound/linuxsoundsystem.h',
788 'sound/pulseaudiosoundsystem.cc',
789 'sound/pulseaudiosoundsystem.h',
790 'sound/pulseaudiosymboltable.cc',
791 'sound/pulseaudiosymboltable.h',
792 ],
793 }],
794 ],
795 }, # target libjingle_sound
796 {
797 'target_name': 'libjingle_media',
798 'type': 'static_library',
jiayl@webrtc.orga576faf2014-01-29 17:45:53 +0000799 'include_dirs': [
800 # TODO(jiayl): move this into the direct_dependent_settings of
801 # usrsctp.gyp.
802 '<(DEPTH)/third_party/usrsctp',
803 ],
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000804 'dependencies': [
805 '<(DEPTH)/third_party/libyuv/libyuv.gyp:libyuv',
jiayl@webrtc.orga576faf2014-01-29 17:45:53 +0000806 '<(DEPTH)/third_party/usrsctp/usrsctp.gyp:usrsctplib',
henrike@webrtc.org9de257d2013-07-17 14:42:53 +0000807 '<(webrtc_root)/modules/modules.gyp:video_capture_module',
808 '<(webrtc_root)/modules/modules.gyp:video_render_module',
pbos@webrtc.orgb5a22b12014-05-13 11:07:01 +0000809 '<(webrtc_root)/webrtc.gyp:webrtc',
henrike@webrtc.org9de257d2013-07-17 14:42:53 +0000810 '<(webrtc_root)/voice_engine/voice_engine.gyp:voice_engine',
811 '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000812 'libjingle',
813 'libjingle_sound',
814 ],
815 'direct_dependent_settings': {
816 'include_dirs': [
817 '<(DEPTH)/third_party/libyuv/include',
818 ],
819 },
820 'sources': [
821 'media/base/audioframe.h',
822 'media/base/audiorenderer.h',
823 'media/base/capturemanager.cc',
824 'media/base/capturemanager.h',
825 'media/base/capturerenderadapter.cc',
826 'media/base/capturerenderadapter.h',
827 'media/base/codec.cc',
828 'media/base/codec.h',
829 'media/base/constants.cc',
830 'media/base/constants.h',
831 'media/base/cpuid.cc',
832 'media/base/cpuid.h',
833 'media/base/cryptoparams.h',
834 'media/base/filemediaengine.cc',
835 'media/base/filemediaengine.h',
836 'media/base/hybriddataengine.h',
837 'media/base/hybridvideoengine.cc',
838 'media/base/hybridvideoengine.h',
839 'media/base/mediachannel.h',
840 'media/base/mediacommon.h',
841 'media/base/mediaengine.cc',
842 'media/base/mediaengine.h',
843 'media/base/mutedvideocapturer.cc',
844 'media/base/mutedvideocapturer.h',
845 'media/base/rtpdataengine.cc',
846 'media/base/rtpdataengine.h',
847 'media/base/rtpdump.cc',
848 'media/base/rtpdump.h',
849 'media/base/rtputils.cc',
850 'media/base/rtputils.h',
851 'media/base/screencastid.h',
852 'media/base/streamparams.cc',
853 'media/base/streamparams.h',
854 'media/base/videoadapter.cc',
855 'media/base/videoadapter.h',
856 'media/base/videocapturer.cc',
857 'media/base/videocapturer.h',
858 'media/base/videocommon.cc',
859 'media/base/videocommon.h',
860 'media/base/videoframe.cc',
861 'media/base/videoframe.h',
862 'media/base/videoprocessor.h',
863 'media/base/videorenderer.h',
864 'media/base/voiceprocessor.h',
mallinath@webrtc.orgecd622e2014-02-03 17:17:05 +0000865 'media/base/yuvframegenerator.cc',
866 'media/base/yuvframegenerator.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000867 'media/devices/deviceinfo.h',
868 'media/devices/devicemanager.cc',
869 'media/devices/devicemanager.h',
870 'media/devices/dummydevicemanager.h',
871 'media/devices/filevideocapturer.cc',
872 'media/devices/filevideocapturer.h',
873 'media/devices/videorendererfactory.h',
mallinath@webrtc.orgecd622e2014-02-03 17:17:05 +0000874 'media/devices/yuvframescapturer.cc',
875 'media/devices/yuvframescapturer.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000876 'media/other/linphonemediaengine.h',
jiayl@webrtc.orga576faf2014-01-29 17:45:53 +0000877 'media/sctp/sctpdataengine.cc',
878 'media/sctp/sctpdataengine.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000879 'media/webrtc/webrtccommon.h',
880 'media/webrtc/webrtcexport.h',
881 'media/webrtc/webrtcmediaengine.h',
882 'media/webrtc/webrtcpassthroughrender.cc',
883 'media/webrtc/webrtcpassthroughrender.h',
wu@webrtc.org9dba5252013-08-05 20:36:57 +0000884 'media/webrtc/webrtctexturevideoframe.cc',
885 'media/webrtc/webrtctexturevideoframe.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000886 'media/webrtc/webrtcvideocapturer.cc',
887 'media/webrtc/webrtcvideocapturer.h',
888 'media/webrtc/webrtcvideodecoderfactory.h',
889 'media/webrtc/webrtcvideoencoderfactory.h',
890 'media/webrtc/webrtcvideoengine.cc',
891 'media/webrtc/webrtcvideoengine.h',
pbos@webrtc.orgb5a22b12014-05-13 11:07:01 +0000892 'media/webrtc/webrtcvideoengine2.cc',
893 'media/webrtc/webrtcvideoengine2.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000894 'media/webrtc/webrtcvideoframe.cc',
895 'media/webrtc/webrtcvideoframe.h',
896 'media/webrtc/webrtcvie.h',
897 'media/webrtc/webrtcvoe.h',
898 'media/webrtc/webrtcvoiceengine.cc',
899 'media/webrtc/webrtcvoiceengine.h',
900 ],
901 'conditions': [
902 ['OS=="linux"', {
903 'sources': [
904 'media/devices/gtkvideorenderer.cc',
905 'media/devices/gtkvideorenderer.h',
906 'media/devices/libudevsymboltable.cc',
907 'media/devices/libudevsymboltable.h',
908 'media/devices/linuxdeviceinfo.cc',
909 'media/devices/linuxdevicemanager.cc',
910 'media/devices/linuxdevicemanager.h',
911 'media/devices/v4llookup.cc',
912 'media/devices/v4llookup.h',
913 ],
914 'include_dirs': [
915 'third_party/libudev'
916 ],
917 'cflags': [
918 '<!@(pkg-config --cflags gobject-2.0 gthread-2.0 gtk+-2.0)',
919 ],
920 'libraries': [
921 '-lrt',
922 '-lXext',
923 '-lX11',
924 ],
925 }],
926 ['OS=="win"', {
927 'sources': [
928 'media/devices/gdivideorenderer.cc',
929 'media/devices/gdivideorenderer.h',
930 'media/devices/win32deviceinfo.cc',
931 'media/devices/win32devicemanager.cc',
932 'media/devices/win32devicemanager.h',
933 ],
934 'msvs_settings': {
935 'VCLibrarianTool': {
936 'AdditionalDependencies': [
937 'd3d9.lib',
938 'gdi32.lib',
939 'strmiids.lib',
940 'winmm.lib',
941 ],
942 },
943 },
944 }],
945 ['OS=="mac"', {
946 'sources': [
947 'media/devices/macdeviceinfo.cc',
948 'media/devices/macdevicemanager.cc',
949 'media/devices/macdevicemanager.h',
950 'media/devices/macdevicemanagermm.mm',
951 ],
952 'conditions': [
fischman@webrtc.orge3de6b12013-08-26 19:31:21 +0000953 ['target_arch=="ia32"', {
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000954 'sources': [
955 'media/devices/carbonvideorenderer.cc',
956 'media/devices/carbonvideorenderer.h',
957 ],
fischman@webrtc.orge3de6b12013-08-26 19:31:21 +0000958 'link_settings': {
959 'xcode_settings': {
960 'OTHER_LDFLAGS': [
961 '-framework Carbon',
962 ],
963 },
964 },
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000965 }],
966 ],
967 'xcode_settings': {
968 'WARNING_CFLAGS': [
969 # TODO(ronghuawu): Update macdevicemanager.cc to stop using
970 # deprecated functions and remove this flag.
971 '-Wno-deprecated-declarations',
972 ],
973 },
974 'link_settings': {
975 'xcode_settings': {
976 'OTHER_LDFLAGS': [
977 '-framework Cocoa',
978 '-framework CoreAudio',
979 '-framework CoreVideo',
980 '-framework OpenGL',
981 '-framework QTKit',
982 ],
983 },
984 },
985 }],
986 ['OS=="ios"', {
987 'sources': [
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000988 'media/devices/mobiledevicemanager.cc',
989 ],
990 'include_dirs': [
991 # TODO(sjlee) Remove when vp8 is building for iOS. vp8 pulls in
992 # libjpeg which pulls in libyuv which currently disabled.
993 '../third_party/libyuv/include',
994 ],
jiayl@webrtc.orga576faf2014-01-29 17:45:53 +0000995 'dependencies!': [
996 '<(DEPTH)/third_party/usrsctp/usrsctp.gyp:usrsctplib',
997 ],
998 'sources!': [
999 'media/sctp/sctpdataengine.cc',
1000 'media/sctp/sctpdataengine.h',
1001 ],
henrike@webrtc.org28e20752013-07-10 00:45:36 +00001002 }],
1003 ['OS=="android"', {
1004 'sources': [
1005 'media/devices/mobiledevicemanager.cc',
1006 ],
1007 }],
1008 ],
1009 }, # target libjingle_media
1010 {
1011 'target_name': 'libjingle_p2p',
1012 'type': 'static_library',
1013 'dependencies': [
1014 '<(DEPTH)/third_party/libsrtp/libsrtp.gyp:libsrtp',
1015 'libjingle',
1016 'libjingle_media',
1017 ],
1018 'include_dirs': [
henrike@webrtc.org723d6832013-07-12 16:04:50 +00001019 '<(DEPTH)/testing/gtest/include',
henrike@webrtc.org28e20752013-07-10 00:45:36 +00001020 ],
1021 'direct_dependent_settings': {
1022 'include_dirs': [
henrike@webrtc.org723d6832013-07-12 16:04:50 +00001023 '<(DEPTH)/testing/gtest/include',
henrike@webrtc.org28e20752013-07-10 00:45:36 +00001024 ],
1025 },
henrike@webrtc.org28e20752013-07-10 00:45:36 +00001026 'sources': [
1027 'p2p/base/asyncstuntcpsocket.cc',
1028 'p2p/base/asyncstuntcpsocket.h',
1029 'p2p/base/basicpacketsocketfactory.cc',
1030 'p2p/base/basicpacketsocketfactory.h',
1031 'p2p/base/candidate.h',
1032 'p2p/base/common.h',
1033 'p2p/base/constants.cc',
1034 'p2p/base/constants.h',
1035 'p2p/base/dtlstransportchannel.cc',
1036 'p2p/base/dtlstransportchannel.h',
1037 'p2p/base/p2ptransport.cc',
1038 'p2p/base/p2ptransport.h',
1039 'p2p/base/p2ptransportchannel.cc',
1040 'p2p/base/p2ptransportchannel.h',
1041 'p2p/base/packetsocketfactory.h',
1042 'p2p/base/parsing.cc',
1043 'p2p/base/parsing.h',
1044 'p2p/base/port.cc',
1045 'p2p/base/port.h',
1046 'p2p/base/portallocator.cc',
1047 'p2p/base/portallocator.h',
1048 'p2p/base/portallocatorsessionproxy.cc',
1049 'p2p/base/portallocatorsessionproxy.h',
1050 'p2p/base/portinterface.h',
1051 'p2p/base/portproxy.cc',
1052 'p2p/base/portproxy.h',
1053 'p2p/base/pseudotcp.cc',
1054 'p2p/base/pseudotcp.h',
1055 'p2p/base/rawtransport.cc',
1056 'p2p/base/rawtransport.h',
1057 'p2p/base/rawtransportchannel.cc',
1058 'p2p/base/rawtransportchannel.h',
1059 'p2p/base/relayport.cc',
1060 'p2p/base/relayport.h',
1061 'p2p/base/relayserver.cc',
1062 'p2p/base/relayserver.h',
1063 'p2p/base/session.cc',
1064 'p2p/base/session.h',
1065 'p2p/base/sessionclient.h',
1066 'p2p/base/sessiondescription.cc',
1067 'p2p/base/sessiondescription.h',
1068 'p2p/base/sessionid.h',
1069 'p2p/base/sessionmanager.cc',
1070 'p2p/base/sessionmanager.h',
1071 'p2p/base/sessionmessages.cc',
1072 'p2p/base/sessionmessages.h',
1073 'p2p/base/stun.cc',
1074 'p2p/base/stun.h',
1075 'p2p/base/stunport.cc',
1076 'p2p/base/stunport.h',
1077 'p2p/base/stunrequest.cc',
1078 'p2p/base/stunrequest.h',
1079 'p2p/base/stunserver.cc',
1080 'p2p/base/stunserver.h',
1081 'p2p/base/tcpport.cc',
1082 'p2p/base/tcpport.h',
1083 'p2p/base/transport.cc',
1084 'p2p/base/transport.h',
1085 'p2p/base/transportchannel.cc',
1086 'p2p/base/transportchannel.h',
1087 'p2p/base/transportchannelimpl.h',
1088 'p2p/base/transportchannelproxy.cc',
1089 'p2p/base/transportchannelproxy.h',
sergeyu@chromium.org492e3152013-08-24 00:06:43 +00001090 'p2p/base/transportdescription.cc',
henrike@webrtc.org28e20752013-07-10 00:45:36 +00001091 'p2p/base/transportdescription.h',
1092 'p2p/base/transportdescriptionfactory.cc',
1093 'p2p/base/transportdescriptionfactory.h',
1094 'p2p/base/transportinfo.h',
1095 'p2p/base/turnport.cc',
1096 'p2p/base/turnport.h',
1097 'p2p/base/turnserver.cc',
1098 'p2p/base/turnserver.h',
1099 'p2p/base/udpport.h',
1100 'p2p/client/autoportallocator.h',
1101 'p2p/client/basicportallocator.cc',
1102 'p2p/client/basicportallocator.h',
1103 'p2p/client/connectivitychecker.cc',
1104 'p2p/client/connectivitychecker.h',
1105 'p2p/client/httpportallocator.cc',
1106 'p2p/client/httpportallocator.h',
1107 'p2p/client/sessionmanagertask.h',
1108 'p2p/client/sessionsendtask.h',
1109 'p2p/client/socketmonitor.cc',
1110 'p2p/client/socketmonitor.h',
1111 'session/tunnel/pseudotcpchannel.cc',
1112 'session/tunnel/pseudotcpchannel.h',
1113 'session/tunnel/tunnelsessionclient.cc',
1114 'session/tunnel/tunnelsessionclient.h',
1115 'session/tunnel/securetunnelsessionclient.cc',
1116 'session/tunnel/securetunnelsessionclient.h',
1117 'session/media/audiomonitor.cc',
1118 'session/media/audiomonitor.h',
buildbot@webrtc.org5ee0f052014-05-05 20:18:08 +00001119 'session/media/bundlefilter.cc',
1120 'session/media/bundlefilter.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +00001121 'session/media/call.cc',
1122 'session/media/call.h',
1123 'session/media/channel.cc',
1124 'session/media/channel.h',
1125 'session/media/channelmanager.cc',
1126 'session/media/channelmanager.h',
1127 'session/media/currentspeakermonitor.cc',
1128 'session/media/currentspeakermonitor.h',
1129 'session/media/mediamessages.cc',
1130 'session/media/mediamessages.h',
1131 'session/media/mediamonitor.cc',
1132 'session/media/mediamonitor.h',
1133 'session/media/mediarecorder.cc',
1134 'session/media/mediarecorder.h',
1135 'session/media/mediasession.cc',
1136 'session/media/mediasession.h',
1137 'session/media/mediasessionclient.cc',
1138 'session/media/mediasessionclient.h',
1139 'session/media/mediasink.h',
1140 'session/media/rtcpmuxfilter.cc',
1141 'session/media/rtcpmuxfilter.h',
1142 'session/media/soundclip.cc',
1143 'session/media/soundclip.h',
1144 'session/media/srtpfilter.cc',
1145 'session/media/srtpfilter.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +00001146 'session/media/typingmonitor.cc',
1147 'session/media/typingmonitor.h',
1148 'session/media/voicechannel.h',
1149 ],
1150 }, # target libjingle_p2p
1151 {
1152 'target_name': 'libjingle_peerconnection',
1153 'type': 'static_library',
1154 'dependencies': [
1155 'libjingle',
1156 'libjingle_media',
1157 'libjingle_p2p',
1158 ],
1159 'sources': [
1160 'app/webrtc/audiotrack.cc',
1161 'app/webrtc/audiotrack.h',
1162 'app/webrtc/audiotrackrenderer.cc',
1163 'app/webrtc/audiotrackrenderer.h',
1164 'app/webrtc/datachannel.cc',
1165 'app/webrtc/datachannel.h',
1166 'app/webrtc/datachannelinterface.h',
1167 'app/webrtc/dtmfsender.cc',
1168 'app/webrtc/dtmfsender.h',
1169 'app/webrtc/dtmfsenderinterface.h',
1170 'app/webrtc/fakeportallocatorfactory.h',
1171 'app/webrtc/jsep.h',
1172 'app/webrtc/jsepicecandidate.cc',
1173 'app/webrtc/jsepicecandidate.h',
1174 'app/webrtc/jsepsessiondescription.cc',
1175 'app/webrtc/jsepsessiondescription.h',
1176 'app/webrtc/localaudiosource.cc',
1177 'app/webrtc/localaudiosource.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +00001178 'app/webrtc/mediaconstraintsinterface.cc',
1179 'app/webrtc/mediaconstraintsinterface.h',
1180 'app/webrtc/mediastream.cc',
1181 'app/webrtc/mediastream.h',
1182 'app/webrtc/mediastreamhandler.cc',
1183 'app/webrtc/mediastreamhandler.h',
1184 'app/webrtc/mediastreaminterface.h',
1185 'app/webrtc/mediastreamprovider.h',
1186 'app/webrtc/mediastreamproxy.h',
1187 'app/webrtc/mediastreamsignaling.cc',
1188 'app/webrtc/mediastreamsignaling.h',
1189 'app/webrtc/mediastreamtrack.h',
1190 'app/webrtc/mediastreamtrackproxy.h',
1191 'app/webrtc/notifier.h',
1192 'app/webrtc/peerconnection.cc',
1193 'app/webrtc/peerconnection.h',
1194 'app/webrtc/peerconnectionfactory.cc',
1195 'app/webrtc/peerconnectionfactory.h',
1196 'app/webrtc/peerconnectioninterface.h',
1197 'app/webrtc/peerconnectionproxy.h',
1198 'app/webrtc/portallocatorfactory.cc',
1199 'app/webrtc/portallocatorfactory.h',
1200 'app/webrtc/proxy.h',
wu@webrtc.orgb9a088b2014-02-13 23:18:49 +00001201 'app/webrtc/remoteaudiosource.cc',
1202 'app/webrtc/remoteaudiosource.h',
wu@webrtc.org967bfff2013-09-19 05:49:50 +00001203 'app/webrtc/remotevideocapturer.cc',
1204 'app/webrtc/remotevideocapturer.h',
henrika@webrtc.orgaebb1ad2014-01-14 10:00:58 +00001205 'app/webrtc/sctputils.cc',
1206 'app/webrtc/sctputils.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +00001207 'app/webrtc/statscollector.cc',
1208 'app/webrtc/statscollector.h',
1209 'app/webrtc/statstypes.h',
1210 'app/webrtc/streamcollection.h',
wu@webrtc.org967bfff2013-09-19 05:49:50 +00001211 'app/webrtc/videosource.cc',
1212 'app/webrtc/videosource.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +00001213 'app/webrtc/videosourceinterface.h',
1214 'app/webrtc/videosourceproxy.h',
1215 'app/webrtc/videotrack.cc',
1216 'app/webrtc/videotrack.h',
1217 'app/webrtc/videotrackrenderers.cc',
1218 'app/webrtc/videotrackrenderers.h',
1219 'app/webrtc/webrtcsdp.cc',
1220 'app/webrtc/webrtcsdp.h',
1221 'app/webrtc/webrtcsession.cc',
1222 'app/webrtc/webrtcsession.h',
wu@webrtc.org91053e72013-08-10 07:18:04 +00001223 'app/webrtc/webrtcsessiondescriptionfactory.cc',
1224 'app/webrtc/webrtcsessiondescriptionfactory.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +00001225 ],
1226 }, # target libjingle_peerconnection
1227 ],
1228}