blob: 8bb2847062051dd2343f729efe80f938793e7957 [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',
tkchin@webrtc.org1732a592014-05-19 23:26:01 +0000176 'app/webrtc/objc/RTCI420Frame+Internal.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000177 'app/webrtc/objc/RTCI420Frame.mm',
fischman@webrtc.org1bc19542013-08-01 18:29:45 +0000178 'app/webrtc/objc/RTCICECandidate+Internal.h',
179 'app/webrtc/objc/RTCICECandidate.mm',
180 'app/webrtc/objc/RTCICEServer+Internal.h',
181 'app/webrtc/objc/RTCICEServer.mm',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000182 'app/webrtc/objc/RTCMediaConstraints+Internal.h',
183 'app/webrtc/objc/RTCMediaConstraints.mm',
184 'app/webrtc/objc/RTCMediaConstraintsNative.cc',
185 'app/webrtc/objc/RTCMediaConstraintsNative.h',
186 'app/webrtc/objc/RTCMediaSource+Internal.h',
187 'app/webrtc/objc/RTCMediaSource.mm',
188 'app/webrtc/objc/RTCMediaStream+Internal.h',
189 'app/webrtc/objc/RTCMediaStream.mm',
190 'app/webrtc/objc/RTCMediaStreamTrack+Internal.h',
191 'app/webrtc/objc/RTCMediaStreamTrack.mm',
192 'app/webrtc/objc/RTCPair.m',
193 'app/webrtc/objc/RTCPeerConnection+Internal.h',
194 'app/webrtc/objc/RTCPeerConnection.mm',
195 'app/webrtc/objc/RTCPeerConnectionFactory.mm',
196 'app/webrtc/objc/RTCPeerConnectionObserver.h',
197 'app/webrtc/objc/RTCPeerConnectionObserver.mm',
198 'app/webrtc/objc/RTCSessionDescription+Internal.h',
199 'app/webrtc/objc/RTCSessionDescription.mm',
tkchin@webrtc.org19b1be12014-04-22 21:05:38 +0000200 'app/webrtc/objc/RTCStatsReport+Internal.h',
201 'app/webrtc/objc/RTCStatsReport.mm',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000202 'app/webrtc/objc/RTCVideoCapturer+Internal.h',
203 'app/webrtc/objc/RTCVideoCapturer.mm',
204 'app/webrtc/objc/RTCVideoRenderer+Internal.h',
205 'app/webrtc/objc/RTCVideoRenderer.mm',
206 'app/webrtc/objc/RTCVideoSource+Internal.h',
207 'app/webrtc/objc/RTCVideoSource.mm',
208 'app/webrtc/objc/RTCVideoTrack+Internal.h',
209 'app/webrtc/objc/RTCVideoTrack.mm',
210 'app/webrtc/objc/public/RTCAudioSource.h',
211 'app/webrtc/objc/public/RTCAudioTrack.h',
tkchin@webrtc.orgff273322014-04-30 18:32:33 +0000212 'app/webrtc/objc/public/RTCDataChannel.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000213 'app/webrtc/objc/public/RTCI420Frame.h',
fischman@webrtc.org1bc19542013-08-01 18:29:45 +0000214 'app/webrtc/objc/public/RTCICECandidate.h',
215 'app/webrtc/objc/public/RTCICEServer.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000216 'app/webrtc/objc/public/RTCMediaConstraints.h',
217 'app/webrtc/objc/public/RTCMediaSource.h',
218 'app/webrtc/objc/public/RTCMediaStream.h',
219 'app/webrtc/objc/public/RTCMediaStreamTrack.h',
220 'app/webrtc/objc/public/RTCPair.h',
221 'app/webrtc/objc/public/RTCPeerConnection.h',
222 'app/webrtc/objc/public/RTCPeerConnectionDelegate.h',
223 'app/webrtc/objc/public/RTCPeerConnectionFactory.h',
224 'app/webrtc/objc/public/RTCSessionDescription.h',
tkchin@webrtc.orgec3d8ec2014-04-21 18:47:24 +0000225 'app/webrtc/objc/public/RTCSessionDescriptionDelegate.h',
tkchin@webrtc.org19b1be12014-04-22 21:05:38 +0000226 'app/webrtc/objc/public/RTCStatsDelegate.h',
227 'app/webrtc/objc/public/RTCStatsReport.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000228 'app/webrtc/objc/public/RTCTypes.h',
229 'app/webrtc/objc/public/RTCVideoCapturer.h',
230 'app/webrtc/objc/public/RTCVideoRenderer.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000231 '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': [
fischman@webrtc.org76fe9302013-09-19 21:11:08 +0000246 '-lstdc++',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000247 ],
248 },
249 'xcode_settings': {
250 'CLANG_ENABLE_OBJC_ARC': 'YES',
tkchin@webrtc.org19b1be12014-04-22 21:05:38 +0000251 # common.gypi enables this for mac but we want this to be disabled
252 # like it is for ios.
253 'CLANG_WARN_OBJC_MISSING_PROPERTY_SYNTHESIS': 'NO',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000254 },
tkchin@webrtc.orgff273322014-04-30 18:32:33 +0000255 'conditions': [
tkchin@webrtc.org1732a592014-05-19 23:26:01 +0000256 ['OS=="ios"', {
257 'sources': [
258 'app/webrtc/objc/RTCEAGLVideoRenderer.mm',
259 'app/webrtc/objc/RTCEAGLVideoView+Internal.h',
260 'app/webrtc/objc/RTCEAGLVideoView.m',
261 'app/webrtc/objc/public/RTCEAGLVideoRenderer.h',
262 'app/webrtc/objc/public/RTCEAGLVideoView.h',
263 ],
264 'link_settings': {
265 'xcode_settings': {
266 'OTHER_LDFLAGS': [
267 '-framework CoreGraphics',
268 '-framework GLKit',
269 ],
270 },
271 },
272 }],
tkchin@webrtc.orgff273322014-04-30 18:32:33 +0000273 ['OS=="mac"', {
274 'xcode_settings': {
275 # Need to build against 10.7 framework for full ARC support
276 # on OSX.
277 'MACOSX_DEPLOYMENT_TARGET' : '10.7',
278 },
279 }],
280 ],
fischman@webrtc.orge3de6b12013-08-26 19:31:21 +0000281 }, # target libjingle_peerconnection_objc
282 ],
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000283 }],
284 ],
285
286 'targets': [
287 {
288 'target_name': 'libjingle',
289 'type': 'static_library',
290 'dependencies': [
291 '<(DEPTH)/third_party/expat/expat.gyp:expat',
292 '<(DEPTH)/third_party/jsoncpp/jsoncpp.gyp:jsoncpp',
293 ],
294 'export_dependent_settings': [
295 '<(DEPTH)/third_party/expat/expat.gyp:expat',
296 '<(DEPTH)/third_party/jsoncpp/jsoncpp.gyp:jsoncpp',
297 ],
298 'sources': [
299 'base/asyncfile.cc',
300 'base/asyncfile.h',
301 'base/asynchttprequest.cc',
302 'base/asynchttprequest.h',
sergeyu@chromium.org9cf037b2014-02-07 19:03:26 +0000303 'base/asyncinvoker.cc',
304 'base/asyncinvoker.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000305 'base/asyncpacketsocket.h',
sergeyu@chromium.orga23f0ca2013-11-13 22:48:52 +0000306 'base/asyncresolverinterface.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000307 'base/asyncsocket.cc',
308 'base/asyncsocket.h',
309 'base/asynctcpsocket.cc',
310 'base/asynctcpsocket.h',
311 'base/asyncudpsocket.cc',
312 'base/asyncudpsocket.h',
313 'base/atomicops.h',
314 'base/autodetectproxy.cc',
315 'base/autodetectproxy.h',
316 'base/bandwidthsmoother.cc',
317 'base/bandwidthsmoother.h',
318 'base/base64.cc',
319 'base/base64.h',
320 'base/basicdefs.h',
321 'base/basictypes.h',
322 'base/bind.h',
323 'base/buffer.h',
324 'base/bytebuffer.cc',
325 'base/bytebuffer.h',
326 'base/byteorder.h',
sergeyu@chromium.org9cf037b2014-02-07 19:03:26 +0000327 'base/callback.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000328 'base/checks.cc',
329 'base/checks.h',
330 'base/common.cc',
331 'base/common.h',
332 'base/constructormagic.h',
333 'base/cpumonitor.cc',
334 'base/cpumonitor.h',
335 'base/crc32.cc',
336 'base/crc32.h',
337 'base/criticalsection.h',
338 'base/cryptstring.h',
339 'base/diskcache.cc',
340 'base/diskcache.h',
341 'base/event.cc',
342 'base/event.h',
343 'base/filelock.cc',
344 'base/filelock.h',
345 'base/fileutils.cc',
346 'base/fileutils.h',
347 'base/fileutils_mock.h',
348 'base/firewallsocketserver.cc',
349 'base/firewallsocketserver.h',
350 'base/flags.cc',
351 'base/flags.h',
352 'base/gunit_prod.h',
353 'base/helpers.cc',
354 'base/helpers.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000355 'base/httpbase.cc',
356 'base/httpbase.h',
357 'base/httpclient.cc',
358 'base/httpclient.h',
359 'base/httpcommon-inl.h',
360 'base/httpcommon.cc',
361 'base/httpcommon.h',
362 'base/httprequest.cc',
363 'base/httprequest.h',
364 'base/httpserver.cc',
365 'base/httpserver.h',
366 'base/ifaddrs-android.cc',
367 'base/ifaddrs-android.h',
368 'base/ipaddress.cc',
369 'base/ipaddress.h',
370 'base/json.cc',
371 'base/json.h',
372 'base/linked_ptr.h',
373 'base/linuxfdwalk.h',
374 'base/logging.cc',
375 'base/logging.h',
376 'base/maccocoathreadhelper.h',
377 'base/maccocoathreadhelper.mm',
378 'base/mathutils.h',
379 'base/md5.cc',
380 'base/md5.h',
381 'base/md5digest.h',
382 'base/messagedigest.cc',
383 'base/messagedigest.h',
384 'base/messagehandler.cc',
385 'base/messagehandler.h',
386 'base/messagequeue.cc',
387 'base/messagequeue.h',
388 'base/multipart.cc',
389 'base/multipart.h',
390 'base/natserver.cc',
391 'base/natserver.h',
392 'base/natsocketfactory.cc',
393 'base/natsocketfactory.h',
394 'base/nattypes.cc',
395 'base/nattypes.h',
396 'base/nethelpers.cc',
397 'base/nethelpers.h',
398 'base/network.cc',
399 'base/network.h',
400 'base/nssidentity.cc',
401 'base/nssidentity.h',
402 'base/nssstreamadapter.cc',
403 'base/nssstreamadapter.h',
404 'base/nullsocketserver.h',
405 'base/optionsfile.cc',
406 'base/optionsfile.h',
407 'base/pathutils.cc',
408 'base/pathutils.h',
409 'base/physicalsocketserver.cc',
410 'base/physicalsocketserver.h',
411 'base/profiler.cc',
412 'base/profiler.h',
413 'base/proxydetect.cc',
414 'base/proxydetect.h',
415 'base/proxyinfo.cc',
416 'base/proxyinfo.h',
417 'base/proxyserver.cc',
418 'base/proxyserver.h',
419 'base/ratelimiter.cc',
420 'base/ratelimiter.h',
421 'base/ratetracker.cc',
422 'base/ratetracker.h',
423 'base/refcount.h',
424 'base/referencecountedsingletonfactory.h',
425 'base/rollingaccumulator.h',
426 'base/scoped_autorelease_pool.h',
427 'base/scoped_ptr.h',
428 'base/scoped_ref_ptr.h',
sergeyu@chromium.org9cf037b2014-02-07 19:03:26 +0000429 'base/scopedptrcollection.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000430 'base/sec_buffer.h',
431 'base/sha1.cc',
432 'base/sha1.h',
433 'base/sha1digest.h',
434 'base/sharedexclusivelock.cc',
435 'base/sharedexclusivelock.h',
436 'base/signalthread.cc',
437 'base/signalthread.h',
438 'base/sigslot.h',
439 'base/sigslotrepeater.h',
440 'base/socket.h',
441 'base/socketadapters.cc',
442 'base/socketadapters.h',
443 'base/socketaddress.cc',
444 'base/socketaddress.h',
445 'base/socketaddresspair.cc',
446 'base/socketaddresspair.h',
447 'base/socketfactory.h',
448 'base/socketpool.cc',
449 'base/socketpool.h',
450 'base/socketserver.h',
451 'base/socketstream.cc',
452 'base/socketstream.h',
453 'base/ssladapter.cc',
454 'base/ssladapter.h',
455 'base/sslconfig.h',
sergeyu@chromium.org4b26e2e2014-01-15 23:15:54 +0000456 'base/sslfingerprint.cc',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000457 'base/sslfingerprint.h',
458 'base/sslidentity.cc',
459 'base/sslidentity.h',
460 'base/sslroots.h',
461 'base/sslsocketfactory.cc',
462 'base/sslsocketfactory.h',
463 'base/sslstreamadapter.cc',
464 'base/sslstreamadapter.h',
465 'base/sslstreamadapterhelper.cc',
466 'base/sslstreamadapterhelper.h',
467 'base/stream.cc',
468 'base/stream.h',
469 'base/stringdigest.h',
470 'base/stringencode.cc',
471 'base/stringencode.h',
472 'base/stringutils.cc',
473 'base/stringutils.h',
474 'base/systeminfo.cc',
475 'base/systeminfo.h',
476 'base/task.cc',
477 'base/task.h',
478 'base/taskparent.cc',
479 'base/taskparent.h',
480 'base/taskrunner.cc',
481 'base/taskrunner.h',
482 'base/testclient.cc',
483 'base/testclient.h',
484 'base/thread.cc',
485 'base/thread.h',
486 'base/timeutils.cc',
487 'base/timeutils.h',
488 'base/timing.cc',
489 'base/timing.h',
490 'base/transformadapter.cc',
491 'base/transformadapter.h',
492 'base/urlencode.cc',
493 'base/urlencode.h',
494 'base/versionparsing.cc',
495 'base/versionparsing.h',
496 'base/virtualsocketserver.cc',
497 'base/virtualsocketserver.h',
498 'base/window.h',
499 'base/windowpicker.h',
500 'base/windowpickerfactory.h',
501 'base/worker.cc',
502 'base/worker.h',
503 'xmllite/qname.cc',
504 'xmllite/qname.h',
505 'xmllite/xmlbuilder.cc',
506 'xmllite/xmlbuilder.h',
507 'xmllite/xmlconstants.cc',
508 'xmllite/xmlconstants.h',
509 'xmllite/xmlelement.cc',
510 'xmllite/xmlelement.h',
511 'xmllite/xmlnsstack.cc',
512 'xmllite/xmlnsstack.h',
513 'xmllite/xmlparser.cc',
514 'xmllite/xmlparser.h',
515 'xmllite/xmlprinter.cc',
516 'xmllite/xmlprinter.h',
517 'xmpp/asyncsocket.h',
518 'xmpp/chatroommodule.h',
519 'xmpp/chatroommoduleimpl.cc',
520 'xmpp/constants.cc',
521 'xmpp/constants.h',
522 'xmpp/discoitemsquerytask.cc',
523 'xmpp/discoitemsquerytask.h',
524 'xmpp/hangoutpubsubclient.cc',
525 'xmpp/hangoutpubsubclient.h',
526 'xmpp/iqtask.cc',
527 'xmpp/iqtask.h',
528 'xmpp/jid.cc',
529 'xmpp/jid.h',
530 'xmpp/module.h',
531 'xmpp/moduleimpl.cc',
532 'xmpp/moduleimpl.h',
533 'xmpp/mucroomconfigtask.cc',
534 'xmpp/mucroomconfigtask.h',
535 'xmpp/mucroomdiscoverytask.cc',
536 'xmpp/mucroomdiscoverytask.h',
537 'xmpp/mucroomlookuptask.cc',
538 'xmpp/mucroomlookuptask.h',
539 'xmpp/mucroomuniquehangoutidtask.cc',
540 'xmpp/mucroomuniquehangoutidtask.h',
541 'xmpp/pingtask.cc',
542 'xmpp/pingtask.h',
543 'xmpp/plainsaslhandler.h',
544 'xmpp/presenceouttask.cc',
545 'xmpp/presenceouttask.h',
546 'xmpp/presencereceivetask.cc',
547 'xmpp/presencereceivetask.h',
548 'xmpp/presencestatus.cc',
549 'xmpp/presencestatus.h',
550 'xmpp/prexmppauth.h',
551 'xmpp/pubsub_task.cc',
552 'xmpp/pubsub_task.h',
553 'xmpp/pubsubclient.cc',
554 'xmpp/pubsubclient.h',
mallinath@webrtc.org0dac5372014-01-28 06:58:42 +0000555 'xmpp/pubsubstateclient.cc',
556 'xmpp/pubsubstateclient.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000557 'xmpp/pubsubtasks.cc',
558 'xmpp/pubsubtasks.h',
559 'xmpp/receivetask.cc',
560 'xmpp/receivetask.h',
561 'xmpp/rostermodule.h',
562 'xmpp/rostermoduleimpl.cc',
563 'xmpp/rostermoduleimpl.h',
564 'xmpp/saslcookiemechanism.h',
565 'xmpp/saslhandler.h',
566 'xmpp/saslmechanism.cc',
567 'xmpp/saslmechanism.h',
568 'xmpp/saslplainmechanism.h',
569 'xmpp/xmppauth.cc',
570 'xmpp/xmppauth.h',
571 'xmpp/xmppclient.cc',
572 'xmpp/xmppclient.h',
573 'xmpp/xmppclientsettings.h',
574 'xmpp/xmppengine.h',
575 'xmpp/xmppengineimpl.cc',
576 'xmpp/xmppengineimpl.h',
577 'xmpp/xmppengineimpl_iq.cc',
578 'xmpp/xmpplogintask.cc',
579 'xmpp/xmpplogintask.h',
580 'xmpp/xmpppump.cc',
581 'xmpp/xmpppump.h',
582 'xmpp/xmppsocket.cc',
583 'xmpp/xmppsocket.h',
584 'xmpp/xmppstanzaparser.cc',
585 'xmpp/xmppstanzaparser.h',
586 'xmpp/xmpptask.cc',
587 'xmpp/xmpptask.h',
588 'xmpp/xmppthread.cc',
589 'xmpp/xmppthread.h',
590 ],
591 'conditions': [
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000592 ['OS=="android"', {
593 'sources': [
594 'base/ifaddrs-android.cc',
595 ],
596 'link_settings': {
597 'libraries': [
598 '-llog',
599 '-lGLESv2',
600 ],
601 },
602 }],
603 ['OS=="linux" or OS=="android"', {
604 'sources': [
605 'base/linux.cc',
606 'base/linux.h',
607 ],
608 }],
609 ['OS=="linux"', {
610 'sources': [
611 'base/dbus.cc',
612 'base/dbus.h',
613 'base/libdbusglibsymboltable.cc',
614 'base/libdbusglibsymboltable.h',
615 'base/linuxfdwalk.c',
616 'base/linuxwindowpicker.cc',
617 'base/linuxwindowpicker.h',
618 ],
619 'link_settings': {
620 'libraries': [
621 '-lcrypto',
622 '-ldl',
623 '-lrt',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000624 '-lXext',
625 '-lX11',
626 '-lXcomposite',
627 '-lXrender',
628 '<!@(<(pkg-config) --libs-only-l nss | sed -e "s/-lssl3//")',
629 ],
630 },
631 'cflags': [
632 '<!@(<(pkg-config) --cflags nss)',
633 ],
634 'ldflags': [
635 '<!@(<(pkg-config) --libs-only-L --libs-only-other nss)',
636 ],
637 }],
638 ['OS=="mac"', {
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000639 'sources': [
henrike@webrtc.org723d6832013-07-12 16:04:50 +0000640 'base/macasyncsocket.cc',
641 'base/macasyncsocket.h',
642 'base/maccocoasocketserver.h',
643 'base/maccocoasocketserver.mm',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000644 'base/macconversion.cc',
645 'base/macconversion.h',
henrike@webrtc.org723d6832013-07-12 16:04:50 +0000646 'base/macsocketserver.cc',
647 'base/macsocketserver.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000648 'base/macutils.cc',
649 'base/macutils.h',
650 'base/macwindowpicker.cc',
651 'base/macwindowpicker.h',
652 'base/scoped_autorelease_pool.mm',
653 ],
654 'link_settings': {
655 'libraries': [
fischman@webrtc.orge3de6b12013-08-26 19:31:21 +0000656 '$(SDKROOT)/usr/lib/libcrypto.dylib',
657 '$(SDKROOT)/usr/lib/libssl.dylib',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000658 ],
fischman@webrtc.orge3de6b12013-08-26 19:31:21 +0000659 },
660 'all_dependent_settings': {
661 'link_settings': {
662 'xcode_settings': {
663 'OTHER_LDFLAGS': [
664 '-framework Cocoa',
665 '-framework Foundation',
666 '-framework IOKit',
667 '-framework Security',
668 '-framework SystemConfiguration',
669 ],
670 },
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000671 },
672 },
fischman@webrtc.orge3de6b12013-08-26 19:31:21 +0000673 'conditions': [
674 ['target_arch=="ia32"', {
675 'all_dependent_settings': {
676 'link_settings': {
677 'xcode_settings': {
678 'OTHER_LDFLAGS': [
679 '-framework Carbon',
680 ],
681 },
682 },
683 },
684 }],
685 ],
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000686 }],
687 ['OS=="ios"', {
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000688 'sources': [
fischman@webrtc.orga86c42c2014-04-29 18:37:29 +0000689 'base/iosfilesystem.mm',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000690 'base/scoped_autorelease_pool.mm',
691 ],
fischman@webrtc.org1bc19542013-08-01 18:29:45 +0000692 'dependencies': [
693 '../net/third_party/nss/ssl.gyp:libssl',
694 ],
fischman@webrtc.orge3de6b12013-08-26 19:31:21 +0000695 'all_dependent_settings': {
696 'xcode_settings': {
697 'OTHER_LDFLAGS': [
698 '-framework Foundation',
fischman@webrtc.orge3de6b12013-08-26 19:31:21 +0000699 '-framework Security',
700 '-framework SystemConfiguration',
701 '-framework UIKit',
702 ],
703 },
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000704 },
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000705 }],
706 ['OS=="win"', {
707 'sources': [
708 'base/diskcache_win32.cc',
709 'base/diskcache_win32.h',
710 'base/schanneladapter.cc',
711 'base/schanneladapter.h',
712 'base/win32.cc',
713 'base/win32.h',
714 'base/win32filesystem.cc',
715 'base/win32filesystem.h',
716 'base/win32regkey.cc',
717 'base/win32regkey.h',
718 'base/win32securityerrors.cc',
719 'base/win32socketinit.cc',
720 'base/win32socketinit.h',
721 'base/win32socketserver.cc',
722 'base/win32socketserver.h',
723 'base/win32window.cc',
724 'base/win32window.h',
725 'base/win32windowpicker.cc',
726 'base/win32windowpicker.h',
727 'base/winfirewall.cc',
728 'base/winfirewall.h',
729 'base/winping.cc',
730 'base/winping.h',
731 ],
henrike@webrtc.org28654cb2013-07-22 21:07:49 +0000732 'link_settings': {
733 'libraries': [
734 '-lcrypt32.lib',
735 '-liphlpapi.lib',
736 '-lsecur32.lib',
737 ],
738 },
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000739 # Suppress warnings about WIN32_LEAN_AND_MEAN.
740 'msvs_disabled_warnings': [4005],
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000741 }],
742 ['os_posix==1', {
743 'sources': [
744 'base/latebindingsymboltable.cc',
745 'base/latebindingsymboltable.h',
746 'base/posix.cc',
747 'base/posix.h',
748 'base/unixfilesystem.cc',
749 'base/unixfilesystem.h',
750 ],
751 'conditions': [
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000752 ['OS!="ios"', {
753 'sources': [
wu@webrtc.orgb9a088b2014-02-13 23:18:49 +0000754 'base/openssl.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000755 'base/openssladapter.cc',
756 'base/openssladapter.h',
757 'base/openssldigest.cc',
758 'base/openssldigest.h',
759 'base/opensslidentity.cc',
760 'base/opensslidentity.h',
761 'base/opensslstreamadapter.cc',
762 'base/opensslstreamadapter.h',
763 ],
764 }],
765 ],
766 }],
767 ], # conditions
768 }, # target libjingle
769 {
770 'target_name': 'libjingle_sound',
771 'type': 'static_library',
772 'dependencies': [
773 'libjingle',
774 ],
775 'sources': [
776 'sound/automaticallychosensoundsystem.h',
777 'sound/nullsoundsystem.cc',
778 'sound/nullsoundsystem.h',
779 'sound/nullsoundsystemfactory.cc',
780 'sound/nullsoundsystemfactory.h',
781 'sound/platformsoundsystem.cc',
782 'sound/platformsoundsystem.h',
783 'sound/platformsoundsystemfactory.cc',
784 'sound/platformsoundsystemfactory.h',
785 'sound/sounddevicelocator.h',
786 'sound/soundinputstreaminterface.h',
787 'sound/soundoutputstreaminterface.h',
788 'sound/soundsystemfactory.h',
789 'sound/soundsysteminterface.cc',
790 'sound/soundsysteminterface.h',
791 'sound/soundsystemproxy.cc',
792 'sound/soundsystemproxy.h',
793 ],
794 'conditions': [
795 ['OS=="linux"', {
796 'sources': [
797 'sound/alsasoundsystem.cc',
798 'sound/alsasoundsystem.h',
799 'sound/alsasymboltable.cc',
800 'sound/alsasymboltable.h',
801 'sound/linuxsoundsystem.cc',
802 'sound/linuxsoundsystem.h',
803 'sound/pulseaudiosoundsystem.cc',
804 'sound/pulseaudiosoundsystem.h',
805 'sound/pulseaudiosymboltable.cc',
806 'sound/pulseaudiosymboltable.h',
807 ],
808 }],
809 ],
810 }, # target libjingle_sound
811 {
812 'target_name': 'libjingle_media',
813 'type': 'static_library',
jiayl@webrtc.orga576faf2014-01-29 17:45:53 +0000814 'include_dirs': [
815 # TODO(jiayl): move this into the direct_dependent_settings of
816 # usrsctp.gyp.
817 '<(DEPTH)/third_party/usrsctp',
818 ],
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000819 'dependencies': [
820 '<(DEPTH)/third_party/libyuv/libyuv.gyp:libyuv',
jiayl@webrtc.orga576faf2014-01-29 17:45:53 +0000821 '<(DEPTH)/third_party/usrsctp/usrsctp.gyp:usrsctplib',
henrike@webrtc.org9de257d2013-07-17 14:42:53 +0000822 '<(webrtc_root)/modules/modules.gyp:video_capture_module',
823 '<(webrtc_root)/modules/modules.gyp:video_render_module',
pbos@webrtc.orgb5a22b12014-05-13 11:07:01 +0000824 '<(webrtc_root)/webrtc.gyp:webrtc',
henrike@webrtc.org9de257d2013-07-17 14:42:53 +0000825 '<(webrtc_root)/voice_engine/voice_engine.gyp:voice_engine',
826 '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers',
andresp@webrtc.org581e2172014-05-14 13:12:45 +0000827 '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:field_trial_default',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000828 'libjingle',
829 'libjingle_sound',
830 ],
831 'direct_dependent_settings': {
832 'include_dirs': [
833 '<(DEPTH)/third_party/libyuv/include',
834 ],
835 },
836 'sources': [
837 'media/base/audioframe.h',
838 'media/base/audiorenderer.h',
839 'media/base/capturemanager.cc',
840 'media/base/capturemanager.h',
841 'media/base/capturerenderadapter.cc',
842 'media/base/capturerenderadapter.h',
843 'media/base/codec.cc',
844 'media/base/codec.h',
845 'media/base/constants.cc',
846 'media/base/constants.h',
847 'media/base/cpuid.cc',
848 'media/base/cpuid.h',
849 'media/base/cryptoparams.h',
850 'media/base/filemediaengine.cc',
851 'media/base/filemediaengine.h',
852 'media/base/hybriddataengine.h',
853 'media/base/hybridvideoengine.cc',
854 'media/base/hybridvideoengine.h',
855 'media/base/mediachannel.h',
856 'media/base/mediacommon.h',
857 'media/base/mediaengine.cc',
858 'media/base/mediaengine.h',
859 'media/base/mutedvideocapturer.cc',
860 'media/base/mutedvideocapturer.h',
861 'media/base/rtpdataengine.cc',
862 'media/base/rtpdataengine.h',
863 'media/base/rtpdump.cc',
864 'media/base/rtpdump.h',
865 'media/base/rtputils.cc',
866 'media/base/rtputils.h',
867 'media/base/screencastid.h',
868 'media/base/streamparams.cc',
869 'media/base/streamparams.h',
870 'media/base/videoadapter.cc',
871 'media/base/videoadapter.h',
872 'media/base/videocapturer.cc',
873 'media/base/videocapturer.h',
874 'media/base/videocommon.cc',
875 'media/base/videocommon.h',
876 'media/base/videoframe.cc',
877 'media/base/videoframe.h',
878 'media/base/videoprocessor.h',
879 'media/base/videorenderer.h',
880 'media/base/voiceprocessor.h',
mallinath@webrtc.orgecd622e2014-02-03 17:17:05 +0000881 'media/base/yuvframegenerator.cc',
882 'media/base/yuvframegenerator.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000883 'media/devices/deviceinfo.h',
884 'media/devices/devicemanager.cc',
885 'media/devices/devicemanager.h',
886 'media/devices/dummydevicemanager.h',
887 'media/devices/filevideocapturer.cc',
888 'media/devices/filevideocapturer.h',
889 'media/devices/videorendererfactory.h',
mallinath@webrtc.orgecd622e2014-02-03 17:17:05 +0000890 'media/devices/yuvframescapturer.cc',
891 'media/devices/yuvframescapturer.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000892 'media/other/linphonemediaengine.h',
jiayl@webrtc.orga576faf2014-01-29 17:45:53 +0000893 'media/sctp/sctpdataengine.cc',
894 'media/sctp/sctpdataengine.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000895 'media/webrtc/webrtccommon.h',
896 'media/webrtc/webrtcexport.h',
897 'media/webrtc/webrtcmediaengine.h',
898 'media/webrtc/webrtcpassthroughrender.cc',
899 'media/webrtc/webrtcpassthroughrender.h',
wu@webrtc.org9dba5252013-08-05 20:36:57 +0000900 'media/webrtc/webrtctexturevideoframe.cc',
901 'media/webrtc/webrtctexturevideoframe.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000902 'media/webrtc/webrtcvideocapturer.cc',
903 'media/webrtc/webrtcvideocapturer.h',
904 'media/webrtc/webrtcvideodecoderfactory.h',
905 'media/webrtc/webrtcvideoencoderfactory.h',
906 'media/webrtc/webrtcvideoengine.cc',
907 'media/webrtc/webrtcvideoengine.h',
pbos@webrtc.orgb5a22b12014-05-13 11:07:01 +0000908 'media/webrtc/webrtcvideoengine2.cc',
909 'media/webrtc/webrtcvideoengine2.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000910 'media/webrtc/webrtcvideoframe.cc',
911 'media/webrtc/webrtcvideoframe.h',
912 'media/webrtc/webrtcvie.h',
913 'media/webrtc/webrtcvoe.h',
914 'media/webrtc/webrtcvoiceengine.cc',
915 'media/webrtc/webrtcvoiceengine.h',
916 ],
917 'conditions': [
918 ['OS=="linux"', {
919 'sources': [
920 'media/devices/gtkvideorenderer.cc',
921 'media/devices/gtkvideorenderer.h',
922 'media/devices/libudevsymboltable.cc',
923 'media/devices/libudevsymboltable.h',
924 'media/devices/linuxdeviceinfo.cc',
925 'media/devices/linuxdevicemanager.cc',
926 'media/devices/linuxdevicemanager.h',
927 'media/devices/v4llookup.cc',
928 'media/devices/v4llookup.h',
929 ],
930 'include_dirs': [
931 'third_party/libudev'
932 ],
933 'cflags': [
934 '<!@(pkg-config --cflags gobject-2.0 gthread-2.0 gtk+-2.0)',
935 ],
936 'libraries': [
937 '-lrt',
938 '-lXext',
939 '-lX11',
940 ],
941 }],
942 ['OS=="win"', {
943 'sources': [
944 'media/devices/gdivideorenderer.cc',
945 'media/devices/gdivideorenderer.h',
946 'media/devices/win32deviceinfo.cc',
947 'media/devices/win32devicemanager.cc',
948 'media/devices/win32devicemanager.h',
949 ],
950 'msvs_settings': {
951 'VCLibrarianTool': {
952 'AdditionalDependencies': [
953 'd3d9.lib',
954 'gdi32.lib',
955 'strmiids.lib',
956 'winmm.lib',
957 ],
958 },
959 },
960 }],
961 ['OS=="mac"', {
962 'sources': [
963 'media/devices/macdeviceinfo.cc',
964 'media/devices/macdevicemanager.cc',
965 'media/devices/macdevicemanager.h',
966 'media/devices/macdevicemanagermm.mm',
967 ],
968 'conditions': [
fischman@webrtc.orge3de6b12013-08-26 19:31:21 +0000969 ['target_arch=="ia32"', {
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000970 'sources': [
971 'media/devices/carbonvideorenderer.cc',
972 'media/devices/carbonvideorenderer.h',
973 ],
fischman@webrtc.orge3de6b12013-08-26 19:31:21 +0000974 'link_settings': {
975 'xcode_settings': {
976 'OTHER_LDFLAGS': [
977 '-framework Carbon',
978 ],
979 },
980 },
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000981 }],
982 ],
983 'xcode_settings': {
984 'WARNING_CFLAGS': [
985 # TODO(ronghuawu): Update macdevicemanager.cc to stop using
986 # deprecated functions and remove this flag.
987 '-Wno-deprecated-declarations',
988 ],
989 },
990 'link_settings': {
991 'xcode_settings': {
992 'OTHER_LDFLAGS': [
993 '-framework Cocoa',
994 '-framework CoreAudio',
995 '-framework CoreVideo',
996 '-framework OpenGL',
997 '-framework QTKit',
998 ],
999 },
1000 },
1001 }],
1002 ['OS=="ios"', {
1003 'sources': [
henrike@webrtc.org28e20752013-07-10 00:45:36 +00001004 'media/devices/mobiledevicemanager.cc',
1005 ],
1006 'include_dirs': [
1007 # TODO(sjlee) Remove when vp8 is building for iOS. vp8 pulls in
1008 # libjpeg which pulls in libyuv which currently disabled.
1009 '../third_party/libyuv/include',
1010 ],
jiayl@webrtc.orga576faf2014-01-29 17:45:53 +00001011 'dependencies!': [
1012 '<(DEPTH)/third_party/usrsctp/usrsctp.gyp:usrsctplib',
1013 ],
1014 'sources!': [
1015 'media/sctp/sctpdataengine.cc',
1016 'media/sctp/sctpdataengine.h',
1017 ],
henrike@webrtc.org28e20752013-07-10 00:45:36 +00001018 }],
1019 ['OS=="android"', {
1020 'sources': [
1021 'media/devices/mobiledevicemanager.cc',
1022 ],
1023 }],
1024 ],
1025 }, # target libjingle_media
1026 {
1027 'target_name': 'libjingle_p2p',
1028 'type': 'static_library',
1029 'dependencies': [
1030 '<(DEPTH)/third_party/libsrtp/libsrtp.gyp:libsrtp',
1031 'libjingle',
1032 'libjingle_media',
1033 ],
1034 'include_dirs': [
henrike@webrtc.org723d6832013-07-12 16:04:50 +00001035 '<(DEPTH)/testing/gtest/include',
henrike@webrtc.org28e20752013-07-10 00:45:36 +00001036 ],
1037 'direct_dependent_settings': {
1038 'include_dirs': [
henrike@webrtc.org723d6832013-07-12 16:04:50 +00001039 '<(DEPTH)/testing/gtest/include',
henrike@webrtc.org28e20752013-07-10 00:45:36 +00001040 ],
1041 },
henrike@webrtc.org28e20752013-07-10 00:45:36 +00001042 'sources': [
1043 'p2p/base/asyncstuntcpsocket.cc',
1044 'p2p/base/asyncstuntcpsocket.h',
1045 'p2p/base/basicpacketsocketfactory.cc',
1046 'p2p/base/basicpacketsocketfactory.h',
1047 'p2p/base/candidate.h',
1048 'p2p/base/common.h',
1049 'p2p/base/constants.cc',
1050 'p2p/base/constants.h',
1051 'p2p/base/dtlstransportchannel.cc',
1052 'p2p/base/dtlstransportchannel.h',
1053 'p2p/base/p2ptransport.cc',
1054 'p2p/base/p2ptransport.h',
1055 'p2p/base/p2ptransportchannel.cc',
1056 'p2p/base/p2ptransportchannel.h',
1057 'p2p/base/packetsocketfactory.h',
1058 'p2p/base/parsing.cc',
1059 'p2p/base/parsing.h',
1060 'p2p/base/port.cc',
1061 'p2p/base/port.h',
1062 'p2p/base/portallocator.cc',
1063 'p2p/base/portallocator.h',
1064 'p2p/base/portallocatorsessionproxy.cc',
1065 'p2p/base/portallocatorsessionproxy.h',
1066 'p2p/base/portinterface.h',
1067 'p2p/base/portproxy.cc',
1068 'p2p/base/portproxy.h',
1069 'p2p/base/pseudotcp.cc',
1070 'p2p/base/pseudotcp.h',
1071 'p2p/base/rawtransport.cc',
1072 'p2p/base/rawtransport.h',
1073 'p2p/base/rawtransportchannel.cc',
1074 'p2p/base/rawtransportchannel.h',
1075 'p2p/base/relayport.cc',
1076 'p2p/base/relayport.h',
1077 'p2p/base/relayserver.cc',
1078 'p2p/base/relayserver.h',
1079 'p2p/base/session.cc',
1080 'p2p/base/session.h',
1081 'p2p/base/sessionclient.h',
1082 'p2p/base/sessiondescription.cc',
1083 'p2p/base/sessiondescription.h',
1084 'p2p/base/sessionid.h',
1085 'p2p/base/sessionmanager.cc',
1086 'p2p/base/sessionmanager.h',
1087 'p2p/base/sessionmessages.cc',
1088 'p2p/base/sessionmessages.h',
1089 'p2p/base/stun.cc',
1090 'p2p/base/stun.h',
1091 'p2p/base/stunport.cc',
1092 'p2p/base/stunport.h',
1093 'p2p/base/stunrequest.cc',
1094 'p2p/base/stunrequest.h',
1095 'p2p/base/stunserver.cc',
1096 'p2p/base/stunserver.h',
1097 'p2p/base/tcpport.cc',
1098 'p2p/base/tcpport.h',
1099 'p2p/base/transport.cc',
1100 'p2p/base/transport.h',
1101 'p2p/base/transportchannel.cc',
1102 'p2p/base/transportchannel.h',
1103 'p2p/base/transportchannelimpl.h',
1104 'p2p/base/transportchannelproxy.cc',
1105 'p2p/base/transportchannelproxy.h',
sergeyu@chromium.org492e3152013-08-24 00:06:43 +00001106 'p2p/base/transportdescription.cc',
henrike@webrtc.org28e20752013-07-10 00:45:36 +00001107 'p2p/base/transportdescription.h',
1108 'p2p/base/transportdescriptionfactory.cc',
1109 'p2p/base/transportdescriptionfactory.h',
1110 'p2p/base/transportinfo.h',
1111 'p2p/base/turnport.cc',
1112 'p2p/base/turnport.h',
1113 'p2p/base/turnserver.cc',
1114 'p2p/base/turnserver.h',
1115 'p2p/base/udpport.h',
1116 'p2p/client/autoportallocator.h',
1117 'p2p/client/basicportallocator.cc',
1118 'p2p/client/basicportallocator.h',
1119 'p2p/client/connectivitychecker.cc',
1120 'p2p/client/connectivitychecker.h',
1121 'p2p/client/httpportallocator.cc',
1122 'p2p/client/httpportallocator.h',
1123 'p2p/client/sessionmanagertask.h',
1124 'p2p/client/sessionsendtask.h',
1125 'p2p/client/socketmonitor.cc',
1126 'p2p/client/socketmonitor.h',
1127 'session/tunnel/pseudotcpchannel.cc',
1128 'session/tunnel/pseudotcpchannel.h',
1129 'session/tunnel/tunnelsessionclient.cc',
1130 'session/tunnel/tunnelsessionclient.h',
1131 'session/tunnel/securetunnelsessionclient.cc',
1132 'session/tunnel/securetunnelsessionclient.h',
1133 'session/media/audiomonitor.cc',
1134 'session/media/audiomonitor.h',
buildbot@webrtc.org5ee0f052014-05-05 20:18:08 +00001135 'session/media/bundlefilter.cc',
1136 'session/media/bundlefilter.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +00001137 'session/media/call.cc',
1138 'session/media/call.h',
1139 'session/media/channel.cc',
1140 'session/media/channel.h',
1141 'session/media/channelmanager.cc',
1142 'session/media/channelmanager.h',
1143 'session/media/currentspeakermonitor.cc',
1144 'session/media/currentspeakermonitor.h',
1145 'session/media/mediamessages.cc',
1146 'session/media/mediamessages.h',
1147 'session/media/mediamonitor.cc',
1148 'session/media/mediamonitor.h',
1149 'session/media/mediarecorder.cc',
1150 'session/media/mediarecorder.h',
1151 'session/media/mediasession.cc',
1152 'session/media/mediasession.h',
1153 'session/media/mediasessionclient.cc',
1154 'session/media/mediasessionclient.h',
1155 'session/media/mediasink.h',
1156 'session/media/rtcpmuxfilter.cc',
1157 'session/media/rtcpmuxfilter.h',
1158 'session/media/soundclip.cc',
1159 'session/media/soundclip.h',
1160 'session/media/srtpfilter.cc',
1161 'session/media/srtpfilter.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +00001162 'session/media/typingmonitor.cc',
1163 'session/media/typingmonitor.h',
1164 'session/media/voicechannel.h',
1165 ],
1166 }, # target libjingle_p2p
1167 {
1168 'target_name': 'libjingle_peerconnection',
1169 'type': 'static_library',
1170 'dependencies': [
1171 'libjingle',
1172 'libjingle_media',
1173 'libjingle_p2p',
1174 ],
1175 'sources': [
1176 'app/webrtc/audiotrack.cc',
1177 'app/webrtc/audiotrack.h',
1178 'app/webrtc/audiotrackrenderer.cc',
1179 'app/webrtc/audiotrackrenderer.h',
1180 'app/webrtc/datachannel.cc',
1181 'app/webrtc/datachannel.h',
1182 'app/webrtc/datachannelinterface.h',
1183 'app/webrtc/dtmfsender.cc',
1184 'app/webrtc/dtmfsender.h',
1185 'app/webrtc/dtmfsenderinterface.h',
1186 'app/webrtc/fakeportallocatorfactory.h',
1187 'app/webrtc/jsep.h',
1188 'app/webrtc/jsepicecandidate.cc',
1189 'app/webrtc/jsepicecandidate.h',
1190 'app/webrtc/jsepsessiondescription.cc',
1191 'app/webrtc/jsepsessiondescription.h',
1192 'app/webrtc/localaudiosource.cc',
1193 'app/webrtc/localaudiosource.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +00001194 'app/webrtc/mediaconstraintsinterface.cc',
1195 'app/webrtc/mediaconstraintsinterface.h',
1196 'app/webrtc/mediastream.cc',
1197 'app/webrtc/mediastream.h',
1198 'app/webrtc/mediastreamhandler.cc',
1199 'app/webrtc/mediastreamhandler.h',
1200 'app/webrtc/mediastreaminterface.h',
1201 'app/webrtc/mediastreamprovider.h',
1202 'app/webrtc/mediastreamproxy.h',
1203 'app/webrtc/mediastreamsignaling.cc',
1204 'app/webrtc/mediastreamsignaling.h',
1205 'app/webrtc/mediastreamtrack.h',
1206 'app/webrtc/mediastreamtrackproxy.h',
1207 'app/webrtc/notifier.h',
1208 'app/webrtc/peerconnection.cc',
1209 'app/webrtc/peerconnection.h',
1210 'app/webrtc/peerconnectionfactory.cc',
1211 'app/webrtc/peerconnectionfactory.h',
1212 'app/webrtc/peerconnectioninterface.h',
1213 'app/webrtc/peerconnectionproxy.h',
1214 'app/webrtc/portallocatorfactory.cc',
1215 'app/webrtc/portallocatorfactory.h',
1216 'app/webrtc/proxy.h',
wu@webrtc.orgb9a088b2014-02-13 23:18:49 +00001217 'app/webrtc/remoteaudiosource.cc',
1218 'app/webrtc/remoteaudiosource.h',
wu@webrtc.org967bfff2013-09-19 05:49:50 +00001219 'app/webrtc/remotevideocapturer.cc',
1220 'app/webrtc/remotevideocapturer.h',
henrika@webrtc.orgaebb1ad2014-01-14 10:00:58 +00001221 'app/webrtc/sctputils.cc',
1222 'app/webrtc/sctputils.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +00001223 'app/webrtc/statscollector.cc',
1224 'app/webrtc/statscollector.h',
1225 'app/webrtc/statstypes.h',
1226 'app/webrtc/streamcollection.h',
wu@webrtc.org967bfff2013-09-19 05:49:50 +00001227 'app/webrtc/videosource.cc',
1228 'app/webrtc/videosource.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +00001229 'app/webrtc/videosourceinterface.h',
1230 'app/webrtc/videosourceproxy.h',
1231 'app/webrtc/videotrack.cc',
1232 'app/webrtc/videotrack.h',
1233 'app/webrtc/videotrackrenderers.cc',
1234 'app/webrtc/videotrackrenderers.h',
1235 'app/webrtc/webrtcsdp.cc',
1236 'app/webrtc/webrtcsdp.h',
1237 'app/webrtc/webrtcsession.cc',
1238 'app/webrtc/webrtcsession.h',
wu@webrtc.org91053e72013-08-10 07:18:04 +00001239 'app/webrtc/webrtcsessiondescriptionfactory.cc',
1240 'app/webrtc/webrtcsessiondescriptionfactory.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +00001241 ],
1242 }, # target libjingle_peerconnection
1243 ],
1244}