Reland of GN: Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc}
The only thing that differs from the previous attempt in
https://codereview.webrtc.org/1979933002/ is that none of
the new targets are not hooked up to the webrtc target in
webrtc/BUILD.gn, which should make it not break the
chromium.webrtc.fyi bots.
Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc} in
preparation for removing src/third_party/libjingle in Chromium.
Changes between previous attempt and the one before that
(https://codereview.webrtc.org/1973313002) are:
* Added libstunprober target
* Adjusted warnings for Chromium's clang plugins
* webrtc/pc/externalhmac.{h,cc} added for Chromium builds.
BUG=webrtc:4256
NOTRY=True
NOPRESUBMIT=True
TBR=perkj@webrtc.org, tommi@webrtc.org
Review-Url: https://codereview.webrtc.org/2037983002
Cr-Commit-Position: refs/heads/master@{#13030}
2016-06-03 03:09:32 -07:00
|
|
|
# Copyright (c) 2016 The WebRTC project authors. All Rights Reserved.
|
|
|
|
|
#
|
|
|
|
|
# Use of this source code is governed by a BSD-style license
|
|
|
|
|
# that can be found in the LICENSE file in the root of the source
|
|
|
|
|
# tree. An additional intellectual property rights grant can be found
|
|
|
|
|
# in the file PATENTS. All contributing project authors may
|
|
|
|
|
# be found in the AUTHORS file in the root of the source tree.
|
|
|
|
|
|
2017-01-24 06:58:22 -08:00
|
|
|
import("../webrtc.gni")
|
Reland of GN: Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc}
The only thing that differs from the previous attempt in
https://codereview.webrtc.org/1979933002/ is that none of
the new targets are not hooked up to the webrtc target in
webrtc/BUILD.gn, which should make it not break the
chromium.webrtc.fyi bots.
Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc} in
preparation for removing src/third_party/libjingle in Chromium.
Changes between previous attempt and the one before that
(https://codereview.webrtc.org/1973313002) are:
* Added libstunprober target
* Adjusted warnings for Chromium's clang plugins
* webrtc/pc/externalhmac.{h,cc} added for Chromium builds.
BUG=webrtc:4256
NOTRY=True
NOPRESUBMIT=True
TBR=perkj@webrtc.org, tommi@webrtc.org
Review-Url: https://codereview.webrtc.org/2037983002
Cr-Commit-Position: refs/heads/master@{#13030}
2016-06-03 03:09:32 -07:00
|
|
|
|
|
|
|
|
group("p2p") {
|
2016-09-15 00:53:26 -07:00
|
|
|
public_deps = [
|
2016-10-28 05:44:03 -07:00
|
|
|
":libstunprober",
|
Reland of GN: Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc}
The only thing that differs from the previous attempt in
https://codereview.webrtc.org/1979933002/ is that none of
the new targets are not hooked up to the webrtc target in
webrtc/BUILD.gn, which should make it not break the
chromium.webrtc.fyi bots.
Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc} in
preparation for removing src/third_party/libjingle in Chromium.
Changes between previous attempt and the one before that
(https://codereview.webrtc.org/1973313002) are:
* Added libstunprober target
* Adjusted warnings for Chromium's clang plugins
* webrtc/pc/externalhmac.{h,cc} added for Chromium builds.
BUG=webrtc:4256
NOTRY=True
NOPRESUBMIT=True
TBR=perkj@webrtc.org, tommi@webrtc.org
Review-Url: https://codereview.webrtc.org/2037983002
Cr-Commit-Position: refs/heads/master@{#13030}
2016-06-03 03:09:32 -07:00
|
|
|
":rtc_p2p",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
config("rtc_p2p_inherited_config") {
|
|
|
|
|
defines = [ "FEATURE_ENABLE_VOICEMAIL" ]
|
|
|
|
|
}
|
|
|
|
|
|
2016-09-23 00:38:52 -07:00
|
|
|
rtc_static_library("rtc_p2p") {
|
Reland of GN: Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc}
The only thing that differs from the previous attempt in
https://codereview.webrtc.org/1979933002/ is that none of
the new targets are not hooked up to the webrtc target in
webrtc/BUILD.gn, which should make it not break the
chromium.webrtc.fyi bots.
Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc} in
preparation for removing src/third_party/libjingle in Chromium.
Changes between previous attempt and the one before that
(https://codereview.webrtc.org/1973313002) are:
* Added libstunprober target
* Adjusted warnings for Chromium's clang plugins
* webrtc/pc/externalhmac.{h,cc} added for Chromium builds.
BUG=webrtc:4256
NOTRY=True
NOPRESUBMIT=True
TBR=perkj@webrtc.org, tommi@webrtc.org
Review-Url: https://codereview.webrtc.org/2037983002
Cr-Commit-Position: refs/heads/master@{#13030}
2016-06-03 03:09:32 -07:00
|
|
|
sources = [
|
|
|
|
|
"base/asyncstuntcpsocket.cc",
|
|
|
|
|
"base/asyncstuntcpsocket.h",
|
|
|
|
|
"base/basicpacketsocketfactory.cc",
|
|
|
|
|
"base/basicpacketsocketfactory.h",
|
|
|
|
|
"base/candidate.h",
|
|
|
|
|
"base/common.h",
|
|
|
|
|
"base/dtlstransportchannel.cc",
|
|
|
|
|
"base/dtlstransportchannel.h",
|
2017-01-03 11:34:12 -08:00
|
|
|
"base/dtlstransportinternal.h",
|
2016-12-19 11:54:05 -08:00
|
|
|
"base/icetransportinternal.h",
|
2016-12-06 16:22:06 -08:00
|
|
|
"base/jseptransport.cc",
|
|
|
|
|
"base/jseptransport.h",
|
Reland of GN: Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc}
The only thing that differs from the previous attempt in
https://codereview.webrtc.org/1979933002/ is that none of
the new targets are not hooked up to the webrtc target in
webrtc/BUILD.gn, which should make it not break the
chromium.webrtc.fyi bots.
Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc} in
preparation for removing src/third_party/libjingle in Chromium.
Changes between previous attempt and the one before that
(https://codereview.webrtc.org/1973313002) are:
* Added libstunprober target
* Adjusted warnings for Chromium's clang plugins
* webrtc/pc/externalhmac.{h,cc} added for Chromium builds.
BUG=webrtc:4256
NOTRY=True
NOPRESUBMIT=True
TBR=perkj@webrtc.org, tommi@webrtc.org
Review-Url: https://codereview.webrtc.org/2037983002
Cr-Commit-Position: refs/heads/master@{#13030}
2016-06-03 03:09:32 -07:00
|
|
|
"base/p2pconstants.cc",
|
|
|
|
|
"base/p2pconstants.h",
|
|
|
|
|
"base/p2ptransportchannel.cc",
|
|
|
|
|
"base/p2ptransportchannel.h",
|
2017-03-20 10:53:12 -07:00
|
|
|
"base/packetlossestimator.cc",
|
|
|
|
|
"base/packetlossestimator.h",
|
Reland of GN: Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc}
The only thing that differs from the previous attempt in
https://codereview.webrtc.org/1979933002/ is that none of
the new targets are not hooked up to the webrtc target in
webrtc/BUILD.gn, which should make it not break the
chromium.webrtc.fyi bots.
Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc} in
preparation for removing src/third_party/libjingle in Chromium.
Changes between previous attempt and the one before that
(https://codereview.webrtc.org/1973313002) are:
* Added libstunprober target
* Adjusted warnings for Chromium's clang plugins
* webrtc/pc/externalhmac.{h,cc} added for Chromium builds.
BUG=webrtc:4256
NOTRY=True
NOPRESUBMIT=True
TBR=perkj@webrtc.org, tommi@webrtc.org
Review-Url: https://codereview.webrtc.org/2037983002
Cr-Commit-Position: refs/heads/master@{#13030}
2016-06-03 03:09:32 -07:00
|
|
|
"base/packetsocketfactory.h",
|
2016-10-18 15:38:38 -07:00
|
|
|
"base/packettransportinterface.h",
|
2017-02-10 11:31:50 -08:00
|
|
|
"base/packettransportinternal.h",
|
Reland of GN: Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc}
The only thing that differs from the previous attempt in
https://codereview.webrtc.org/1979933002/ is that none of
the new targets are not hooked up to the webrtc target in
webrtc/BUILD.gn, which should make it not break the
chromium.webrtc.fyi bots.
Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc} in
preparation for removing src/third_party/libjingle in Chromium.
Changes between previous attempt and the one before that
(https://codereview.webrtc.org/1973313002) are:
* Added libstunprober target
* Adjusted warnings for Chromium's clang plugins
* webrtc/pc/externalhmac.{h,cc} added for Chromium builds.
BUG=webrtc:4256
NOTRY=True
NOPRESUBMIT=True
TBR=perkj@webrtc.org, tommi@webrtc.org
Review-Url: https://codereview.webrtc.org/2037983002
Cr-Commit-Position: refs/heads/master@{#13030}
2016-06-03 03:09:32 -07:00
|
|
|
"base/port.cc",
|
|
|
|
|
"base/port.h",
|
|
|
|
|
"base/portallocator.cc",
|
|
|
|
|
"base/portallocator.h",
|
|
|
|
|
"base/portinterface.h",
|
|
|
|
|
"base/pseudotcp.cc",
|
|
|
|
|
"base/pseudotcp.h",
|
|
|
|
|
"base/relayport.cc",
|
|
|
|
|
"base/relayport.h",
|
2016-06-18 04:23:01 -07:00
|
|
|
"base/session.cc",
|
|
|
|
|
"base/session.h",
|
Reland of GN: Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc}
The only thing that differs from the previous attempt in
https://codereview.webrtc.org/1979933002/ is that none of
the new targets are not hooked up to the webrtc target in
webrtc/BUILD.gn, which should make it not break the
chromium.webrtc.fyi bots.
Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc} in
preparation for removing src/third_party/libjingle in Chromium.
Changes between previous attempt and the one before that
(https://codereview.webrtc.org/1973313002) are:
* Added libstunprober target
* Adjusted warnings for Chromium's clang plugins
* webrtc/pc/externalhmac.{h,cc} added for Chromium builds.
BUG=webrtc:4256
NOTRY=True
NOPRESUBMIT=True
TBR=perkj@webrtc.org, tommi@webrtc.org
Review-Url: https://codereview.webrtc.org/2037983002
Cr-Commit-Position: refs/heads/master@{#13030}
2016-06-03 03:09:32 -07:00
|
|
|
"base/sessiondescription.cc",
|
|
|
|
|
"base/sessiondescription.h",
|
|
|
|
|
"base/stun.cc",
|
|
|
|
|
"base/stun.h",
|
|
|
|
|
"base/stunport.cc",
|
|
|
|
|
"base/stunport.h",
|
|
|
|
|
"base/stunrequest.cc",
|
|
|
|
|
"base/stunrequest.h",
|
|
|
|
|
"base/tcpport.cc",
|
|
|
|
|
"base/tcpport.h",
|
2016-12-06 15:28:55 -08:00
|
|
|
"base/transport.h",
|
Reland of GN: Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc}
The only thing that differs from the previous attempt in
https://codereview.webrtc.org/1979933002/ is that none of
the new targets are not hooked up to the webrtc target in
webrtc/BUILD.gn, which should make it not break the
chromium.webrtc.fyi bots.
Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc} in
preparation for removing src/third_party/libjingle in Chromium.
Changes between previous attempt and the one before that
(https://codereview.webrtc.org/1973313002) are:
* Added libstunprober target
* Adjusted warnings for Chromium's clang plugins
* webrtc/pc/externalhmac.{h,cc} added for Chromium builds.
BUG=webrtc:4256
NOTRY=True
NOPRESUBMIT=True
TBR=perkj@webrtc.org, tommi@webrtc.org
Review-Url: https://codereview.webrtc.org/2037983002
Cr-Commit-Position: refs/heads/master@{#13030}
2016-06-03 03:09:32 -07:00
|
|
|
"base/transportcontroller.cc",
|
|
|
|
|
"base/transportcontroller.h",
|
|
|
|
|
"base/transportdescription.cc",
|
|
|
|
|
"base/transportdescription.h",
|
|
|
|
|
"base/transportdescriptionfactory.cc",
|
|
|
|
|
"base/transportdescriptionfactory.h",
|
|
|
|
|
"base/transportinfo.h",
|
|
|
|
|
"base/turnport.cc",
|
|
|
|
|
"base/turnport.h",
|
|
|
|
|
"base/udpport.h",
|
2017-01-18 15:16:37 -08:00
|
|
|
"base/udptransport.cc",
|
|
|
|
|
"base/udptransport.h",
|
Reland of GN: Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc}
The only thing that differs from the previous attempt in
https://codereview.webrtc.org/1979933002/ is that none of
the new targets are not hooked up to the webrtc target in
webrtc/BUILD.gn, which should make it not break the
chromium.webrtc.fyi bots.
Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc} in
preparation for removing src/third_party/libjingle in Chromium.
Changes between previous attempt and the one before that
(https://codereview.webrtc.org/1973313002) are:
* Added libstunprober target
* Adjusted warnings for Chromium's clang plugins
* webrtc/pc/externalhmac.{h,cc} added for Chromium builds.
BUG=webrtc:4256
NOTRY=True
NOPRESUBMIT=True
TBR=perkj@webrtc.org, tommi@webrtc.org
Review-Url: https://codereview.webrtc.org/2037983002
Cr-Commit-Position: refs/heads/master@{#13030}
2016-06-03 03:09:32 -07:00
|
|
|
"client/basicportallocator.cc",
|
|
|
|
|
"client/basicportallocator.h",
|
|
|
|
|
"client/socketmonitor.cc",
|
|
|
|
|
"client/socketmonitor.h",
|
|
|
|
|
]
|
|
|
|
|
|
2017-01-23 19:39:57 -08:00
|
|
|
defines = []
|
Reland of GN: Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc}
The only thing that differs from the previous attempt in
https://codereview.webrtc.org/1979933002/ is that none of
the new targets are not hooked up to the webrtc target in
webrtc/BUILD.gn, which should make it not break the
chromium.webrtc.fyi bots.
Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc} in
preparation for removing src/third_party/libjingle in Chromium.
Changes between previous attempt and the one before that
(https://codereview.webrtc.org/1973313002) are:
* Added libstunprober target
* Adjusted warnings for Chromium's clang plugins
* webrtc/pc/externalhmac.{h,cc} added for Chromium builds.
BUG=webrtc:4256
NOTRY=True
NOPRESUBMIT=True
TBR=perkj@webrtc.org, tommi@webrtc.org
Review-Url: https://codereview.webrtc.org/2037983002
Cr-Commit-Position: refs/heads/master@{#13030}
2016-06-03 03:09:32 -07:00
|
|
|
|
|
|
|
|
deps = [
|
2017-04-21 05:17:08 -07:00
|
|
|
"../api:libjingle_peerconnection_api",
|
|
|
|
|
"../api:ortc_api",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../rtc_base:rtc_base",
|
2017-04-21 05:17:08 -07:00
|
|
|
"../system_wrappers:field_trial_api",
|
Reland of GN: Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc}
The only thing that differs from the previous attempt in
https://codereview.webrtc.org/1979933002/ is that none of
the new targets are not hooked up to the webrtc target in
webrtc/BUILD.gn, which should make it not break the
chromium.webrtc.fyi bots.
Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc} in
preparation for removing src/third_party/libjingle in Chromium.
Changes between previous attempt and the one before that
(https://codereview.webrtc.org/1973313002) are:
* Added libstunprober target
* Adjusted warnings for Chromium's clang plugins
* webrtc/pc/externalhmac.{h,cc} added for Chromium builds.
BUG=webrtc:4256
NOTRY=True
NOPRESUBMIT=True
TBR=perkj@webrtc.org, tommi@webrtc.org
Review-Url: https://codereview.webrtc.org/2037983002
Cr-Commit-Position: refs/heads/master@{#13030}
2016-06-03 03:09:32 -07:00
|
|
|
]
|
|
|
|
|
|
2016-09-05 06:10:18 -07:00
|
|
|
public_configs = [ ":rtc_p2p_inherited_config" ]
|
Reland of GN: Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc}
The only thing that differs from the previous attempt in
https://codereview.webrtc.org/1979933002/ is that none of
the new targets are not hooked up to the webrtc target in
webrtc/BUILD.gn, which should make it not break the
chromium.webrtc.fyi bots.
Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc} in
preparation for removing src/third_party/libjingle in Chromium.
Changes between previous attempt and the one before that
(https://codereview.webrtc.org/1973313002) are:
* Added libstunprober target
* Adjusted warnings for Chromium's clang plugins
* webrtc/pc/externalhmac.{h,cc} added for Chromium builds.
BUG=webrtc:4256
NOTRY=True
NOPRESUBMIT=True
TBR=perkj@webrtc.org, tommi@webrtc.org
Review-Url: https://codereview.webrtc.org/2037983002
Cr-Commit-Position: refs/heads/master@{#13030}
2016-06-03 03:09:32 -07:00
|
|
|
|
2016-06-18 04:23:01 -07:00
|
|
|
if (build_with_chromium) {
|
|
|
|
|
if (is_nacl) {
|
|
|
|
|
deps += [ "//native_client_sdk/src/libraries/nacl_io" ]
|
|
|
|
|
}
|
|
|
|
|
} else {
|
|
|
|
|
sources += [
|
|
|
|
|
"base/relayserver.cc",
|
|
|
|
|
"base/relayserver.h",
|
|
|
|
|
"base/stunserver.cc",
|
|
|
|
|
"base/stunserver.h",
|
|
|
|
|
"base/turnserver.cc",
|
|
|
|
|
"base/turnserver.h",
|
|
|
|
|
]
|
Reland of GN: Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc}
The only thing that differs from the previous attempt in
https://codereview.webrtc.org/1979933002/ is that none of
the new targets are not hooked up to the webrtc target in
webrtc/BUILD.gn, which should make it not break the
chromium.webrtc.fyi bots.
Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc} in
preparation for removing src/third_party/libjingle in Chromium.
Changes between previous attempt and the one before that
(https://codereview.webrtc.org/1973313002) are:
* Added libstunprober target
* Adjusted warnings for Chromium's clang plugins
* webrtc/pc/externalhmac.{h,cc} added for Chromium builds.
BUG=webrtc:4256
NOTRY=True
NOPRESUBMIT=True
TBR=perkj@webrtc.org, tommi@webrtc.org
Review-Url: https://codereview.webrtc.org/2037983002
Cr-Commit-Position: refs/heads/master@{#13030}
2016-06-03 03:09:32 -07:00
|
|
|
defines += [
|
|
|
|
|
"FEATURE_ENABLE_VOICEMAIL",
|
|
|
|
|
"FEATURE_ENABLE_PSTN",
|
|
|
|
|
]
|
|
|
|
|
|
2016-10-16 23:56:12 -07:00
|
|
|
if (!build_with_chromium && is_clang) {
|
|
|
|
|
# Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
|
2016-09-02 04:10:34 -07:00
|
|
|
suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
|
Reland of GN: Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc}
The only thing that differs from the previous attempt in
https://codereview.webrtc.org/1979933002/ is that none of
the new targets are not hooked up to the webrtc target in
webrtc/BUILD.gn, which should make it not break the
chromium.webrtc.fyi bots.
Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc} in
preparation for removing src/third_party/libjingle in Chromium.
Changes between previous attempt and the one before that
(https://codereview.webrtc.org/1973313002) are:
* Added libstunprober target
* Adjusted warnings for Chromium's clang plugins
* webrtc/pc/externalhmac.{h,cc} added for Chromium builds.
BUG=webrtc:4256
NOTRY=True
NOPRESUBMIT=True
TBR=perkj@webrtc.org, tommi@webrtc.org
Review-Url: https://codereview.webrtc.org/2037983002
Cr-Commit-Position: refs/heads/master@{#13030}
2016-06-03 03:09:32 -07:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (rtc_use_quic) {
|
|
|
|
|
deps = [
|
|
|
|
|
"//third_party/libquic",
|
|
|
|
|
]
|
|
|
|
|
sources += [
|
|
|
|
|
"quic/quicconnectionhelper.cc",
|
|
|
|
|
"quic/quicconnectionhelper.h",
|
|
|
|
|
"quic/quicsession.cc",
|
|
|
|
|
"quic/quicsession.h",
|
|
|
|
|
"quic/quictransport.cc",
|
|
|
|
|
"quic/quictransport.h",
|
|
|
|
|
"quic/quictransportchannel.cc",
|
|
|
|
|
"quic/quictransportchannel.h",
|
|
|
|
|
"quic/reliablequicstream.cc",
|
|
|
|
|
"quic/reliablequicstream.h",
|
|
|
|
|
]
|
|
|
|
|
public_deps += [ "//third_party/libquic" ]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2017-01-04 07:11:23 -08:00
|
|
|
if (rtc_include_tests) {
|
2017-04-18 15:49:09 -07:00
|
|
|
rtc_source_set("p2p_test_utils") {
|
2017-01-04 07:11:23 -08:00
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
2017-04-21 05:17:08 -07:00
|
|
|
"base/fakecandidatepair.h",
|
2017-03-04 15:08:44 -08:00
|
|
|
"base/fakedtlstransport.h",
|
|
|
|
|
"base/fakeicetransport.h",
|
|
|
|
|
"base/fakepackettransport.h",
|
|
|
|
|
"base/fakeportallocator.h",
|
|
|
|
|
"base/faketransportcontroller.h",
|
|
|
|
|
"base/mockicetransport.h",
|
2017-04-18 15:49:09 -07:00
|
|
|
"base/testrelayserver.h",
|
|
|
|
|
"base/teststunserver.h",
|
|
|
|
|
"base/testturnserver.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":rtc_p2p",
|
2017-04-21 05:17:08 -07:00
|
|
|
"../api:ortc_api",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../rtc_base:rtc_base",
|
|
|
|
|
"../rtc_base:rtc_base_approved",
|
|
|
|
|
"../rtc_base:rtc_base_tests_utils",
|
2017-04-21 05:17:08 -07:00
|
|
|
"../test:test_support",
|
2017-04-18 15:49:09 -07:00
|
|
|
"//testing/gmock",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_source_set("rtc_p2p_unittests") {
|
|
|
|
|
testonly = true
|
2017-04-25 04:04:50 -07:00
|
|
|
|
|
|
|
|
# Skip restricting visibility on mobile platforms since the tests on those
|
|
|
|
|
# gets additional generated targets which would require many lines here to
|
|
|
|
|
# cover (which would be confusing to read and hard to maintain).
|
|
|
|
|
if (!is_android && !is_ios) {
|
2017-07-11 06:20:45 -07:00
|
|
|
visibility = [ "..:rtc_unittests" ]
|
2017-04-25 04:04:50 -07:00
|
|
|
}
|
2017-04-18 15:49:09 -07:00
|
|
|
sources = [
|
|
|
|
|
"base/asyncstuntcpsocket_unittest.cc",
|
|
|
|
|
"base/dtlstransportchannel_unittest.cc",
|
|
|
|
|
"base/jseptransport_unittest.cc",
|
2017-01-04 07:11:23 -08:00
|
|
|
"base/p2ptransportchannel_unittest.cc",
|
2017-03-20 10:53:12 -07:00
|
|
|
"base/packetlossestimator_unittest.cc",
|
2017-01-04 07:11:23 -08:00
|
|
|
"base/port_unittest.cc",
|
|
|
|
|
"base/portallocator_unittest.cc",
|
|
|
|
|
"base/pseudotcp_unittest.cc",
|
|
|
|
|
"base/relayport_unittest.cc",
|
|
|
|
|
"base/relayserver_unittest.cc",
|
|
|
|
|
"base/stun_unittest.cc",
|
|
|
|
|
"base/stunport_unittest.cc",
|
|
|
|
|
"base/stunrequest_unittest.cc",
|
|
|
|
|
"base/stunserver_unittest.cc",
|
|
|
|
|
"base/tcpport_unittest.cc",
|
|
|
|
|
"base/transportcontroller_unittest.cc",
|
|
|
|
|
"base/transportdescriptionfactory_unittest.cc",
|
|
|
|
|
"base/turnport_unittest.cc",
|
|
|
|
|
"base/turnserver_unittest.cc",
|
2017-01-18 15:16:37 -08:00
|
|
|
"base/udptransport_unittest.cc",
|
2017-01-04 07:11:23 -08:00
|
|
|
"client/basicportallocator_unittest.cc",
|
|
|
|
|
]
|
|
|
|
|
if (rtc_use_quic) {
|
|
|
|
|
sources += [
|
|
|
|
|
"quic/quicconnectionhelper_unittest.cc",
|
|
|
|
|
"quic/quicsession_unittest.cc",
|
|
|
|
|
"quic/quictransport_unittest.cc",
|
|
|
|
|
"quic/quictransportchannel_unittest.cc",
|
|
|
|
|
"quic/reliablequicstream_unittest.cc",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
deps = [
|
2017-04-18 15:49:09 -07:00
|
|
|
":p2p_test_utils",
|
2017-01-04 07:11:23 -08:00
|
|
|
":rtc_p2p",
|
|
|
|
|
"../api:fakemetricsobserver",
|
2017-04-21 05:17:08 -07:00
|
|
|
"../api:ortc_api",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../rtc_base:rtc_base",
|
|
|
|
|
"../rtc_base:rtc_base_approved",
|
|
|
|
|
"../rtc_base:rtc_base_tests_utils",
|
2017-04-21 05:17:08 -07:00
|
|
|
"../test:test_support",
|
2017-01-04 07:11:23 -08:00
|
|
|
"//testing/gmock",
|
|
|
|
|
"//testing/gtest",
|
|
|
|
|
]
|
|
|
|
|
if (!build_with_chromium && is_clang) {
|
|
|
|
|
# Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
|
|
|
|
|
suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
|
|
|
|
|
}
|
|
|
|
|
defines = [ "GTEST_RELATIVE_PATH" ]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2016-09-23 00:38:52 -07:00
|
|
|
rtc_static_library("libstunprober") {
|
Reland of GN: Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc}
The only thing that differs from the previous attempt in
https://codereview.webrtc.org/1979933002/ is that none of
the new targets are not hooked up to the webrtc target in
webrtc/BUILD.gn, which should make it not break the
chromium.webrtc.fyi bots.
Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc} in
preparation for removing src/third_party/libjingle in Chromium.
Changes between previous attempt and the one before that
(https://codereview.webrtc.org/1973313002) are:
* Added libstunprober target
* Adjusted warnings for Chromium's clang plugins
* webrtc/pc/externalhmac.{h,cc} added for Chromium builds.
BUG=webrtc:4256
NOTRY=True
NOPRESUBMIT=True
TBR=perkj@webrtc.org, tommi@webrtc.org
Review-Url: https://codereview.webrtc.org/2037983002
Cr-Commit-Position: refs/heads/master@{#13030}
2016-06-03 03:09:32 -07:00
|
|
|
sources = [
|
|
|
|
|
"stunprober/stunprober.cc",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
if (!build_with_chromium && is_clang) {
|
|
|
|
|
# Suppress warnings from Chrome's Clang plugins.
|
|
|
|
|
# See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
|
2016-09-02 04:10:34 -07:00
|
|
|
suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
|
Reland of GN: Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc}
The only thing that differs from the previous attempt in
https://codereview.webrtc.org/1979933002/ is that none of
the new targets are not hooked up to the webrtc target in
webrtc/BUILD.gn, which should make it not break the
chromium.webrtc.fyi bots.
Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc} in
preparation for removing src/third_party/libjingle in Chromium.
Changes between previous attempt and the one before that
(https://codereview.webrtc.org/1973313002) are:
* Added libstunprober target
* Adjusted warnings for Chromium's clang plugins
* webrtc/pc/externalhmac.{h,cc} added for Chromium builds.
BUG=webrtc:4256
NOTRY=True
NOPRESUBMIT=True
TBR=perkj@webrtc.org, tommi@webrtc.org
Review-Url: https://codereview.webrtc.org/2037983002
Cr-Commit-Position: refs/heads/master@{#13030}
2016-06-03 03:09:32 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
deps = [
|
2017-04-21 05:17:08 -07:00
|
|
|
":rtc_p2p",
|
Reland of GN: Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc}
The only thing that differs from the previous attempt in
https://codereview.webrtc.org/1979933002/ is that none of
the new targets are not hooked up to the webrtc target in
webrtc/BUILD.gn, which should make it not break the
chromium.webrtc.fyi bots.
Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc} in
preparation for removing src/third_party/libjingle in Chromium.
Changes between previous attempt and the one before that
(https://codereview.webrtc.org/1973313002) are:
* Added libstunprober target
* Adjusted warnings for Chromium's clang plugins
* webrtc/pc/externalhmac.{h,cc} added for Chromium builds.
BUG=webrtc:4256
NOTRY=True
NOPRESUBMIT=True
TBR=perkj@webrtc.org, tommi@webrtc.org
Review-Url: https://codereview.webrtc.org/2037983002
Cr-Commit-Position: refs/heads/master@{#13030}
2016-06-03 03:09:32 -07:00
|
|
|
"..:webrtc_common",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../rtc_base:rtc_base",
|
Reland of GN: Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc}
The only thing that differs from the previous attempt in
https://codereview.webrtc.org/1979933002/ is that none of
the new targets are not hooked up to the webrtc target in
webrtc/BUILD.gn, which should make it not break the
chromium.webrtc.fyi bots.
Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc} in
preparation for removing src/third_party/libjingle in Chromium.
Changes between previous attempt and the one before that
(https://codereview.webrtc.org/1973313002) are:
* Added libstunprober target
* Adjusted warnings for Chromium's clang plugins
* webrtc/pc/externalhmac.{h,cc} added for Chromium builds.
BUG=webrtc:4256
NOTRY=True
NOPRESUBMIT=True
TBR=perkj@webrtc.org, tommi@webrtc.org
Review-Url: https://codereview.webrtc.org/2037983002
Cr-Commit-Position: refs/heads/master@{#13030}
2016-06-03 03:09:32 -07:00
|
|
|
]
|
|
|
|
|
}
|
2017-01-04 07:11:23 -08:00
|
|
|
|
|
|
|
|
if (rtc_include_tests) {
|
|
|
|
|
rtc_source_set("libstunprober_unittests") {
|
|
|
|
|
testonly = true
|
2017-04-25 04:04:50 -07:00
|
|
|
|
|
|
|
|
# Skip restricting visibility on mobile platforms since the tests on those
|
|
|
|
|
# gets additional generated targets which would require many lines here to
|
|
|
|
|
# cover (which would be confusing to read and hard to maintain).
|
|
|
|
|
if (!is_android && !is_ios) {
|
2017-07-11 06:20:45 -07:00
|
|
|
visibility = [ "..:rtc_unittests" ]
|
2017-04-25 04:04:50 -07:00
|
|
|
}
|
2017-01-04 07:11:23 -08:00
|
|
|
sources = [
|
|
|
|
|
"stunprober/stunprober_unittest.cc",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":libstunprober",
|
2017-04-21 05:17:08 -07:00
|
|
|
":p2p_test_utils",
|
|
|
|
|
":rtc_p2p",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../rtc_base:rtc_base",
|
|
|
|
|
"../rtc_base:rtc_base_tests_utils",
|
2017-01-04 07:11:23 -08:00
|
|
|
"//testing/gmock",
|
|
|
|
|
"//testing/gtest",
|
|
|
|
|
]
|
|
|
|
|
if (!build_with_chromium && is_clang) {
|
|
|
|
|
# Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
|
|
|
|
|
suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
|
|
|
|
|
}
|
|
|
|
|
defines = [ "GTEST_RELATIVE_PATH" ]
|
|
|
|
|
}
|
|
|
|
|
}
|