gecko-dev/media/mtransport/ipc/moz.build
Paul Vitale 09f4c06235 Bug 1203503 - part 2. replace proxy tunnel with new ipc-based tunnel r+bwc, r+mayhemer
This replaces the tunnel using a new nr_socket implementation.  Proxy detection
code is still done in the peer connction.  However, the result is only used to
detect a proxy.  The result is unused.  Address resolution is done by necko code
in the parent process.  The new socket wraps a WebrtcProxyChannel which uses
necko to handle proxy negotiation.  This has a happy side effect of enabling all
authentication modes that necko already supports for http proxies.

This adds a protocol for Necko to manage, WebrtcProxyChannel.  This new protocol
serves as a pipe for a CONNECT tunnel.  It is only used in WebRtc and not built
in no WebRtc builds.

--HG--
extra : rebase_source : a951841f95eaaa0562886cf76b405b01f1adf70e
extra : intermediate-source : 5c3da21957fc80b07188bc8a405437b858027a22
extra : source : 594a32883463ab051677ba06e22fa6d062b4b4a9
2018-06-05 12:10:16 -05:00

38 lines
931 B
Plaintext

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
EXPORTS.mozilla.net += [
'NrIceStunAddrMessageUtils.h',
'PStunAddrsParams.h',
'StunAddrsRequestChild.h',
'StunAddrsRequestParent.h',
'WebrtcProxyChannel.h',
'WebrtcProxyChannelCallback.h',
'WebrtcProxyChannelChild.h',
'WebrtcProxyChannelParent.h',
]
UNIFIED_SOURCES += [
'StunAddrsRequestChild.cpp',
'StunAddrsRequestParent.cpp',
'WebrtcProxyChannel.cpp',
'WebrtcProxyChannelChild.cpp',
'WebrtcProxyChannelParent.cpp',
'WebrtcProxyLog.cpp',
]
IPDL_SOURCES += [
'PStunAddrsRequest.ipdl',
'PWebrtcProxyChannel.ipdl',
]
include("/ipc/chromium/chromium-config.mozbuild")
FINAL_LIBRARY = 'xul'
LOCAL_INCLUDES += [
'/netwerk/base',
'/netwerk/protocol/http',
]