3 # Copyright 2012, Google Inc.
5 # Redistribution and use in source and binary forms, with or without
6 # modification, are permitted provided that the following conditions are met:
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.
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.
29 'includes': ['build/common.gypi'],
31 ['os_posix == 1 and OS != "mac" and OS != "ios"', {
35 'pkg-config': '../../../build/linux/pkg-config-wrapper "<(sysroot)" "<(target_arch)"',
39 'pkg-config': 'pkg-config'
44 ['OS=="linux" or OS=="android"', {
47 'target_name': 'libjingle_peerconnection_so',
48 'type': 'loadable_module',
50 'libjingle_peerconnection',
51 '<(DEPTH)/third_party/icu/icu.gyp:icuuc',
54 'app/webrtc/java/jni/peerconnection_jni.cc'
57 '<(DEPTH)/third_party/libyuv/include',
65 '<(java_home)/include',
66 '<(java_home)/include/linux',
70 '<!@(pkg-config --libs-only-l gobject-2.0 gthread-2.0'
78 'target_name': 'libjingle_peerconnection_jar',
83 'java_src_dir': 'app/webrtc/java/src',
84 'webrtc_modules_dir': '<(webrtc_root)/modules',
85 'build_jar_log': '<(INTERMEDIATE_DIR)/build_jar.log',
86 'peerconnection_java_files': [
87 'app/webrtc/java/src/org/webrtc/AudioSource.java',
88 'app/webrtc/java/src/org/webrtc/AudioTrack.java',
89 'app/webrtc/java/src/org/webrtc/DataChannel.java',
90 'app/webrtc/java/src/org/webrtc/IceCandidate.java',
91 'app/webrtc/java/src/org/webrtc/Logging.java',
92 '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',
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': [
111 'app/webrtc/java/src/org/webrtc/MediaCodecVideoEncoder.java',
112 '<(webrtc_modules_dir)/audio_device/android/java/src/org/webrtc/voiceengine/AudioManagerAndroid.java',
113 '<(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',
118 '<(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',
122 'action_name': 'create_jar',
124 'build/build_jar.sh',
128 '<(PRODUCT_DIR)/libjingle_peerconnection.jar',
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',
138 'java_files': ['<@(peerconnection_java_files)'],
139 'build_classpath': '<(java_src_dir)',
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; } }'
155 'libjingle_peerconnection_so',
160 ['OS=="ios" or (OS=="mac" and target_arch!="ia32" and mac_sdk>="10.7")', {
161 # The >= 10.7 above is required for ARC.
164 'target_name': 'libjingle_peerconnection_objc',
165 'type': 'static_library',
167 'libjingle_peerconnection',
170 'app/webrtc/objc/RTCAudioTrack+Internal.h',
171 'app/webrtc/objc/RTCAudioTrack.mm',
172 'app/webrtc/objc/RTCDataChannel+Internal.h',
173 'app/webrtc/objc/RTCDataChannel.mm',
174 'app/webrtc/objc/RTCEnumConverter.h',
175 'app/webrtc/objc/RTCEnumConverter.mm',
176 'app/webrtc/objc/RTCI420Frame.mm',
177 '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',
181 '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',
199 'app/webrtc/objc/RTCStatsReport+Internal.h',
200 'app/webrtc/objc/RTCStatsReport.mm',
201 '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',
211 'app/webrtc/objc/public/RTCDataChannel.h',
212 'app/webrtc/objc/public/RTCI420Frame.h',
213 'app/webrtc/objc/public/RTCICECandidate.h',
214 'app/webrtc/objc/public/RTCICEServer.h',
215 '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',
224 'app/webrtc/objc/public/RTCSessionDescriptionDelegate.h',
225 'app/webrtc/objc/public/RTCStatsDelegate.h',
226 'app/webrtc/objc/public/RTCStatsReport.h',
227 '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',
234 'direct_dependent_settings': {
236 '<(DEPTH)/talk/app/webrtc/objc/public',
240 '<(DEPTH)/talk/app/webrtc',
241 '<(DEPTH)/talk/app/webrtc/objc',
242 '<(DEPTH)/talk/app/webrtc/objc/public',
246 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
251 'CLANG_ENABLE_OBJC_ARC': 'YES',
252 # 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',
259 # Need to build against 10.7 framework for full ARC support
261 'MACOSX_DEPLOYMENT_TARGET' : '10.7',
265 }, # target libjingle_peerconnection_objc
272 'target_name': 'libjingle',
273 'type': 'static_library',
275 '<(DEPTH)/third_party/expat/expat.gyp:expat',
276 '<(DEPTH)/third_party/jsoncpp/jsoncpp.gyp:jsoncpp',
278 'export_dependent_settings': [
279 '<(DEPTH)/third_party/expat/expat.gyp:expat',
280 '<(DEPTH)/third_party/jsoncpp/jsoncpp.gyp:jsoncpp',
285 'base/asynchttprequest.cc',
286 'base/asynchttprequest.h',
287 'base/asyncinvoker.cc',
288 'base/asyncinvoker.h',
289 'base/asyncpacketsocket.h',
290 'base/asyncresolverinterface.h',
291 'base/asyncsocket.cc',
292 'base/asyncsocket.h',
293 'base/asynctcpsocket.cc',
294 'base/asynctcpsocket.h',
295 'base/asyncudpsocket.cc',
296 'base/asyncudpsocket.h',
298 'base/autodetectproxy.cc',
299 'base/autodetectproxy.h',
300 'base/bandwidthsmoother.cc',
301 'base/bandwidthsmoother.h',
308 'base/bytebuffer.cc',
316 'base/constructormagic.h',
317 'base/cpumonitor.cc',
321 'base/criticalsection.h',
322 'base/cryptstring.h',
331 'base/fileutils_mock.h',
332 'base/firewallsocketserver.cc',
333 'base/firewallsocketserver.h',
341 'base/httpclient.cc',
343 'base/httpcommon-inl.h',
344 'base/httpcommon.cc',
346 'base/httprequest.cc',
347 'base/httprequest.h',
348 'base/httpserver.cc',
350 'base/ifaddrs-android.cc',
351 'base/ifaddrs-android.h',
357 'base/linuxfdwalk.h',
360 'base/maccocoathreadhelper.h',
361 'base/maccocoathreadhelper.mm',
366 'base/messagedigest.cc',
367 'base/messagedigest.h',
368 'base/messagehandler.cc',
369 'base/messagehandler.h',
370 'base/messagequeue.cc',
371 'base/messagequeue.h',
376 'base/natsocketfactory.cc',
377 'base/natsocketfactory.h',
380 'base/nethelpers.cc',
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',
393 'base/physicalsocketserver.cc',
394 'base/physicalsocketserver.h',
397 'base/proxydetect.cc',
398 'base/proxydetect.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',
408 'base/referencecountedsingletonfactory.h',
409 'base/rollingaccumulator.h',
410 'base/scoped_autorelease_pool.h',
412 'base/scoped_ref_ptr.h',
413 'base/scopedptrcollection.h',
418 'base/sharedexclusivelock.cc',
419 'base/sharedexclusivelock.h',
420 'base/signalthread.cc',
421 'base/signalthread.h',
423 'base/sigslotrepeater.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',
434 'base/socketserver.h',
435 'base/socketstream.cc',
436 'base/socketstream.h',
437 'base/ssladapter.cc',
440 'base/sslfingerprint.cc',
441 'base/sslfingerprint.h',
442 'base/sslidentity.cc',
443 'base/sslidentity.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',
453 'base/stringdigest.h',
454 'base/stringencode.cc',
455 'base/stringencode.h',
456 'base/stringutils.cc',
457 'base/stringutils.h',
458 'base/systeminfo.cc',
462 'base/taskparent.cc',
464 'base/taskrunner.cc',
466 'base/testclient.cc',
474 'base/transformadapter.cc',
475 'base/transformadapter.h',
478 'base/versionparsing.cc',
479 'base/versionparsing.h',
480 'base/virtualsocketserver.cc',
481 'base/virtualsocketserver.h',
483 'base/windowpicker.h',
484 'base/windowpickerfactory.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',
506 'xmpp/discoitemsquerytask.cc',
507 'xmpp/discoitemsquerytask.h',
508 'xmpp/hangoutpubsubclient.cc',
509 'xmpp/hangoutpubsubclient.h',
515 'xmpp/moduleimpl.cc',
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',
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',
539 'xmpp/pubsubstateclient.cc',
540 'xmpp/pubsubstateclient.h',
541 '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',
555 'xmpp/xmppclient.cc',
557 'xmpp/xmppclientsettings.h',
559 'xmpp/xmppengineimpl.cc',
560 'xmpp/xmppengineimpl.h',
561 'xmpp/xmppengineimpl_iq.cc',
562 'xmpp/xmpplogintask.cc',
563 'xmpp/xmpplogintask.h',
566 'xmpp/xmppsocket.cc',
568 'xmpp/xmppstanzaparser.cc',
569 'xmpp/xmppstanzaparser.h',
572 'xmpp/xmppthread.cc',
578 'base/ifaddrs-android.cc',
587 ['OS=="linux" or OS=="android"', {
597 'base/libdbusglibsymboltable.cc',
598 'base/libdbusglibsymboltable.h',
599 'base/linuxfdwalk.c',
600 'base/linuxwindowpicker.cc',
601 'base/linuxwindowpicker.h',
612 '<!@(<(pkg-config) --libs-only-l nss | sed -e "s/-lssl3//")',
616 '<!@(<(pkg-config) --cflags nss)',
619 '<!@(<(pkg-config) --libs-only-L --libs-only-other nss)',
624 'base/macasyncsocket.cc',
625 'base/macasyncsocket.h',
626 'base/maccocoasocketserver.h',
627 'base/maccocoasocketserver.mm',
628 'base/macconversion.cc',
629 'base/macconversion.h',
630 'base/macsocketserver.cc',
631 'base/macsocketserver.h',
634 'base/macwindowpicker.cc',
635 'base/macwindowpicker.h',
636 'base/scoped_autorelease_pool.mm',
640 '$(SDKROOT)/usr/lib/libcrypto.dylib',
641 '$(SDKROOT)/usr/lib/libssl.dylib',
644 'all_dependent_settings': {
649 '-framework Foundation',
651 '-framework Security',
652 '-framework SystemConfiguration',
658 ['target_arch=="ia32"', {
659 'all_dependent_settings': {
673 'base/iosfilesystem.mm',
674 'base/scoped_autorelease_pool.mm',
677 '../net/third_party/nss/ssl.gyp:libssl',
679 'all_dependent_settings': {
682 '-framework Foundation',
684 '-framework Security',
685 '-framework SystemConfiguration',
693 'base/diskcache_win32.cc',
694 'base/diskcache_win32.h',
695 'base/schanneladapter.cc',
696 'base/schanneladapter.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',
724 # Suppress warnings about WIN32_LEAN_AND_MEAN.
725 'msvs_disabled_warnings': [4005],
729 'base/latebindingsymboltable.cc',
730 'base/latebindingsymboltable.h',
733 'base/unixfilesystem.cc',
734 'base/unixfilesystem.h',
740 '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',
753 }, # target libjingle
755 'target_name': 'libjingle_sound',
756 'type': 'static_library',
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',
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',
795 }, # target libjingle_sound
797 'target_name': 'libjingle_media',
798 'type': 'static_library',
800 # TODO(jiayl): move this into the direct_dependent_settings of
802 '<(DEPTH)/third_party/usrsctp',
805 '<(DEPTH)/third_party/libyuv/libyuv.gyp:libyuv',
806 '<(DEPTH)/third_party/usrsctp/usrsctp.gyp:usrsctplib',
807 '<(webrtc_root)/modules/modules.gyp:video_capture_module',
808 '<(webrtc_root)/modules/modules.gyp:video_render_module',
809 '<(webrtc_root)/video_engine/video_engine.gyp:video_engine_core',
810 '<(webrtc_root)/voice_engine/voice_engine.gyp:voice_engine',
811 '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers',
815 'direct_dependent_settings': {
817 '<(DEPTH)/third_party/libyuv/include',
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',
865 'media/base/yuvframegenerator.cc',
866 'media/base/yuvframegenerator.h',
867 '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',
874 'media/devices/yuvframescapturer.cc',
875 'media/devices/yuvframescapturer.h',
876 'media/other/linphonemediaengine.h',
877 'media/sctp/sctpdataengine.cc',
878 'media/sctp/sctpdataengine.h',
879 'media/webrtc/webrtccommon.h',
880 'media/webrtc/webrtcexport.h',
881 'media/webrtc/webrtcmediaengine.h',
882 'media/webrtc/webrtcpassthroughrender.cc',
883 'media/webrtc/webrtcpassthroughrender.h',
884 'media/webrtc/webrtctexturevideoframe.cc',
885 'media/webrtc/webrtctexturevideoframe.h',
886 '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',
892 'media/webrtc/webrtcvideoframe.cc',
893 'media/webrtc/webrtcvideoframe.h',
894 'media/webrtc/webrtcvie.h',
895 'media/webrtc/webrtcvoe.h',
896 'media/webrtc/webrtcvoiceengine.cc',
897 'media/webrtc/webrtcvoiceengine.h',
902 'media/devices/gtkvideorenderer.cc',
903 'media/devices/gtkvideorenderer.h',
904 'media/devices/libudevsymboltable.cc',
905 'media/devices/libudevsymboltable.h',
906 'media/devices/linuxdeviceinfo.cc',
907 'media/devices/linuxdevicemanager.cc',
908 'media/devices/linuxdevicemanager.h',
909 'media/devices/v4llookup.cc',
910 'media/devices/v4llookup.h',
913 'third_party/libudev'
916 '<!@(pkg-config --cflags gobject-2.0 gthread-2.0 gtk+-2.0)',
926 'media/devices/gdivideorenderer.cc',
927 'media/devices/gdivideorenderer.h',
928 'media/devices/win32deviceinfo.cc',
929 'media/devices/win32devicemanager.cc',
930 'media/devices/win32devicemanager.h',
934 'AdditionalDependencies': [
945 'media/devices/macdeviceinfo.cc',
946 'media/devices/macdevicemanager.cc',
947 'media/devices/macdevicemanager.h',
948 'media/devices/macdevicemanagermm.mm',
951 ['target_arch=="ia32"', {
953 'media/devices/carbonvideorenderer.cc',
954 'media/devices/carbonvideorenderer.h',
967 # TODO(ronghuawu): Update macdevicemanager.cc to stop using
968 # deprecated functions and remove this flag.
969 '-Wno-deprecated-declarations',
976 '-framework CoreAudio',
977 '-framework CoreVideo',
986 'media/devices/mobiledevicemanager.cc',
989 # TODO(sjlee) Remove when vp8 is building for iOS. vp8 pulls in
990 # libjpeg which pulls in libyuv which currently disabled.
991 '../third_party/libyuv/include',
994 '<(DEPTH)/third_party/usrsctp/usrsctp.gyp:usrsctplib',
997 'media/sctp/sctpdataengine.cc',
998 'media/sctp/sctpdataengine.h',
1003 'media/devices/mobiledevicemanager.cc',
1007 }, # target libjingle_media
1009 'target_name': 'libjingle_p2p',
1010 'type': 'static_library',
1012 '<(DEPTH)/third_party/libsrtp/libsrtp.gyp:libsrtp',
1017 '<(DEPTH)/testing/gtest/include',
1019 'direct_dependent_settings': {
1021 '<(DEPTH)/testing/gtest/include',
1025 'p2p/base/asyncstuntcpsocket.cc',
1026 'p2p/base/asyncstuntcpsocket.h',
1027 'p2p/base/basicpacketsocketfactory.cc',
1028 'p2p/base/basicpacketsocketfactory.h',
1029 'p2p/base/candidate.h',
1030 'p2p/base/common.h',
1031 'p2p/base/constants.cc',
1032 'p2p/base/constants.h',
1033 'p2p/base/dtlstransportchannel.cc',
1034 'p2p/base/dtlstransportchannel.h',
1035 'p2p/base/p2ptransport.cc',
1036 'p2p/base/p2ptransport.h',
1037 'p2p/base/p2ptransportchannel.cc',
1038 'p2p/base/p2ptransportchannel.h',
1039 'p2p/base/packetsocketfactory.h',
1040 'p2p/base/parsing.cc',
1041 'p2p/base/parsing.h',
1044 'p2p/base/portallocator.cc',
1045 'p2p/base/portallocator.h',
1046 'p2p/base/portallocatorsessionproxy.cc',
1047 'p2p/base/portallocatorsessionproxy.h',
1048 'p2p/base/portinterface.h',
1049 'p2p/base/portproxy.cc',
1050 'p2p/base/portproxy.h',
1051 'p2p/base/pseudotcp.cc',
1052 'p2p/base/pseudotcp.h',
1053 'p2p/base/rawtransport.cc',
1054 'p2p/base/rawtransport.h',
1055 'p2p/base/rawtransportchannel.cc',
1056 'p2p/base/rawtransportchannel.h',
1057 'p2p/base/relayport.cc',
1058 'p2p/base/relayport.h',
1059 'p2p/base/relayserver.cc',
1060 'p2p/base/relayserver.h',
1061 'p2p/base/session.cc',
1062 'p2p/base/session.h',
1063 'p2p/base/sessionclient.h',
1064 'p2p/base/sessiondescription.cc',
1065 'p2p/base/sessiondescription.h',
1066 'p2p/base/sessionid.h',
1067 'p2p/base/sessionmanager.cc',
1068 'p2p/base/sessionmanager.h',
1069 'p2p/base/sessionmessages.cc',
1070 'p2p/base/sessionmessages.h',
1073 'p2p/base/stunport.cc',
1074 'p2p/base/stunport.h',
1075 'p2p/base/stunrequest.cc',
1076 'p2p/base/stunrequest.h',
1077 'p2p/base/stunserver.cc',
1078 'p2p/base/stunserver.h',
1079 'p2p/base/tcpport.cc',
1080 'p2p/base/tcpport.h',
1081 'p2p/base/transport.cc',
1082 'p2p/base/transport.h',
1083 'p2p/base/transportchannel.cc',
1084 'p2p/base/transportchannel.h',
1085 'p2p/base/transportchannelimpl.h',
1086 'p2p/base/transportchannelproxy.cc',
1087 'p2p/base/transportchannelproxy.h',
1088 'p2p/base/transportdescription.cc',
1089 'p2p/base/transportdescription.h',
1090 'p2p/base/transportdescriptionfactory.cc',
1091 'p2p/base/transportdescriptionfactory.h',
1092 'p2p/base/transportinfo.h',
1093 'p2p/base/turnport.cc',
1094 'p2p/base/turnport.h',
1095 'p2p/base/turnserver.cc',
1096 'p2p/base/turnserver.h',
1097 'p2p/base/udpport.h',
1098 'p2p/client/autoportallocator.h',
1099 'p2p/client/basicportallocator.cc',
1100 'p2p/client/basicportallocator.h',
1101 'p2p/client/connectivitychecker.cc',
1102 'p2p/client/connectivitychecker.h',
1103 'p2p/client/httpportallocator.cc',
1104 'p2p/client/httpportallocator.h',
1105 'p2p/client/sessionmanagertask.h',
1106 'p2p/client/sessionsendtask.h',
1107 'p2p/client/socketmonitor.cc',
1108 'p2p/client/socketmonitor.h',
1109 'session/tunnel/pseudotcpchannel.cc',
1110 'session/tunnel/pseudotcpchannel.h',
1111 'session/tunnel/tunnelsessionclient.cc',
1112 'session/tunnel/tunnelsessionclient.h',
1113 'session/tunnel/securetunnelsessionclient.cc',
1114 'session/tunnel/securetunnelsessionclient.h',
1115 'session/media/audiomonitor.cc',
1116 'session/media/audiomonitor.h',
1117 'session/media/bundlefilter.cc',
1118 'session/media/bundlefilter.h',
1119 'session/media/call.cc',
1120 'session/media/call.h',
1121 'session/media/channel.cc',
1122 'session/media/channel.h',
1123 'session/media/channelmanager.cc',
1124 'session/media/channelmanager.h',
1125 'session/media/currentspeakermonitor.cc',
1126 'session/media/currentspeakermonitor.h',
1127 'session/media/mediamessages.cc',
1128 'session/media/mediamessages.h',
1129 'session/media/mediamonitor.cc',
1130 'session/media/mediamonitor.h',
1131 'session/media/mediarecorder.cc',
1132 'session/media/mediarecorder.h',
1133 'session/media/mediasession.cc',
1134 'session/media/mediasession.h',
1135 'session/media/mediasessionclient.cc',
1136 'session/media/mediasessionclient.h',
1137 'session/media/mediasink.h',
1138 'session/media/rtcpmuxfilter.cc',
1139 'session/media/rtcpmuxfilter.h',
1140 'session/media/soundclip.cc',
1141 'session/media/soundclip.h',
1142 'session/media/srtpfilter.cc',
1143 'session/media/srtpfilter.h',
1144 'session/media/typingmonitor.cc',
1145 'session/media/typingmonitor.h',
1146 'session/media/voicechannel.h',
1148 }, # target libjingle_p2p
1150 'target_name': 'libjingle_peerconnection',
1151 'type': 'static_library',
1158 'app/webrtc/audiotrack.cc',
1159 'app/webrtc/audiotrack.h',
1160 'app/webrtc/audiotrackrenderer.cc',
1161 'app/webrtc/audiotrackrenderer.h',
1162 'app/webrtc/datachannel.cc',
1163 'app/webrtc/datachannel.h',
1164 'app/webrtc/datachannelinterface.h',
1165 'app/webrtc/dtmfsender.cc',
1166 'app/webrtc/dtmfsender.h',
1167 'app/webrtc/dtmfsenderinterface.h',
1168 'app/webrtc/fakeportallocatorfactory.h',
1169 'app/webrtc/jsep.h',
1170 'app/webrtc/jsepicecandidate.cc',
1171 'app/webrtc/jsepicecandidate.h',
1172 'app/webrtc/jsepsessiondescription.cc',
1173 'app/webrtc/jsepsessiondescription.h',
1174 'app/webrtc/localaudiosource.cc',
1175 'app/webrtc/localaudiosource.h',
1176 'app/webrtc/mediaconstraintsinterface.cc',
1177 'app/webrtc/mediaconstraintsinterface.h',
1178 'app/webrtc/mediastream.cc',
1179 'app/webrtc/mediastream.h',
1180 'app/webrtc/mediastreamhandler.cc',
1181 'app/webrtc/mediastreamhandler.h',
1182 'app/webrtc/mediastreaminterface.h',
1183 'app/webrtc/mediastreamprovider.h',
1184 'app/webrtc/mediastreamproxy.h',
1185 'app/webrtc/mediastreamsignaling.cc',
1186 'app/webrtc/mediastreamsignaling.h',
1187 'app/webrtc/mediastreamtrack.h',
1188 'app/webrtc/mediastreamtrackproxy.h',
1189 'app/webrtc/notifier.h',
1190 'app/webrtc/peerconnection.cc',
1191 'app/webrtc/peerconnection.h',
1192 'app/webrtc/peerconnectionfactory.cc',
1193 'app/webrtc/peerconnectionfactory.h',
1194 'app/webrtc/peerconnectioninterface.h',
1195 'app/webrtc/peerconnectionproxy.h',
1196 'app/webrtc/portallocatorfactory.cc',
1197 'app/webrtc/portallocatorfactory.h',
1198 'app/webrtc/proxy.h',
1199 'app/webrtc/remoteaudiosource.cc',
1200 'app/webrtc/remoteaudiosource.h',
1201 'app/webrtc/remotevideocapturer.cc',
1202 'app/webrtc/remotevideocapturer.h',
1203 'app/webrtc/sctputils.cc',
1204 'app/webrtc/sctputils.h',
1205 'app/webrtc/statscollector.cc',
1206 'app/webrtc/statscollector.h',
1207 'app/webrtc/statstypes.h',
1208 'app/webrtc/streamcollection.h',
1209 'app/webrtc/videosource.cc',
1210 'app/webrtc/videosource.h',
1211 'app/webrtc/videosourceinterface.h',
1212 'app/webrtc/videosourceproxy.h',
1213 'app/webrtc/videotrack.cc',
1214 'app/webrtc/videotrack.h',
1215 'app/webrtc/videotrackrenderers.cc',
1216 'app/webrtc/videotrackrenderers.h',
1217 'app/webrtc/webrtcsdp.cc',
1218 'app/webrtc/webrtcsdp.h',
1219 'app/webrtc/webrtcsession.cc',
1220 'app/webrtc/webrtcsession.h',
1221 'app/webrtc/webrtcsessiondescriptionfactory.cc',
1222 'app/webrtc/webrtcsessiondescriptionfactory.h',
1224 }, # target libjingle_peerconnection