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.
|
|
|
|
|
|
|
|
|
|
import("../build/webrtc.gni")
|
|
|
|
|
|
|
|
|
|
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",
|
2016-06-18 04:23:01 -07:00
|
|
|
"base/dtlstransport.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/dtlstransportchannel.cc",
|
|
|
|
|
"base/dtlstransportchannel.h",
|
|
|
|
|
"base/p2pconstants.cc",
|
|
|
|
|
"base/p2pconstants.h",
|
|
|
|
|
"base/p2ptransport.cc",
|
|
|
|
|
"base/p2ptransport.h",
|
|
|
|
|
"base/p2ptransportchannel.cc",
|
|
|
|
|
"base/p2ptransportchannel.h",
|
|
|
|
|
"base/packetsocketfactory.h",
|
2016-10-18 15:38:38 -07:00
|
|
|
"base/packettransportinterface.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",
|
|
|
|
|
"base/transport.cc",
|
|
|
|
|
"base/transport.h",
|
|
|
|
|
"base/transportchannel.cc",
|
|
|
|
|
"base/transportchannel.h",
|
|
|
|
|
"base/transportchannelimpl.h",
|
|
|
|
|
"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",
|
2016-11-09 13:44:09 -08:00
|
|
|
"base/udptransportchannel.cc",
|
|
|
|
|
"base/udptransportchannel.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",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
defines = [ "FEATURE_ENABLE_SSL" ]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
"../base:rtc_base",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
if (rtc_build_expat) {
|
|
|
|
|
deps += [ "//third_party/expat" ]
|
|
|
|
|
public_deps = [
|
|
|
|
|
"//third_party/expat",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
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" ]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
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 = [
|
|
|
|
|
"..:webrtc_common",
|
|
|
|
|
"../base:rtc_base",
|
|
|
|
|
]
|
|
|
|
|
}
|