Home | History | Annotate | Download | only in talk
      1 #
      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'],
     30   '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     }],
     44     ['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           ],
     56           'include_dirs': [
     57             '<(DEPTH)/third_party/libyuv/include',
     58           ],
     59           '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',
     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',
    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': [
    111                   'app/webrtc/java/android/org/webrtc/VideoRendererGui.java',
    112                   'app/webrtc/java/src/org/webrtc/MediaCodecVideoEncoder.java',
    113                   '<(webrtc_modules_dir)/audio_device/android/java/src/org/webrtc/voiceengine/AudioManagerAndroid.java',
    114                   '<(webrtc_modules_dir)/video_capture/android/java/src/org/webrtc/videoengine/VideoCaptureAndroid.java',
    115                   '<(webrtc_modules_dir)/video_capture/android/java/src/org/webrtc/videoengine/VideoCaptureDeviceInfoAndroid.java',
    116                   '<(webrtc_modules_dir)/video_render/android/java/src/org/webrtc/videoengine/ViEAndroidGLES20.java',
    117                   '<(webrtc_modules_dir)/video_render/android/java/src/org/webrtc/videoengine/ViERenderer.java',
    118                   '<(webrtc_modules_dir)/video_render/android/java/src/org/webrtc/videoengine/ViESurfaceRenderer.java',
    119                   '<(webrtc_modules_dir)/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioRecord.java',
    120                   '<(webrtc_modules_dir)/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioTrack.java',
    121                 ],
    122               },
    123               'action_name': 'create_jar',
    124               'inputs': [
    125                 'build/build_jar.sh',
    126                 '<@(java_files)',
    127               ],
    128               'outputs': [
    129                 '<(PRODUCT_DIR)/libjingle_peerconnection.jar',
    130               ],
    131               'conditions': [
    132                 ['OS=="android"', {
    133                   'variables': {
    134                     'java_files': ['<@(peerconnection_java_files)', '<@(android_java_files)'],
    135                     'build_classpath': '<(java_src_dir):<(DEPTH)/third_party/android_tools/sdk/platforms/android-<(android_sdk_version)/android.jar',
    136                   },
    137                 }, {
    138                   'variables': {
    139                     'java_files': ['<@(peerconnection_java_files)'],
    140                     'build_classpath': '<(java_src_dir)',
    141                   },
    142                 }],
    143               ],
    144               'action': [
    145                 'bash', '-ec',
    146                 'mkdir -p <(INTERMEDIATE_DIR) && '
    147                 '{ build/build_jar.sh <(java_home) <@(_outputs) '
    148                 '      <(INTERMEDIATE_DIR)/build_jar.tmp '
    149                 '      <(build_classpath) <@(java_files) '
    150                 '      > <(build_jar_log) 2>&1 || '
    151                 '  { cat <(build_jar_log) ; exit 1; } }'
    152               ],
    153             },
    154           ],
    155           'dependencies': [
    156             'libjingle_peerconnection_so',
    157           ],
    158         },
    159       ],
    160     }],
    161     ['OS=="ios" or (OS=="mac" and target_arch!="ia32" and mac_sdk>="10.7")', {
    162       # The >= 10.7 above is required for ARC.
    163       'targets': [
    164         {
    165           'target_name': 'libjingle_peerconnection_objc',
    166           'type': 'static_library',
    167           'dependencies': [
    168             'libjingle_peerconnection',
    169           ],
    170           'sources': [
    171             'app/webrtc/objc/RTCAudioTrack+Internal.h',
    172             'app/webrtc/objc/RTCAudioTrack.mm',
    173             'app/webrtc/objc/RTCDataChannel+Internal.h',
    174             'app/webrtc/objc/RTCDataChannel.mm',
    175             'app/webrtc/objc/RTCEnumConverter.h',
    176             'app/webrtc/objc/RTCEnumConverter.mm',
    177             'app/webrtc/objc/RTCI420Frame+Internal.h',
    178             'app/webrtc/objc/RTCI420Frame.mm',
    179             'app/webrtc/objc/RTCICECandidate+Internal.h',
    180             'app/webrtc/objc/RTCICECandidate.mm',
    181             'app/webrtc/objc/RTCICEServer+Internal.h',
    182             'app/webrtc/objc/RTCICEServer.mm',
    183             'app/webrtc/objc/RTCMediaConstraints+Internal.h',
    184             'app/webrtc/objc/RTCMediaConstraints.mm',
    185             'app/webrtc/objc/RTCMediaConstraintsNative.cc',
    186             'app/webrtc/objc/RTCMediaConstraintsNative.h',
    187             'app/webrtc/objc/RTCMediaSource+Internal.h',
    188             'app/webrtc/objc/RTCMediaSource.mm',
    189             'app/webrtc/objc/RTCMediaStream+Internal.h',
    190             'app/webrtc/objc/RTCMediaStream.mm',
    191             'app/webrtc/objc/RTCMediaStreamTrack+Internal.h',
    192             'app/webrtc/objc/RTCMediaStreamTrack.mm',
    193             'app/webrtc/objc/RTCOpenGLVideoRenderer.mm',
    194             'app/webrtc/objc/RTCPair.m',
    195             'app/webrtc/objc/RTCPeerConnection+Internal.h',
    196             'app/webrtc/objc/RTCPeerConnection.mm',
    197             'app/webrtc/objc/RTCPeerConnectionFactory.mm',
    198             'app/webrtc/objc/RTCPeerConnectionObserver.h',
    199             'app/webrtc/objc/RTCPeerConnectionObserver.mm',
    200             'app/webrtc/objc/RTCSessionDescription+Internal.h',
    201             'app/webrtc/objc/RTCSessionDescription.mm',
    202             'app/webrtc/objc/RTCStatsReport+Internal.h',
    203             'app/webrtc/objc/RTCStatsReport.mm',
    204             'app/webrtc/objc/RTCVideoCapturer+Internal.h',
    205             'app/webrtc/objc/RTCVideoCapturer.mm',
    206             'app/webrtc/objc/RTCVideoRenderer+Internal.h',
    207             'app/webrtc/objc/RTCVideoRenderer.mm',
    208             'app/webrtc/objc/RTCVideoSource+Internal.h',
    209             'app/webrtc/objc/RTCVideoSource.mm',
    210             'app/webrtc/objc/RTCVideoTrack+Internal.h',
    211             'app/webrtc/objc/RTCVideoTrack.mm',
    212             'app/webrtc/objc/public/RTCAudioSource.h',
    213             'app/webrtc/objc/public/RTCAudioTrack.h',
    214             'app/webrtc/objc/public/RTCDataChannel.h',
    215             'app/webrtc/objc/public/RTCI420Frame.h',
    216             'app/webrtc/objc/public/RTCICECandidate.h',
    217             'app/webrtc/objc/public/RTCICEServer.h',
    218             'app/webrtc/objc/public/RTCMediaConstraints.h',
    219             'app/webrtc/objc/public/RTCMediaSource.h',
    220             'app/webrtc/objc/public/RTCMediaStream.h',
    221             'app/webrtc/objc/public/RTCMediaStreamTrack.h',
    222             'app/webrtc/objc/public/RTCOpenGLVideoRenderer.h',
    223             'app/webrtc/objc/public/RTCPair.h',
    224             'app/webrtc/objc/public/RTCPeerConnection.h',
    225             'app/webrtc/objc/public/RTCPeerConnectionDelegate.h',
    226             'app/webrtc/objc/public/RTCPeerConnectionFactory.h',
    227             'app/webrtc/objc/public/RTCSessionDescription.h',
    228             'app/webrtc/objc/public/RTCSessionDescriptionDelegate.h',
    229             'app/webrtc/objc/public/RTCStatsDelegate.h',
    230             'app/webrtc/objc/public/RTCStatsReport.h',
    231             'app/webrtc/objc/public/RTCTypes.h',
    232             'app/webrtc/objc/public/RTCVideoCapturer.h',
    233             'app/webrtc/objc/public/RTCVideoRenderer.h',
    234             'app/webrtc/objc/public/RTCVideoSource.h',
    235             'app/webrtc/objc/public/RTCVideoTrack.h',
    236           ],
    237           'direct_dependent_settings': {
    238             'include_dirs': [
    239               '<(DEPTH)/talk/app/webrtc/objc/public',
    240             ],
    241           },
    242           'include_dirs': [
    243             '<(DEPTH)/talk/app/webrtc',
    244             '<(DEPTH)/talk/app/webrtc/objc',
    245             '<(DEPTH)/talk/app/webrtc/objc/public',
    246           ],
    247           'link_settings': {
    248             'libraries': [
    249               '-lstdc++',
    250             ],
    251           },
    252           'xcode_settings': {
    253             'CLANG_ENABLE_OBJC_ARC': 'YES',
    254             # common.gypi enables this for mac but we want this to be disabled
    255             # like it is for ios.
    256             'CLANG_WARN_OBJC_MISSING_PROPERTY_SYNTHESIS': 'NO',
    257           },
    258           'conditions': [
    259             ['OS=="ios"', {
    260               'sources': [
    261                 'app/webrtc/objc/RTCEAGLVideoView+Internal.h',
    262                 'app/webrtc/objc/RTCEAGLVideoView.m',
    263                 'app/webrtc/objc/public/RTCEAGLVideoView.h',
    264               ],
    265               'link_settings': {
    266                 'xcode_settings': {
    267                   'OTHER_LDFLAGS': [
    268                     '-framework CoreGraphics',
    269                     '-framework GLKit',
    270                   ],
    271                 },
    272               },
    273             }],
    274             ['OS=="mac"', {
    275               'sources': [
    276                 'app/webrtc/objc/RTCNSGLVideoView.m',
    277                 'app/webrtc/objc/public/RTCNSGLVideoView.h',
    278               ],
    279               'xcode_settings': {
    280                 # Need to build against 10.7 framework for full ARC support
    281                 # on OSX.
    282                 'MACOSX_DEPLOYMENT_TARGET' : '10.7',
    283               },
    284               'link_settings': {
    285                 'xcode_settings': {
    286                   'OTHER_LDFLAGS': [
    287                     '-framework Cocoa',
    288                   ],
    289                 },
    290               },
    291             }],
    292           ],
    293         },  # target libjingle_peerconnection_objc
    294       ],
    295     }],
    296   ],
    297 
    298   'targets': [
    299     {
    300       'target_name': 'libjingle',
    301       'type': 'static_library',
    302       'dependencies': [
    303         '<(DEPTH)/third_party/expat/expat.gyp:expat',
    304         '<(DEPTH)/third_party/jsoncpp/jsoncpp.gyp:jsoncpp',
    305       ],
    306       'export_dependent_settings': [
    307         '<(DEPTH)/third_party/expat/expat.gyp:expat',
    308         '<(DEPTH)/third_party/jsoncpp/jsoncpp.gyp:jsoncpp',
    309       ],
    310       'sources': [
    311         'base/asyncfile.cc',
    312         'base/asyncfile.h',
    313         'base/asynchttprequest.cc',
    314         'base/asynchttprequest.h',
    315         'base/asyncinvoker.cc',
    316         'base/asyncinvoker.h',
    317         'base/asyncpacketsocket.h',
    318         'base/asyncresolverinterface.h',
    319         'base/asyncsocket.cc',
    320         'base/asyncsocket.h',
    321         'base/asynctcpsocket.cc',
    322         'base/asynctcpsocket.h',
    323         'base/asyncudpsocket.cc',
    324         'base/asyncudpsocket.h',
    325         'base/atomicops.h',
    326         'base/autodetectproxy.cc',
    327         'base/autodetectproxy.h',
    328         'base/bandwidthsmoother.cc',
    329         'base/bandwidthsmoother.h',
    330         'base/base64.cc',
    331         'base/base64.h',
    332         'base/basicdefs.h',
    333         'base/basictypes.h',
    334         'base/bind.h',
    335         'base/buffer.h',
    336         'base/bytebuffer.cc',
    337         'base/bytebuffer.h',
    338         'base/byteorder.h',
    339         'base/callback.h',
    340         'base/checks.cc',
    341         'base/checks.h',
    342         'base/common.cc',
    343         'base/common.h',
    344         'base/constructormagic.h',
    345         'base/cpumonitor.cc',
    346         'base/cpumonitor.h',
    347         'base/crc32.cc',
    348         'base/crc32.h',
    349         'base/criticalsection.h',
    350         'base/cryptstring.h',
    351         'base/diskcache.cc',
    352         'base/diskcache.h',
    353         'base/event.cc',
    354         'base/event.h',
    355         'base/filelock.cc',
    356         'base/filelock.h',
    357         'base/fileutils.cc',
    358         'base/fileutils.h',
    359         'base/fileutils_mock.h',
    360         'base/firewallsocketserver.cc',
    361         'base/firewallsocketserver.h',
    362         'base/flags.cc',
    363         'base/flags.h',
    364         'base/gunit_prod.h',
    365         'base/helpers.cc',
    366         'base/helpers.h',
    367         'base/httpbase.cc',
    368         'base/httpbase.h',
    369         'base/httpclient.cc',
    370         'base/httpclient.h',
    371         'base/httpcommon-inl.h',
    372         'base/httpcommon.cc',
    373         'base/httpcommon.h',
    374         'base/httprequest.cc',
    375         'base/httprequest.h',
    376         'base/httpserver.cc',
    377         'base/httpserver.h',
    378         'base/ifaddrs-android.cc',
    379         'base/ifaddrs-android.h',
    380         'base/ipaddress.cc',
    381         'base/ipaddress.h',
    382         'base/json.cc',
    383         'base/json.h',
    384         'base/linked_ptr.h',
    385         'base/linuxfdwalk.h',
    386         'base/logging.cc',
    387         'base/logging.h',
    388         'base/maccocoathreadhelper.h',
    389         'base/maccocoathreadhelper.mm',
    390         'base/mathutils.h',
    391         'base/md5.cc',
    392         'base/md5.h',
    393         'base/md5digest.h',
    394         'base/messagedigest.cc',
    395         'base/messagedigest.h',
    396         'base/messagehandler.cc',
    397         'base/messagehandler.h',
    398         'base/messagequeue.cc',
    399         'base/messagequeue.h',
    400         'base/multipart.cc',
    401         'base/multipart.h',
    402         'base/natserver.cc',
    403         'base/natserver.h',
    404         'base/natsocketfactory.cc',
    405         'base/natsocketfactory.h',
    406         'base/nattypes.cc',
    407         'base/nattypes.h',
    408         'base/nethelpers.cc',
    409         'base/nethelpers.h',
    410         'base/network.cc',
    411         'base/network.h',
    412         'base/nssidentity.cc',
    413         'base/nssidentity.h',
    414         'base/nssstreamadapter.cc',
    415         'base/nssstreamadapter.h',
    416         'base/nullsocketserver.h',
    417         'base/optionsfile.cc',
    418         'base/optionsfile.h',
    419         'base/pathutils.cc',
    420         'base/pathutils.h',
    421         'base/physicalsocketserver.cc',
    422         'base/physicalsocketserver.h',
    423         'base/profiler.cc',
    424         'base/profiler.h',
    425         'base/proxydetect.cc',
    426         'base/proxydetect.h',
    427         'base/proxyinfo.cc',
    428         'base/proxyinfo.h',
    429         'base/proxyserver.cc',
    430         'base/proxyserver.h',
    431         'base/ratelimiter.cc',
    432         'base/ratelimiter.h',
    433         'base/ratetracker.cc',
    434         'base/ratetracker.h',
    435         'base/refcount.h',
    436         'base/referencecountedsingletonfactory.h',
    437         'base/rollingaccumulator.h',
    438         'base/scoped_autorelease_pool.h',
    439         'base/scoped_ptr.h',
    440         'base/scoped_ref_ptr.h',
    441         'base/scopedptrcollection.h',
    442         'base/sec_buffer.h',
    443         'base/sha1.cc',
    444         'base/sha1.h',
    445         'base/sha1digest.h',
    446         'base/sharedexclusivelock.cc',
    447         'base/sharedexclusivelock.h',
    448         'base/signalthread.cc',
    449         'base/signalthread.h',
    450         'base/sigslot.h',
    451         'base/sigslotrepeater.h',
    452         'base/socket.h',
    453         'base/socketadapters.cc',
    454         'base/socketadapters.h',
    455         'base/socketaddress.cc',
    456         'base/socketaddress.h',
    457         'base/socketaddresspair.cc',
    458         'base/socketaddresspair.h',
    459         'base/socketfactory.h',
    460         'base/socketpool.cc',
    461         'base/socketpool.h',
    462         'base/socketserver.h',
    463         'base/socketstream.cc',
    464         'base/socketstream.h',
    465         'base/ssladapter.cc',
    466         'base/ssladapter.h',
    467         'base/sslconfig.h',
    468         'base/sslfingerprint.cc',
    469         'base/sslfingerprint.h',
    470         'base/sslidentity.cc',
    471         'base/sslidentity.h',
    472         'base/sslroots.h',
    473         'base/sslsocketfactory.cc',
    474         'base/sslsocketfactory.h',
    475         'base/sslstreamadapter.cc',
    476         'base/sslstreamadapter.h',
    477         'base/sslstreamadapterhelper.cc',
    478         'base/sslstreamadapterhelper.h',
    479         'base/stream.cc',
    480         'base/stream.h',
    481         'base/stringdigest.h',
    482         'base/stringencode.cc',
    483         'base/stringencode.h',
    484         'base/stringutils.cc',
    485         'base/stringutils.h',
    486         'base/systeminfo.cc',
    487         'base/systeminfo.h',
    488         'base/task.cc',
    489         'base/task.h',
    490         'base/taskparent.cc',
    491         'base/taskparent.h',
    492         'base/taskrunner.cc',
    493         'base/taskrunner.h',
    494         'base/testclient.cc',
    495         'base/testclient.h',
    496         'base/thread.cc',
    497         'base/thread.h',
    498         'base/timeutils.cc',
    499         'base/timeutils.h',
    500         'base/timing.cc',
    501         'base/timing.h',
    502         'base/transformadapter.cc',
    503         'base/transformadapter.h',
    504         'base/urlencode.cc',
    505         'base/urlencode.h',
    506         'base/versionparsing.cc',
    507         'base/versionparsing.h',
    508         'base/virtualsocketserver.cc',
    509         'base/virtualsocketserver.h',
    510         'base/window.h',
    511         'base/windowpicker.h',
    512         'base/windowpickerfactory.h',
    513         'base/worker.cc',
    514         'base/worker.h',
    515         'xmllite/qname.cc',
    516         'xmllite/qname.h',
    517         'xmllite/xmlbuilder.cc',
    518         'xmllite/xmlbuilder.h',
    519         'xmllite/xmlconstants.cc',
    520         'xmllite/xmlconstants.h',
    521         'xmllite/xmlelement.cc',
    522         'xmllite/xmlelement.h',
    523         'xmllite/xmlnsstack.cc',
    524         'xmllite/xmlnsstack.h',
    525         'xmllite/xmlparser.cc',
    526         'xmllite/xmlparser.h',
    527         'xmllite/xmlprinter.cc',
    528         'xmllite/xmlprinter.h',
    529         'xmpp/asyncsocket.h',
    530         'xmpp/chatroommodule.h',
    531         'xmpp/chatroommoduleimpl.cc',
    532         'xmpp/constants.cc',
    533         'xmpp/constants.h',
    534         'xmpp/discoitemsquerytask.cc',
    535         'xmpp/discoitemsquerytask.h',
    536         'xmpp/hangoutpubsubclient.cc',
    537         'xmpp/hangoutpubsubclient.h',
    538         'xmpp/iqtask.cc',
    539         'xmpp/iqtask.h',
    540         'xmpp/jid.cc',
    541         'xmpp/jid.h',
    542         'xmpp/module.h',
    543         'xmpp/moduleimpl.cc',
    544         'xmpp/moduleimpl.h',
    545         'xmpp/mucroomconfigtask.cc',
    546         'xmpp/mucroomconfigtask.h',
    547         'xmpp/mucroomdiscoverytask.cc',
    548         'xmpp/mucroomdiscoverytask.h',
    549         'xmpp/mucroomlookuptask.cc',
    550         'xmpp/mucroomlookuptask.h',
    551         'xmpp/mucroomuniquehangoutidtask.cc',
    552         'xmpp/mucroomuniquehangoutidtask.h',
    553         'xmpp/pingtask.cc',
    554         'xmpp/pingtask.h',
    555         'xmpp/plainsaslhandler.h',
    556         'xmpp/presenceouttask.cc',
    557         'xmpp/presenceouttask.h',
    558         'xmpp/presencereceivetask.cc',
    559         'xmpp/presencereceivetask.h',
    560         'xmpp/presencestatus.cc',
    561         'xmpp/presencestatus.h',
    562         'xmpp/prexmppauth.h',
    563         'xmpp/pubsub_task.cc',
    564         'xmpp/pubsub_task.h',
    565         'xmpp/pubsubclient.cc',
    566         'xmpp/pubsubclient.h',
    567         'xmpp/pubsubstateclient.cc',
    568         'xmpp/pubsubstateclient.h',
    569         'xmpp/pubsubtasks.cc',
    570         'xmpp/pubsubtasks.h',
    571         'xmpp/receivetask.cc',
    572         'xmpp/receivetask.h',
    573         'xmpp/rostermodule.h',
    574         'xmpp/rostermoduleimpl.cc',
    575         'xmpp/rostermoduleimpl.h',
    576         'xmpp/saslcookiemechanism.h',
    577         'xmpp/saslhandler.h',
    578         'xmpp/saslmechanism.cc',
    579         'xmpp/saslmechanism.h',
    580         'xmpp/saslplainmechanism.h',
    581         'xmpp/xmppauth.cc',
    582         'xmpp/xmppauth.h',
    583         'xmpp/xmppclient.cc',
    584         'xmpp/xmppclient.h',
    585         'xmpp/xmppclientsettings.h',
    586         'xmpp/xmppengine.h',
    587         'xmpp/xmppengineimpl.cc',
    588         'xmpp/xmppengineimpl.h',
    589         'xmpp/xmppengineimpl_iq.cc',
    590         'xmpp/xmpplogintask.cc',
    591         'xmpp/xmpplogintask.h',
    592         'xmpp/xmpppump.cc',
    593         'xmpp/xmpppump.h',
    594         'xmpp/xmppsocket.cc',
    595         'xmpp/xmppsocket.h',
    596         'xmpp/xmppstanzaparser.cc',
    597         'xmpp/xmppstanzaparser.h',
    598         'xmpp/xmpptask.cc',
    599         'xmpp/xmpptask.h',
    600         'xmpp/xmppthread.cc',
    601         'xmpp/xmppthread.h',
    602       ],
    603       'conditions': [
    604         ['OS=="android"', {
    605           'sources': [
    606             'base/ifaddrs-android.cc',
    607           ],
    608           'link_settings': {
    609             'libraries': [
    610               '-llog',
    611               '-lGLESv2',
    612             ],
    613           },
    614         }],
    615         ['OS=="linux" or OS=="android"', {
    616           'sources': [
    617             'base/linux.cc',
    618             'base/linux.h',
    619           ],
    620         }],
    621         ['OS=="linux"', {
    622           'sources': [
    623             'base/dbus.cc',
    624             'base/dbus.h',
    625             'base/libdbusglibsymboltable.cc',
    626             'base/libdbusglibsymboltable.h',
    627             'base/linuxfdwalk.c',
    628             'base/linuxwindowpicker.cc',
    629             'base/linuxwindowpicker.h',
    630           ],
    631           'link_settings': {
    632             'libraries': [
    633               '-lcrypto',
    634               '-ldl',
    635               '-lrt',
    636               '-lXext',
    637               '-lX11',
    638               '-lXcomposite',
    639               '-lXrender',
    640               '<!@(<(pkg-config) --libs-only-l nss | sed -e "s/-lssl3//")',
    641             ],
    642           },
    643           'cflags': [
    644             '<!@(<(pkg-config) --cflags nss)',
    645           ],
    646           'ldflags': [
    647             '<!@(<(pkg-config) --libs-only-L --libs-only-other nss)',
    648           ],
    649         }],
    650         ['OS=="mac"', {
    651           'sources': [
    652             'base/macasyncsocket.cc',
    653             'base/macasyncsocket.h',
    654             'base/maccocoasocketserver.h',
    655             'base/maccocoasocketserver.mm',
    656             'base/macconversion.cc',
    657             'base/macconversion.h',
    658             'base/macsocketserver.cc',
    659             'base/macsocketserver.h',
    660             'base/macutils.cc',
    661             'base/macutils.h',
    662             'base/macwindowpicker.cc',
    663             'base/macwindowpicker.h',
    664             'base/scoped_autorelease_pool.mm',
    665           ],
    666           'link_settings': {
    667             'libraries': [
    668               '$(SDKROOT)/usr/lib/libcrypto.dylib',
    669               '$(SDKROOT)/usr/lib/libssl.dylib',
    670             ],
    671           },
    672           'all_dependent_settings': {
    673             'link_settings': {
    674               'xcode_settings': {
    675                 'OTHER_LDFLAGS': [
    676                   '-framework Cocoa',
    677                   '-framework Foundation',
    678                   '-framework IOKit',
    679                   '-framework Security',
    680                   '-framework SystemConfiguration',
    681                 ],
    682               },
    683             },
    684           },
    685           'conditions': [
    686             ['target_arch=="ia32"', {
    687               'all_dependent_settings': {
    688                 'link_settings': {
    689                   'xcode_settings': {
    690                     'OTHER_LDFLAGS': [
    691                       '-framework Carbon',
    692                     ],
    693                   },
    694                 },
    695               },
    696             }],
    697           ],
    698         }],
    699         ['OS=="ios"', {
    700           'sources': [
    701             'base/iosfilesystem.mm',
    702             'base/scoped_autorelease_pool.mm',
    703           ],
    704           'dependencies': [
    705             '<(DEPTH)/net/third_party/nss/ssl.gyp:libssl',
    706           ],
    707           'all_dependent_settings': {
    708             'xcode_settings': {
    709               'OTHER_LDFLAGS': [
    710                 '-framework Foundation',
    711                 '-framework Security',
    712                 '-framework SystemConfiguration',
    713                 '-framework UIKit',
    714               ],
    715             },
    716           },
    717         }],
    718         ['OS=="win"', {
    719           'sources': [
    720             'base/diskcache_win32.cc',
    721             'base/diskcache_win32.h',
    722             'base/schanneladapter.cc',
    723             'base/schanneladapter.h',
    724             'base/win32.cc',
    725             'base/win32.h',
    726             'base/win32filesystem.cc',
    727             'base/win32filesystem.h',
    728             'base/win32regkey.cc',
    729             'base/win32regkey.h',
    730             'base/win32securityerrors.cc',
    731             'base/win32socketinit.cc',
    732             'base/win32socketinit.h',
    733             'base/win32socketserver.cc',
    734             'base/win32socketserver.h',
    735             'base/win32window.cc',
    736             'base/win32window.h',
    737             'base/win32windowpicker.cc',
    738             'base/win32windowpicker.h',
    739             'base/winfirewall.cc',
    740             'base/winfirewall.h',
    741             'base/winping.cc',
    742             'base/winping.h',
    743           ],
    744           'link_settings': {
    745             'libraries': [
    746               '-lcrypt32.lib',
    747               '-liphlpapi.lib',
    748               '-lsecur32.lib',
    749             ],
    750           },
    751           # Suppress warnings about WIN32_LEAN_AND_MEAN.
    752           'msvs_disabled_warnings': [4005],
    753         }],
    754         ['os_posix==1', {
    755           'sources': [
    756             'base/latebindingsymboltable.cc',
    757             'base/latebindingsymboltable.h',
    758             'base/posix.cc',
    759             'base/posix.h',
    760             'base/unixfilesystem.cc',
    761             'base/unixfilesystem.h',
    762           ],
    763           'conditions': [
    764             ['OS!="ios"', {
    765               'sources': [
    766                 'base/openssl.h',
    767                 'base/openssladapter.cc',
    768                 'base/openssladapter.h',
    769                 'base/openssldigest.cc',
    770                 'base/openssldigest.h',
    771                 'base/opensslidentity.cc',
    772                 'base/opensslidentity.h',
    773                 'base/opensslstreamadapter.cc',
    774                 'base/opensslstreamadapter.h',
    775               ],
    776             }],
    777           ],
    778         }],
    779       ],  # conditions
    780     },  # target libjingle
    781     {
    782       'target_name': 'libjingle_sound',
    783       'type': 'static_library',
    784       'dependencies': [
    785         'libjingle',
    786       ],
    787       'sources': [
    788         'sound/automaticallychosensoundsystem.h',
    789         'sound/nullsoundsystem.cc',
    790         'sound/nullsoundsystem.h',
    791         'sound/nullsoundsystemfactory.cc',
    792         'sound/nullsoundsystemfactory.h',
    793         'sound/platformsoundsystem.cc',
    794         'sound/platformsoundsystem.h',
    795         'sound/platformsoundsystemfactory.cc',
    796         'sound/platformsoundsystemfactory.h',
    797         'sound/sounddevicelocator.h',
    798         'sound/soundinputstreaminterface.h',
    799         'sound/soundoutputstreaminterface.h',
    800         'sound/soundsystemfactory.h',
    801         'sound/soundsysteminterface.cc',
    802         'sound/soundsysteminterface.h',
    803         'sound/soundsystemproxy.cc',
    804         'sound/soundsystemproxy.h',
    805       ],
    806       'conditions': [
    807         ['OS=="linux"', {
    808           'sources': [
    809             'sound/alsasoundsystem.cc',
    810             'sound/alsasoundsystem.h',
    811             'sound/alsasymboltable.cc',
    812             'sound/alsasymboltable.h',
    813             'sound/linuxsoundsystem.cc',
    814             'sound/linuxsoundsystem.h',
    815             'sound/pulseaudiosoundsystem.cc',
    816             'sound/pulseaudiosoundsystem.h',
    817             'sound/pulseaudiosymboltable.cc',
    818             'sound/pulseaudiosymboltable.h',
    819           ],
    820         }],
    821       ],
    822     },  # target libjingle_sound
    823     {
    824       'target_name': 'libjingle_media',
    825       'type': 'static_library',
    826       'include_dirs': [
    827         # TODO(jiayl): move this into the direct_dependent_settings of
    828         # usrsctp.gyp.
    829         '<(DEPTH)/third_party/usrsctp',
    830       ],
    831       'dependencies': [
    832         '<(DEPTH)/third_party/libyuv/libyuv.gyp:libyuv',
    833         '<(DEPTH)/third_party/usrsctp/usrsctp.gyp:usrsctplib',
    834         '<(webrtc_root)/modules/modules.gyp:video_capture_module',
    835         '<(webrtc_root)/modules/modules.gyp:video_render_module',
    836         '<(webrtc_root)/webrtc.gyp:webrtc',
    837         '<(webrtc_root)/voice_engine/voice_engine.gyp:voice_engine',
    838         '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers',
    839         '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:field_trial_default',
    840         'libjingle',
    841         'libjingle_sound',
    842       ],
    843       'direct_dependent_settings': {
    844         'include_dirs': [
    845           '<(DEPTH)/third_party/libyuv/include',
    846         ],
    847       },
    848       'sources': [
    849         'media/base/audioframe.h',
    850         'media/base/audiorenderer.h',
    851         'media/base/capturemanager.cc',
    852         'media/base/capturemanager.h',
    853         'media/base/capturerenderadapter.cc',
    854         'media/base/capturerenderadapter.h',
    855         'media/base/codec.cc',
    856         'media/base/codec.h',
    857         'media/base/constants.cc',
    858         'media/base/constants.h',
    859         'media/base/cpuid.cc',
    860         'media/base/cpuid.h',
    861         'media/base/cryptoparams.h',
    862         'media/base/filemediaengine.cc',
    863         'media/base/filemediaengine.h',
    864         'media/base/hybriddataengine.h',
    865         'media/base/hybridvideoengine.cc',
    866         'media/base/hybridvideoengine.h',
    867         'media/base/mediachannel.h',
    868         'media/base/mediacommon.h',
    869         'media/base/mediaengine.cc',
    870         'media/base/mediaengine.h',
    871         'media/base/mutedvideocapturer.cc',
    872         'media/base/mutedvideocapturer.h',
    873         'media/base/rtpdataengine.cc',
    874         'media/base/rtpdataengine.h',
    875         'media/base/rtpdump.cc',
    876         'media/base/rtpdump.h',
    877         'media/base/rtputils.cc',
    878         'media/base/rtputils.h',
    879         'media/base/screencastid.h',
    880         'media/base/streamparams.cc',
    881         'media/base/streamparams.h',
    882         'media/base/videoadapter.cc',
    883         'media/base/videoadapter.h',
    884         'media/base/videocapturer.cc',
    885         'media/base/videocapturer.h',
    886         'media/base/videocommon.cc',
    887         'media/base/videocommon.h',
    888         'media/base/videoframe.cc',
    889         'media/base/videoframe.h',
    890         'media/base/videoprocessor.h',
    891         'media/base/videorenderer.h',
    892         'media/base/voiceprocessor.h',
    893         'media/base/yuvframegenerator.cc',
    894         'media/base/yuvframegenerator.h',
    895         'media/devices/deviceinfo.h',
    896         'media/devices/devicemanager.cc',
    897         'media/devices/devicemanager.h',
    898         'media/devices/dummydevicemanager.h',
    899         'media/devices/filevideocapturer.cc',
    900         'media/devices/filevideocapturer.h',
    901         'media/devices/videorendererfactory.h',
    902         'media/devices/yuvframescapturer.cc',
    903         'media/devices/yuvframescapturer.h',
    904         'media/other/linphonemediaengine.h',
    905         'media/sctp/sctpdataengine.cc',
    906         'media/sctp/sctpdataengine.h',
    907         'media/webrtc/webrtccommon.h',
    908         'media/webrtc/webrtcexport.h',
    909         'media/webrtc/webrtcmediaengine.cc',
    910         'media/webrtc/webrtcmediaengine.h',
    911         'media/webrtc/webrtcpassthroughrender.cc',
    912         'media/webrtc/webrtcpassthroughrender.h',
    913         'media/webrtc/webrtctexturevideoframe.cc',
    914         'media/webrtc/webrtctexturevideoframe.h',
    915         'media/webrtc/webrtcvideocapturer.cc',
    916         'media/webrtc/webrtcvideocapturer.h',
    917         'media/webrtc/webrtcvideodecoderfactory.h',
    918         'media/webrtc/webrtcvideoencoderfactory.h',
    919         'media/webrtc/webrtcvideoengine.cc',
    920         'media/webrtc/webrtcvideoengine.h',
    921         'media/webrtc/webrtcvideoengine2.cc',
    922         'media/webrtc/webrtcvideoengine2.h',
    923         'media/webrtc/webrtcvideoframe.cc',
    924         'media/webrtc/webrtcvideoframe.h',
    925         'media/webrtc/webrtcvie.h',
    926         'media/webrtc/webrtcvoe.h',
    927         'media/webrtc/webrtcvoiceengine.cc',
    928         'media/webrtc/webrtcvoiceengine.h',
    929       ],
    930       'conditions': [
    931         ['OS=="linux"', {
    932           'sources': [
    933             'media/devices/gtkvideorenderer.cc',
    934             'media/devices/gtkvideorenderer.h',
    935             'media/devices/libudevsymboltable.cc',
    936             'media/devices/libudevsymboltable.h',
    937             'media/devices/linuxdeviceinfo.cc',
    938             'media/devices/linuxdevicemanager.cc',
    939             'media/devices/linuxdevicemanager.h',
    940             'media/devices/v4llookup.cc',
    941             'media/devices/v4llookup.h',
    942           ],
    943           'include_dirs': [
    944             'third_party/libudev'
    945           ],
    946           'cflags': [
    947             '<!@(pkg-config --cflags gobject-2.0 gthread-2.0 gtk+-2.0)',
    948           ],
    949           'libraries': [
    950             '-lrt',
    951             '-lXext',
    952             '-lX11',
    953           ],
    954         }],
    955         ['OS=="win"', {
    956           'sources': [
    957             'media/devices/gdivideorenderer.cc',
    958             'media/devices/gdivideorenderer.h',
    959             'media/devices/win32deviceinfo.cc',
    960             'media/devices/win32devicemanager.cc',
    961             'media/devices/win32devicemanager.h',
    962           ],
    963           'msvs_settings': {
    964             'VCLibrarianTool': {
    965               'AdditionalDependencies': [
    966                 'd3d9.lib',
    967                 'gdi32.lib',
    968                 'strmiids.lib',
    969                 'winmm.lib',
    970               ],
    971             },
    972           },
    973         }],
    974         ['OS=="mac"', {
    975           'sources': [
    976             'media/devices/macdeviceinfo.cc',
    977             'media/devices/macdevicemanager.cc',
    978             'media/devices/macdevicemanager.h',
    979             'media/devices/macdevicemanagermm.mm',
    980           ],
    981           'conditions': [
    982             ['target_arch=="ia32"', {
    983               'sources': [
    984                 'media/devices/carbonvideorenderer.cc',
    985                 'media/devices/carbonvideorenderer.h',
    986               ],
    987               'link_settings': {
    988                 'xcode_settings': {
    989                   'OTHER_LDFLAGS': [
    990                     '-framework Carbon',
    991                   ],
    992                 },
    993               },
    994             }],
    995           ],
    996           'xcode_settings': {
    997             'WARNING_CFLAGS': [
    998               # TODO(ronghuawu): Update macdevicemanager.cc to stop using
    999               # deprecated functions and remove this flag.
   1000               '-Wno-deprecated-declarations',
   1001             ],
   1002           },
   1003           'link_settings': {
   1004             'xcode_settings': {
   1005               'OTHER_LDFLAGS': [
   1006                 '-framework Cocoa',
   1007                 '-framework CoreAudio',
   1008                 '-framework CoreVideo',
   1009                 '-framework OpenGL',
   1010                 '-framework QTKit',
   1011               ],
   1012             },
   1013           },
   1014         }],
   1015         ['OS=="ios"', {
   1016           'sources': [
   1017             'media/devices/mobiledevicemanager.cc',
   1018           ],
   1019           'include_dirs': [
   1020             # TODO(sjlee) Remove when vp8 is building for iOS.  vp8 pulls in
   1021             # libjpeg which pulls in libyuv which currently disabled.
   1022             '../third_party/libyuv/include',
   1023           ],
   1024           'dependencies!': [
   1025             '<(DEPTH)/third_party/usrsctp/usrsctp.gyp:usrsctplib',
   1026           ],
   1027           'sources!': [
   1028             'media/sctp/sctpdataengine.cc',
   1029             'media/sctp/sctpdataengine.h',
   1030           ],
   1031         }],
   1032         ['OS=="android"', {
   1033           'sources': [
   1034             'media/devices/mobiledevicemanager.cc',
   1035           ],
   1036         }],
   1037       ],
   1038     },  # target libjingle_media
   1039     {
   1040       'target_name': 'libjingle_p2p',
   1041       'type': 'static_library',
   1042       'dependencies': [
   1043         '<(DEPTH)/third_party/libsrtp/libsrtp.gyp:libsrtp',
   1044         'libjingle',
   1045         'libjingle_media',
   1046       ],
   1047       'include_dirs': [
   1048         '<(DEPTH)/testing/gtest/include',
   1049       ],
   1050       'direct_dependent_settings': {
   1051         'include_dirs': [
   1052           '<(DEPTH)/testing/gtest/include',
   1053         ],
   1054       },
   1055       'sources': [
   1056         'p2p/base/asyncstuntcpsocket.cc',
   1057         'p2p/base/asyncstuntcpsocket.h',
   1058         'p2p/base/basicpacketsocketfactory.cc',
   1059         'p2p/base/basicpacketsocketfactory.h',
   1060         'p2p/base/candidate.h',
   1061         'p2p/base/common.h',
   1062         'p2p/base/constants.cc',
   1063         'p2p/base/constants.h',
   1064         'p2p/base/dtlstransportchannel.cc',
   1065         'p2p/base/dtlstransportchannel.h',
   1066         'p2p/base/p2ptransport.cc',
   1067         'p2p/base/p2ptransport.h',
   1068         'p2p/base/p2ptransportchannel.cc',
   1069         'p2p/base/p2ptransportchannel.h',
   1070         'p2p/base/packetsocketfactory.h',
   1071         'p2p/base/parsing.cc',
   1072         'p2p/base/parsing.h',
   1073         'p2p/base/port.cc',
   1074         'p2p/base/port.h',
   1075         'p2p/base/portallocator.cc',
   1076         'p2p/base/portallocator.h',
   1077         'p2p/base/portallocatorsessionproxy.cc',
   1078         'p2p/base/portallocatorsessionproxy.h',
   1079         'p2p/base/portinterface.h',
   1080         'p2p/base/portproxy.cc',
   1081         'p2p/base/portproxy.h',
   1082         'p2p/base/pseudotcp.cc',
   1083         'p2p/base/pseudotcp.h',
   1084         'p2p/base/rawtransport.cc',
   1085         'p2p/base/rawtransport.h',
   1086         'p2p/base/rawtransportchannel.cc',
   1087         'p2p/base/rawtransportchannel.h',
   1088         'p2p/base/relayport.cc',
   1089         'p2p/base/relayport.h',
   1090         'p2p/base/relayserver.cc',
   1091         'p2p/base/relayserver.h',
   1092         'p2p/base/session.cc',
   1093         'p2p/base/session.h',
   1094         'p2p/base/sessionclient.h',
   1095         'p2p/base/sessiondescription.cc',
   1096         'p2p/base/sessiondescription.h',
   1097         'p2p/base/sessionid.h',
   1098         'p2p/base/sessionmanager.cc',
   1099         'p2p/base/sessionmanager.h',
   1100         'p2p/base/sessionmessages.cc',
   1101         'p2p/base/sessionmessages.h',
   1102         'p2p/base/stun.cc',
   1103         'p2p/base/stun.h',
   1104         'p2p/base/stunport.cc',
   1105         'p2p/base/stunport.h',
   1106         'p2p/base/stunrequest.cc',
   1107         'p2p/base/stunrequest.h',
   1108         'p2p/base/stunserver.cc',
   1109         'p2p/base/stunserver.h',
   1110         'p2p/base/tcpport.cc',
   1111         'p2p/base/tcpport.h',
   1112         'p2p/base/transport.cc',
   1113         'p2p/base/transport.h',
   1114         'p2p/base/transportchannel.cc',
   1115         'p2p/base/transportchannel.h',
   1116         'p2p/base/transportchannelimpl.h',
   1117         'p2p/base/transportchannelproxy.cc',
   1118         'p2p/base/transportchannelproxy.h',
   1119         'p2p/base/transportdescription.cc',
   1120         'p2p/base/transportdescription.h',
   1121         'p2p/base/transportdescriptionfactory.cc',
   1122         'p2p/base/transportdescriptionfactory.h',
   1123         'p2p/base/transportinfo.h',
   1124         'p2p/base/turnport.cc',
   1125         'p2p/base/turnport.h',
   1126         'p2p/base/turnserver.cc',
   1127         'p2p/base/turnserver.h',
   1128         'p2p/base/udpport.h',
   1129         'p2p/client/autoportallocator.h',
   1130         'p2p/client/basicportallocator.cc',
   1131         'p2p/client/basicportallocator.h',
   1132         'p2p/client/connectivitychecker.cc',
   1133         'p2p/client/connectivitychecker.h',
   1134         'p2p/client/httpportallocator.cc',
   1135         'p2p/client/httpportallocator.h',
   1136         'p2p/client/sessionmanagertask.h',
   1137         'p2p/client/sessionsendtask.h',
   1138         'p2p/client/socketmonitor.cc',
   1139         'p2p/client/socketmonitor.h',
   1140         'session/tunnel/pseudotcpchannel.cc',
   1141         'session/tunnel/pseudotcpchannel.h',
   1142         'session/tunnel/tunnelsessionclient.cc',
   1143         'session/tunnel/tunnelsessionclient.h',
   1144         'session/tunnel/securetunnelsessionclient.cc',
   1145         'session/tunnel/securetunnelsessionclient.h',
   1146         'session/media/audiomonitor.cc',
   1147         'session/media/audiomonitor.h',
   1148         'session/media/bundlefilter.cc',
   1149         'session/media/bundlefilter.h',
   1150         'session/media/call.cc',
   1151         'session/media/call.h',
   1152         'session/media/channel.cc',
   1153         'session/media/channel.h',
   1154         'session/media/channelmanager.cc',
   1155         'session/media/channelmanager.h',
   1156         'session/media/currentspeakermonitor.cc',
   1157         'session/media/currentspeakermonitor.h',
   1158         'session/media/mediamessages.cc',
   1159         'session/media/mediamessages.h',
   1160         'session/media/mediamonitor.cc',
   1161         'session/media/mediamonitor.h',
   1162         'session/media/mediarecorder.cc',
   1163         'session/media/mediarecorder.h',
   1164         'session/media/mediasession.cc',
   1165         'session/media/mediasession.h',
   1166         'session/media/mediasessionclient.cc',
   1167         'session/media/mediasessionclient.h',
   1168         'session/media/mediasink.h',
   1169         'session/media/rtcpmuxfilter.cc',
   1170         'session/media/rtcpmuxfilter.h',
   1171         'session/media/soundclip.cc',
   1172         'session/media/soundclip.h',
   1173         'session/media/srtpfilter.cc',
   1174         'session/media/srtpfilter.h',
   1175         'session/media/typingmonitor.cc',
   1176         'session/media/typingmonitor.h',
   1177         'session/media/voicechannel.h',
   1178       ],
   1179     },  # target libjingle_p2p
   1180     {
   1181       'target_name': 'libjingle_peerconnection',
   1182       'type': 'static_library',
   1183       'dependencies': [
   1184         'libjingle',
   1185         'libjingle_media',
   1186         'libjingle_p2p',
   1187       ],
   1188       'sources': [
   1189         'app/webrtc/audiotrack.cc',
   1190         'app/webrtc/audiotrack.h',
   1191         'app/webrtc/audiotrackrenderer.cc',
   1192         'app/webrtc/audiotrackrenderer.h',
   1193         'app/webrtc/datachannel.cc',
   1194         'app/webrtc/datachannel.h',
   1195         'app/webrtc/datachannelinterface.h',
   1196         'app/webrtc/dtmfsender.cc',
   1197         'app/webrtc/dtmfsender.h',
   1198         'app/webrtc/dtmfsenderinterface.h',
   1199         'app/webrtc/fakeportallocatorfactory.h',
   1200         'app/webrtc/jsep.h',
   1201         'app/webrtc/jsepicecandidate.cc',
   1202         'app/webrtc/jsepicecandidate.h',
   1203         'app/webrtc/jsepsessiondescription.cc',
   1204         'app/webrtc/jsepsessiondescription.h',
   1205         'app/webrtc/localaudiosource.cc',
   1206         'app/webrtc/localaudiosource.h',
   1207         'app/webrtc/mediaconstraintsinterface.cc',
   1208         'app/webrtc/mediaconstraintsinterface.h',
   1209         'app/webrtc/mediastream.cc',
   1210         'app/webrtc/mediastream.h',
   1211         'app/webrtc/mediastreamhandler.cc',
   1212         'app/webrtc/mediastreamhandler.h',
   1213         'app/webrtc/mediastreaminterface.h',
   1214         'app/webrtc/mediastreamprovider.h',
   1215         'app/webrtc/mediastreamproxy.h',
   1216         'app/webrtc/mediastreamsignaling.cc',
   1217         'app/webrtc/mediastreamsignaling.h',
   1218         'app/webrtc/mediastreamtrack.h',
   1219         'app/webrtc/mediastreamtrackproxy.h',
   1220         'app/webrtc/notifier.h',
   1221         'app/webrtc/peerconnection.cc',
   1222         'app/webrtc/peerconnection.h',
   1223         'app/webrtc/peerconnectionfactory.cc',
   1224         'app/webrtc/peerconnectionfactory.h',
   1225         'app/webrtc/peerconnectioninterface.h',
   1226         'app/webrtc/peerconnectionproxy.h',
   1227         'app/webrtc/portallocatorfactory.cc',
   1228         'app/webrtc/portallocatorfactory.h',
   1229         'app/webrtc/proxy.h',
   1230         'app/webrtc/remoteaudiosource.cc',
   1231         'app/webrtc/remoteaudiosource.h',
   1232         'app/webrtc/remotevideocapturer.cc',
   1233         'app/webrtc/remotevideocapturer.h',
   1234         'app/webrtc/sctputils.cc',
   1235         'app/webrtc/sctputils.h',
   1236         'app/webrtc/statscollector.cc',
   1237         'app/webrtc/statscollector.h',
   1238         'app/webrtc/statstypes.h',
   1239         'app/webrtc/streamcollection.h',
   1240         'app/webrtc/videosource.cc',
   1241         'app/webrtc/videosource.h',
   1242         'app/webrtc/videosourceinterface.h',
   1243         'app/webrtc/videosourceproxy.h',
   1244         'app/webrtc/videotrack.cc',
   1245         'app/webrtc/videotrack.h',
   1246         'app/webrtc/videotrackrenderers.cc',
   1247         'app/webrtc/videotrackrenderers.h',
   1248         'app/webrtc/webrtcsdp.cc',
   1249         'app/webrtc/webrtcsdp.h',
   1250         'app/webrtc/webrtcsession.cc',
   1251         'app/webrtc/webrtcsession.h',
   1252         'app/webrtc/webrtcsessiondescriptionfactory.cc',
   1253         'app/webrtc/webrtcsessiondescriptionfactory.h',
   1254       ],
   1255     },  # target libjingle_peerconnection
   1256   ],
   1257 }
   1258