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