2015-12-13 19:58:11 -08:00
|
|
|
# Copyright (c) 2015 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")
|
2016-06-29 14:55:00 +02:00
|
|
|
if (is_android) {
|
|
|
|
|
import("//build/config/android/config.gni")
|
|
|
|
|
import("//build/config/android/rules.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("api") {
|
2018-01-10 15:54:53 +00:00
|
|
|
visibility = [ "*" ]
|
2018-01-15 10:20:00 -05:00
|
|
|
deps = []
|
|
|
|
|
|
|
|
|
|
if (!build_with_mozilla) {
|
|
|
|
|
deps += [ ":libjingle_peerconnection_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-02 04:10:34 -07:00
|
|
|
rtc_source_set("call_api") {
|
2018-01-10 15:54:53 +00:00
|
|
|
visibility = [ "*" ]
|
2016-08-31 07:33:05 -07:00
|
|
|
sources = [
|
|
|
|
|
"call/audio_sink.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
# TODO(kjellander): Add remaining dependencies when webrtc:4243 is done.
|
2016-11-28 07:02:13 -08:00
|
|
|
":transport_api",
|
2016-08-31 07:33:05 -07:00
|
|
|
"..:webrtc_common",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../rtc_base:rtc_base_approved",
|
2018-02-16 13:43:49 +01:00
|
|
|
"audio:audio_mixer_api",
|
2017-02-10 08:15:44 -08:00
|
|
|
"audio_codecs:audio_codecs_api",
|
2016-08-31 07:33:05 -07:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2018-02-14 12:20:13 +01:00
|
|
|
rtc_source_set("callfactory_api") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
sources = [
|
|
|
|
|
"call/callfactoryinterface.h",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2018-11-19 09:17:51 +01:00
|
|
|
rtc_static_library("create_peerconnection_factory") {
|
|
|
|
|
sources = [
|
|
|
|
|
"create_peerconnection_factory.cc",
|
|
|
|
|
"create_peerconnection_factory.h",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2017-01-23 04:56:25 -08:00
|
|
|
rtc_static_library("libjingle_peerconnection_api") {
|
2018-01-10 15:54:53 +00:00
|
|
|
visibility = [ "*" ]
|
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
|
|
|
cflags = []
|
|
|
|
|
sources = [
|
2018-08-02 13:20:15 -07:00
|
|
|
"asyncresolverfactory.h",
|
2018-06-21 16:58:01 +02:00
|
|
|
"bitrate_constraints.h",
|
2017-10-26 11:27:17 -07:00
|
|
|
"candidate.cc",
|
2017-10-05 14:53:33 +02:00
|
|
|
"candidate.h",
|
2018-10-11 15:33:17 -07:00
|
|
|
"crypto/cryptooptions.cc",
|
|
|
|
|
"crypto/cryptooptions.h",
|
2018-08-29 13:06:15 -07:00
|
|
|
"crypto/framedecryptorinterface.h",
|
|
|
|
|
"crypto/frameencryptorinterface.h",
|
2017-11-15 13:15:17 +01:00
|
|
|
"cryptoparams.h",
|
2018-07-19 10:39:30 +02:00
|
|
|
"datachannelinterface.cc",
|
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
|
|
|
"datachannelinterface.h",
|
|
|
|
|
"dtmfsenderinterface.h",
|
2017-12-05 12:50:26 -08:00
|
|
|
"jsep.cc",
|
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
|
|
|
"jsep.h",
|
2018-07-20 11:09:32 +02:00
|
|
|
"jsepicecandidate.cc",
|
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
|
|
|
"jsepicecandidate.h",
|
|
|
|
|
"jsepsessiondescription.h",
|
2018-10-08 11:13:58 +02:00
|
|
|
"media_transport_interface.cc",
|
2018-09-05 13:41:46 -04:00
|
|
|
"media_transport_interface.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
|
|
|
"mediaconstraintsinterface.cc",
|
|
|
|
|
"mediaconstraintsinterface.h",
|
2017-01-23 04:56:25 -08:00
|
|
|
"mediastreaminterface.cc",
|
2018-01-09 10:38:21 +01:00
|
|
|
"mediastreaminterface.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
|
|
|
"mediastreamproxy.h",
|
|
|
|
|
"mediastreamtrackproxy.h",
|
2017-01-23 04:56:25 -08:00
|
|
|
"mediatypes.cc",
|
|
|
|
|
"mediatypes.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
|
|
|
"notifier.h",
|
|
|
|
|
"peerconnectionfactoryproxy.h",
|
2018-07-19 10:39:30 +02:00
|
|
|
"peerconnectioninterface.cc",
|
2018-02-14 12:20:13 +01:00
|
|
|
"peerconnectioninterface.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
|
|
|
"peerconnectionproxy.h",
|
2017-10-31 16:27:34 -07:00
|
|
|
"proxy.cc",
|
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
|
|
|
"proxy.h",
|
2017-02-16 23:31:33 -08:00
|
|
|
"rtcerror.cc",
|
|
|
|
|
"rtcerror.h",
|
2017-12-15 14:40:10 +01:00
|
|
|
"rtp_headers.cc",
|
|
|
|
|
"rtp_headers.h",
|
2017-09-01 15:29:28 +02:00
|
|
|
"rtpparameters.cc",
|
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
|
|
|
"rtpparameters.h",
|
2018-02-07 09:38:31 +01:00
|
|
|
"rtpreceiverinterface.cc",
|
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
|
|
|
"rtpreceiverinterface.h",
|
2018-08-29 17:02:10 -07:00
|
|
|
"rtpsenderinterface.cc",
|
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
|
|
|
"rtpsenderinterface.h",
|
2018-07-19 10:39:30 +02:00
|
|
|
"rtptransceiverinterface.cc",
|
2017-11-13 10:44:53 -08:00
|
|
|
"rtptransceiverinterface.h",
|
Reland "SetRemoteDescriptionObserverInterface added."
Description for changes from the original CL:
Calling legacy SRD, implemented using
SetRemoteDescriptionObserverAdapter wrapping the old observer, was
meant to have the exact same behavior as the legacy SRD implementation
which invokes the callbacks in a Post.
However, in the CL that landed and got reverted (PS1), the Adapter had
its own message handler, and callbacks would be invoked even if the PC
was destroyed.
In PS2 I've changed the Adapter to use the PeerConnection's message
handler. If the PC is destroyed, the callback will not be invoked.
This gives identical behavior to before this CL, and the legacy
behavior is covered by a new unittest.
I changed the adapter to be an implementation detail of
peerconnection.cc, therefor some stuff was moved, and the only tests
covering this is now in peerconnection_rtp_unittest.cc.
This is a reland of 6c7ec32bd63ab2b45d4d83ae1de817ee946b4d72
Original change's description:
> SetRemoteDescriptionObserverInterface added.
>
> The new observer replaced SetSessionDescriptionObserver for
> SetRemoteDescription. Unlike SetSessionDescriptionObserver,
> SetRemoteDescriptionObserverInterface is invoked synchronously so
> that the you can rely on the state of the PeerConnection to represent
> the result of the SetRemoteDescription call in the callback.
>
> The new observer succeeds or fails with an RTCError.
>
> This deprecates the need for PeerConnectionObserver::OnAdd/RemoveTrack
> and SetSessionDescriptionObserver, with the benefit that all media
> object changes can be processed in a single callback by the application
> in a synchronous callback. This will help Chromium keep objects in-sync
> across layers and threads in a non-racy and straight-forward way, see
> design doc (Proposal 2):
> https://docs.google.com/a/google.com/document/d/1-cDDC82mgU5zrHacfFz720p3xwRtuBkOPSRchh07Ho0/edit?usp=sharing
>
> An adapter for SetSessionDescriptionObserver is added to allow calling
> the old SetRemoteDescription signature and get the old behavior
> (OnSuccess/OnFailure callback in a Post) until third parties switch.
>
> Bug: webrtc:8473
> Change-Id: I3d4eb60da6dd34615f2c9f384aeaf4634e648c99
> Reviewed-on: https://webrtc-review.googlesource.com/17523
> Commit-Queue: Henrik Boström <hbos@webrtc.org>
> Reviewed-by: Peter Thatcher <pthatcher@webrtc.org>
> Reviewed-by: Guido Urdaneta <guidou@webrtc.org>
> Cr-Commit-Position: refs/heads/master@{#20841}
TBR=pthatcher@webrtc.org
Bug: webrtc:8473
Change-Id: If2b1a1929663b0e77fcc9c2ebeef043e6f73adf5
Reviewed-on: https://webrtc-review.googlesource.com/25640
Commit-Queue: Henrik Boström <hbos@webrtc.org>
Reviewed-by: Guido Urdaneta <guidou@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#20854}
2017-11-23 17:48:32 +01:00
|
|
|
"setremotedescriptionobserverinterface.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
|
|
|
"statstypes.cc",
|
|
|
|
|
"statstypes.h",
|
2017-10-10 14:01:40 +02:00
|
|
|
"turncustomizer.h",
|
2017-01-23 04:56:25 -08:00
|
|
|
"umametrics.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
|
|
|
"videosourceproxy.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
2017-12-15 14:40:10 +01:00
|
|
|
":array_view",
|
2018-01-19 11:28:54 +01:00
|
|
|
":audio_options_api",
|
2018-02-14 12:20:13 +01:00
|
|
|
":callfactory_api",
|
Revert "Revert "Enables PeerConnectionFactory using external fec controller""
This reverts commit 00733015fafbbc61ddc12dfdc88b21a9fcd9d122.
Reason for revert: The reason for a downstream test failure on the original commit and a workaround has been found. Solution is to keep a PeerConnectionFactory constructor implementation as the same as before.
Original change's description:
> Revert "Enables PeerConnectionFactory using external fec controller"
>
> This reverts commit 4f07bdb25567d8ef528311e0b50a62c61d543fc3.
>
> Reason for revert: Speculatively reverting, because downstream test is now hitting "PeerConnectionFactory.initialize was not called before creating a PeerConnectionFactory" error, even though it did call initialize. I don't see how any change in this CL could cause that, but it's the only CL on the blamelist, and it does modify PeerConnectionFactory.java
>
> Original change's description:
> > Enables PeerConnectionFactory using external fec controller
> >
> > Bug: webrtc:8799
> > Change-Id: Ieb2cf6163b9a83844ab9ed4822b4a7f1db4c24b8
> > Reviewed-on: https://webrtc-review.googlesource.com/43961
> > Commit-Queue: Ying Wang <yinwa@webrtc.org>
> > Reviewed-by: Stefan Holmer <stefan@webrtc.org>
> > Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
> > Reviewed-by: Niels Moller <nisse@webrtc.org>
> > Reviewed-by: Sami Kalliomäki <sakal@webrtc.org>
> > Cr-Commit-Position: refs/heads/master@{#22038}
>
> TBR=sakal@webrtc.org,kwiberg@webrtc.org,nisse@webrtc.org,stefan@webrtc.org,yinwa@webrtc.org
>
> Change-Id: I95868c35d6f9973e0ebf563814cd71d0fcbd433d
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Bug: webrtc:8799
> Reviewed-on: https://webrtc-review.googlesource.com/54080
> Reviewed-by: Taylor Brandstetter <deadbeef@webrtc.org>
> Commit-Queue: Taylor Brandstetter <deadbeef@webrtc.org>
> Cr-Commit-Position: refs/heads/master@{#22040}
TBR=deadbeef@webrtc.org,sakal@webrtc.org,kwiberg@webrtc.org,nisse@webrtc.org,stefan@webrtc.org,yinwa@webrtc.org
Bug: webrtc:8799
Change-Id: If9f3292bfcc739782967530c49f006d0abbc38a8
Reviewed-on: https://webrtc-review.googlesource.com/55400
Commit-Queue: Ying Wang <yinwa@webrtc.org>
Reviewed-by: Ying Wang <yinwa@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22100}
2018-02-20 12:50:27 +01:00
|
|
|
":fec_controller_api",
|
2018-02-14 12:20:13 +01:00
|
|
|
":libjingle_logging_api",
|
2016-09-15 23:33:01 -07:00
|
|
|
":rtc_stats_api",
|
2018-02-16 13:43:49 +01:00
|
|
|
"audio:audio_mixer_api",
|
2017-11-13 10:19:58 +01:00
|
|
|
"audio_codecs:audio_codecs_api",
|
2018-05-07 14:01:37 +02:00
|
|
|
"transport:bitrate_settings",
|
2018-05-18 18:05:10 +02:00
|
|
|
"transport:network_control",
|
2018-10-08 11:13:58 +02:00
|
|
|
"video:encoded_image",
|
2018-05-11 11:15:30 +02:00
|
|
|
"video:video_frame",
|
2018-06-21 13:32:56 +02:00
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
2017-11-13 10:19:58 +01:00
|
|
|
|
|
|
|
|
# Basically, don't add stuff here. You might break sensitive downstream
|
|
|
|
|
# targets like pnacl. API should not depend on anything outside of this
|
|
|
|
|
# file, really. All these should arguably go away in time.
|
2017-04-21 05:17:08 -07:00
|
|
|
"..:webrtc_common",
|
2018-02-14 12:20:13 +01:00
|
|
|
"../logging:rtc_event_log_api",
|
2018-01-23 10:37:42 +01:00
|
|
|
"../media:rtc_media_config",
|
2017-11-27 14:32:41 +01:00
|
|
|
"../modules/audio_processing:audio_processing_statistics",
|
2017-12-15 14:40:10 +01:00
|
|
|
"../rtc_base:checks",
|
|
|
|
|
"../rtc_base:deprecation",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../rtc_base:rtc_base",
|
|
|
|
|
"../rtc_base:rtc_base_approved",
|
2017-12-15 14:40:10 +01:00
|
|
|
"../rtc_base:stringutils",
|
2018-10-15 17:15:12 +02:00
|
|
|
"../rtc_base/system:rtc_export",
|
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
|
|
|
]
|
2018-02-14 12:20:13 +01:00
|
|
|
|
2017-04-21 05:17:08 -07:00
|
|
|
if (is_nacl) {
|
2017-12-19 11:45:31 +01:00
|
|
|
# This is needed by .h files included from rtc_base.
|
2017-04-21 05:17:08 -07:00
|
|
|
deps += [ "//native_client_sdk/src/libraries/nacl_io" ]
|
|
|
|
|
}
|
2017-01-23 04:56:25 -08:00
|
|
|
}
|
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
|
|
|
|
2018-06-21 16:58:01 +02:00
|
|
|
rtc_source_set("video_quality_test_fixture_api") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"test/video_quality_test_fixture.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
2018-09-26 14:39:17 +02:00
|
|
|
":fec_controller_api",
|
2018-06-21 16:58:01 +02:00
|
|
|
":libjingle_peerconnection_api",
|
|
|
|
|
":simulated_network_api",
|
|
|
|
|
"../call:fake_network",
|
|
|
|
|
"../call:rtp_interfaces",
|
|
|
|
|
"../test:test_common",
|
|
|
|
|
"../test:video_test_common",
|
|
|
|
|
"video_codecs:video_codecs_api",
|
|
|
|
|
]
|
|
|
|
|
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" ]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2018-09-26 14:39:17 +02:00
|
|
|
rtc_source_set("test_dependency_factory") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"test/test_dependency_factory.cc",
|
|
|
|
|
"test/test_dependency_factory.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":video_quality_test_fixture_api",
|
|
|
|
|
"../rtc_base:thread_checker",
|
2018-10-15 13:52:10 +09:00
|
|
|
"//third_party/abseil-cpp/absl/memory",
|
2018-09-26 14:39:17 +02:00
|
|
|
]
|
|
|
|
|
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" ]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2018-06-21 16:58:01 +02:00
|
|
|
if (rtc_include_tests) {
|
|
|
|
|
rtc_source_set("create_video_quality_test_fixture_api") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"test/create_video_quality_test_fixture.cc",
|
|
|
|
|
"test/create_video_quality_test_fixture.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":fec_controller_api",
|
|
|
|
|
":video_quality_test_fixture_api",
|
|
|
|
|
"../rtc_base:ptr_util",
|
|
|
|
|
"../video:video_quality_test",
|
Use absl::make_unique and absl::WrapUnique directly
Instead of going through our wrappers in ptr_util.h.
This CL was generated by the following script:
git grep -l ptr_util | xargs perl -pi -e 's,#include "rtc_base/ptr_util.h",#include "absl/memory/memory.h",'
git grep -l MakeUnique | xargs perl -pi -e 's,\b(rtc::)?MakeUnique\b,absl::make_unique,g'
git grep -l WrapUnique | xargs perl -pi -e 's,\b(rtc::)?WrapUnique\b,absl::WrapUnique,g'
git checkout -- rtc_base/ptr_util{.h,_unittest.cc}
git cl format
Followed by manually adding dependencies on
//third_party/abseil-cpp/absl/memory until `gn check` stopped
complaining.
Bug: webrtc:9473
Change-Id: I89ccd363f070479b8c431eb2c3d404a46eaacc1c
Reviewed-on: https://webrtc-review.googlesource.com/86600
Commit-Queue: Karl Wiberg <kwiberg@webrtc.org>
Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23850}
2018-07-05 11:40:33 +02:00
|
|
|
"//third_party/abseil-cpp/absl/memory",
|
2018-06-21 16:58:01 +02:00
|
|
|
]
|
|
|
|
|
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" ]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2017-10-06 13:07:32 +02:00
|
|
|
rtc_source_set("libjingle_logging_api") {
|
2018-01-10 15:54:53 +00:00
|
|
|
visibility = [ "*" ]
|
2017-10-06 13:07:32 +02:00
|
|
|
sources = [
|
|
|
|
|
"rtceventlogoutput.h",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2017-02-25 18:15:09 -08:00
|
|
|
rtc_source_set("ortc_api") {
|
2018-01-10 15:54:53 +00:00
|
|
|
visibility = [ "*" ]
|
2017-02-25 18:15:09 -08:00
|
|
|
sources = [
|
|
|
|
|
"ortc/packettransportinterface.h",
|
|
|
|
|
"ortc/rtptransportinterface.h",
|
2017-03-03 14:39:06 -08:00
|
|
|
"ortc/srtptransportinterface.h",
|
2017-02-25 18:15:09 -08:00
|
|
|
]
|
|
|
|
|
|
2017-11-15 13:15:17 +01:00
|
|
|
deps = [
|
2017-02-25 18:15:09 -08:00
|
|
|
":libjingle_peerconnection_api",
|
2017-11-15 13:15:17 +01:00
|
|
|
"..:webrtc_common",
|
2018-06-21 13:32:56 +02:00
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
2017-02-25 18:15:09 -08:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2016-09-15 23:33:01 -07:00
|
|
|
rtc_source_set("rtc_stats_api") {
|
2018-01-10 15:54:53 +00:00
|
|
|
visibility = [ "*" ]
|
2016-09-15 23:33:01 -07:00
|
|
|
cflags = []
|
|
|
|
|
sources = [
|
|
|
|
|
"stats/rtcstats.h",
|
|
|
|
|
"stats/rtcstats_objects.h",
|
2017-01-23 04:56:25 -08:00
|
|
|
"stats/rtcstatscollectorcallback.h",
|
2016-09-15 23:33:01 -07:00
|
|
|
"stats/rtcstatsreport.h",
|
|
|
|
|
]
|
|
|
|
|
|
2016-10-20 05:06:39 -07:00
|
|
|
deps = [
|
2017-12-13 16:05:42 +01:00
|
|
|
"../rtc_base:checks",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../rtc_base:rtc_base_approved",
|
2018-10-15 17:15:12 +02:00
|
|
|
"../rtc_base/system:rtc_export",
|
2016-10-20 05:06:39 -07:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2018-01-19 11:28:54 +01:00
|
|
|
rtc_source_set("audio_options_api") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
sources = [
|
2018-04-09 14:24:52 +02:00
|
|
|
"audio_options.cc",
|
2018-01-19 11:28:54 +01:00
|
|
|
"audio_options.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
2018-08-31 10:29:07 +02:00
|
|
|
"../rtc_base:stringutils",
|
2018-06-21 13:32:56 +02:00
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
2018-01-19 11:28:54 +01:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2016-11-28 07:02:13 -08:00
|
|
|
rtc_source_set("transport_api") {
|
2018-01-10 15:54:53 +00:00
|
|
|
visibility = [ "*" ]
|
2016-11-28 07:02:13 -08:00
|
|
|
sources = [
|
2018-02-22 14:18:06 +01:00
|
|
|
"call/transport.cc",
|
2016-11-28 07:02:13 -08:00
|
|
|
"call/transport.h",
|
|
|
|
|
]
|
|
|
|
|
}
|
2016-12-02 04:01:14 -08:00
|
|
|
|
2018-06-21 16:58:01 +02:00
|
|
|
rtc_source_set("simulated_network_api") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
sources = [
|
|
|
|
|
"test/simulated_network.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
"../rtc_base:criticalsection",
|
|
|
|
|
"../rtc_base:rtc_base",
|
2018-07-09 10:58:54 +02:00
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
2018-06-21 16:58:01 +02:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2018-01-19 17:58:57 +01:00
|
|
|
rtc_source_set("fec_controller_api") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
sources = [
|
|
|
|
|
"fec_controller.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
Revert "Revert "Enables PeerConnectionFactory using external fec controller""
This reverts commit 00733015fafbbc61ddc12dfdc88b21a9fcd9d122.
Reason for revert: The reason for a downstream test failure on the original commit and a workaround has been found. Solution is to keep a PeerConnectionFactory constructor implementation as the same as before.
Original change's description:
> Revert "Enables PeerConnectionFactory using external fec controller"
>
> This reverts commit 4f07bdb25567d8ef528311e0b50a62c61d543fc3.
>
> Reason for revert: Speculatively reverting, because downstream test is now hitting "PeerConnectionFactory.initialize was not called before creating a PeerConnectionFactory" error, even though it did call initialize. I don't see how any change in this CL could cause that, but it's the only CL on the blamelist, and it does modify PeerConnectionFactory.java
>
> Original change's description:
> > Enables PeerConnectionFactory using external fec controller
> >
> > Bug: webrtc:8799
> > Change-Id: Ieb2cf6163b9a83844ab9ed4822b4a7f1db4c24b8
> > Reviewed-on: https://webrtc-review.googlesource.com/43961
> > Commit-Queue: Ying Wang <yinwa@webrtc.org>
> > Reviewed-by: Stefan Holmer <stefan@webrtc.org>
> > Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
> > Reviewed-by: Niels Moller <nisse@webrtc.org>
> > Reviewed-by: Sami Kalliomäki <sakal@webrtc.org>
> > Cr-Commit-Position: refs/heads/master@{#22038}
>
> TBR=sakal@webrtc.org,kwiberg@webrtc.org,nisse@webrtc.org,stefan@webrtc.org,yinwa@webrtc.org
>
> Change-Id: I95868c35d6f9973e0ebf563814cd71d0fcbd433d
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Bug: webrtc:8799
> Reviewed-on: https://webrtc-review.googlesource.com/54080
> Reviewed-by: Taylor Brandstetter <deadbeef@webrtc.org>
> Commit-Queue: Taylor Brandstetter <deadbeef@webrtc.org>
> Cr-Commit-Position: refs/heads/master@{#22040}
TBR=deadbeef@webrtc.org,sakal@webrtc.org,kwiberg@webrtc.org,nisse@webrtc.org,stefan@webrtc.org,yinwa@webrtc.org
Bug: webrtc:8799
Change-Id: If9f3292bfcc739782967530c49f006d0abbc38a8
Reviewed-on: https://webrtc-review.googlesource.com/55400
Commit-Queue: Ying Wang <yinwa@webrtc.org>
Reviewed-by: Ying Wang <yinwa@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22100}
2018-02-20 12:50:27 +01:00
|
|
|
"..:webrtc_common",
|
|
|
|
|
"../modules:module_fec_api",
|
2018-01-19 17:58:57 +01:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2017-09-04 05:43:17 -07:00
|
|
|
rtc_source_set("array_view") {
|
2018-01-10 15:54:53 +00:00
|
|
|
visibility = [ "*" ]
|
2017-09-04 05:43:17 -07:00
|
|
|
sources = [
|
|
|
|
|
"array_view.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
2017-12-13 16:05:42 +01:00
|
|
|
"../rtc_base:checks",
|
|
|
|
|
"../rtc_base:type_traits",
|
2017-09-04 05:43:17 -07:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2017-10-23 11:22:30 +02:00
|
|
|
rtc_source_set("refcountedbase") {
|
2018-01-10 15:54:53 +00:00
|
|
|
visibility = [ "*" ]
|
2017-10-23 11:22:30 +02:00
|
|
|
sources = [
|
|
|
|
|
"refcountedbase.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
"../rtc_base:rtc_base_approved",
|
2017-09-05 08:43:13 -07:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2017-03-06 00:29:21 -08:00
|
|
|
rtc_source_set("libjingle_peerconnection_test_api") {
|
2018-01-10 15:54:53 +00:00
|
|
|
visibility = [ "*" ]
|
2017-03-06 00:29:21 -08:00
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"test/fakeconstraints.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
2018-01-11 10:13:56 +01:00
|
|
|
":libjingle_peerconnection_api",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../rtc_base:rtc_base_approved",
|
2017-03-06 00:29:21 -08:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2018-09-03 11:49:27 +02:00
|
|
|
rtc_source_set("neteq_simulator_api") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
sources = [
|
|
|
|
|
"test/neteq_simulator.cc",
|
|
|
|
|
"test/neteq_simulator.h",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2017-03-02 22:26:23 -08:00
|
|
|
if (rtc_include_tests) {
|
2018-03-15 12:22:52 +01:00
|
|
|
if (rtc_enable_protobuf) {
|
|
|
|
|
rtc_source_set("audioproc_f_api") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"test/audioproc_float.cc",
|
|
|
|
|
"test/audioproc_float.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
2018-11-07 14:29:54 +00:00
|
|
|
"../modules/audio_processing:api",
|
2018-03-15 12:22:52 +01:00
|
|
|
"../modules/audio_processing:audio_processing",
|
|
|
|
|
"../modules/audio_processing:audioproc_f_impl",
|
|
|
|
|
]
|
|
|
|
|
}
|
2018-09-03 11:49:27 +02:00
|
|
|
|
|
|
|
|
rtc_source_set("neteq_simulator_factory") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"test/neteq_simulator_factory.cc",
|
|
|
|
|
"test/neteq_simulator_factory.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":neteq_simulator_api",
|
|
|
|
|
"../modules/audio_coding:neteq_test_factory",
|
2018-09-11 10:30:58 +02:00
|
|
|
"../rtc_base:checks",
|
|
|
|
|
"../rtc_base:rtc_base_approved",
|
2018-09-03 11:49:27 +02:00
|
|
|
"//third_party/abseil-cpp/absl/memory",
|
|
|
|
|
]
|
|
|
|
|
}
|
2018-03-15 12:22:52 +01:00
|
|
|
}
|
|
|
|
|
|
2018-05-31 12:53:00 +02:00
|
|
|
rtc_source_set("simulcast_test_fixture_api") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"test/simulcast_test_fixture.h",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_source_set("create_simulcast_test_fixture_api") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"test/create_simulcast_test_fixture.cc",
|
|
|
|
|
"test/create_simulcast_test_fixture.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":simulcast_test_fixture_api",
|
|
|
|
|
"../modules/video_coding:simulcast_test_fixture_impl",
|
|
|
|
|
"../rtc_base:rtc_base_approved",
|
|
|
|
|
"video_codecs:video_codecs_api",
|
Use absl::make_unique and absl::WrapUnique directly
Instead of going through our wrappers in ptr_util.h.
This CL was generated by the following script:
git grep -l ptr_util | xargs perl -pi -e 's,#include "rtc_base/ptr_util.h",#include "absl/memory/memory.h",'
git grep -l MakeUnique | xargs perl -pi -e 's,\b(rtc::)?MakeUnique\b,absl::make_unique,g'
git grep -l WrapUnique | xargs perl -pi -e 's,\b(rtc::)?WrapUnique\b,absl::WrapUnique,g'
git checkout -- rtc_base/ptr_util{.h,_unittest.cc}
git cl format
Followed by manually adding dependencies on
//third_party/abseil-cpp/absl/memory until `gn check` stopped
complaining.
Bug: webrtc:9473
Change-Id: I89ccd363f070479b8c431eb2c3d404a46eaacc1c
Reviewed-on: https://webrtc-review.googlesource.com/86600
Commit-Queue: Karl Wiberg <kwiberg@webrtc.org>
Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23850}
2018-07-05 11:40:33 +02:00
|
|
|
"//third_party/abseil-cpp/absl/memory",
|
2018-05-31 12:53:00 +02:00
|
|
|
]
|
|
|
|
|
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" ]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2018-05-04 11:56:55 +02:00
|
|
|
rtc_source_set("videocodec_test_fixture_api") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"test/videocodec_test_fixture.h",
|
2018-05-22 13:34:14 +02:00
|
|
|
"test/videocodec_test_stats.cc",
|
|
|
|
|
"test/videocodec_test_stats.h",
|
2018-05-04 11:56:55 +02:00
|
|
|
]
|
|
|
|
|
deps = [
|
2018-05-22 13:34:14 +02:00
|
|
|
"..:webrtc_common",
|
|
|
|
|
"../modules/video_coding:video_codec_interface",
|
2018-09-06 13:41:30 +02:00
|
|
|
"../rtc_base:stringutils",
|
2018-05-04 11:56:55 +02:00
|
|
|
"video_codecs:video_codecs_api",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_source_set("create_videocodec_test_fixture_api") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"test/create_videocodec_test_fixture.cc",
|
|
|
|
|
"test/create_videocodec_test_fixture.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":videocodec_test_fixture_api",
|
|
|
|
|
"../modules/video_coding:video_codecs_test_framework",
|
|
|
|
|
"../modules/video_coding:videocodec_test_impl",
|
|
|
|
|
"../rtc_base:rtc_base_approved",
|
|
|
|
|
"video_codecs:video_codecs_api",
|
Use absl::make_unique and absl::WrapUnique directly
Instead of going through our wrappers in ptr_util.h.
This CL was generated by the following script:
git grep -l ptr_util | xargs perl -pi -e 's,#include "rtc_base/ptr_util.h",#include "absl/memory/memory.h",'
git grep -l MakeUnique | xargs perl -pi -e 's,\b(rtc::)?MakeUnique\b,absl::make_unique,g'
git grep -l WrapUnique | xargs perl -pi -e 's,\b(rtc::)?WrapUnique\b,absl::WrapUnique,g'
git checkout -- rtc_base/ptr_util{.h,_unittest.cc}
git cl format
Followed by manually adding dependencies on
//third_party/abseil-cpp/absl/memory until `gn check` stopped
complaining.
Bug: webrtc:9473
Change-Id: I89ccd363f070479b8c431eb2c3d404a46eaacc1c
Reviewed-on: https://webrtc-review.googlesource.com/86600
Commit-Queue: Karl Wiberg <kwiberg@webrtc.org>
Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23850}
2018-07-05 11:40:33 +02:00
|
|
|
"//third_party/abseil-cpp/absl/memory",
|
2018-05-04 11:56:55 +02:00
|
|
|
]
|
|
|
|
|
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" ]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2017-03-02 22:26:23 -08:00
|
|
|
rtc_source_set("mock_audio_mixer") {
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"test/mock_audio_mixer.h",
|
|
|
|
|
]
|
2016-06-13 12:08:33 -07:00
|
|
|
|
2017-03-02 22:26:23 -08:00
|
|
|
deps = [
|
2017-07-11 06:20:45 -07:00
|
|
|
"../test:test_support",
|
2018-02-16 13:43:49 +01:00
|
|
|
"audio:audio_mixer_api",
|
2017-03-02 22:26:23 -08:00
|
|
|
]
|
2018-06-29 15:46:44 -07:00
|
|
|
}
|
|
|
|
|
|
2018-10-25 09:52:57 -07:00
|
|
|
rtc_source_set("mock_frame_encryptor") {
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"test/mock_frame_encryptor.cc",
|
|
|
|
|
"test/mock_frame_encryptor.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":libjingle_peerconnection_api",
|
|
|
|
|
"../test:test_support",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_source_set("mock_frame_decryptor") {
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"test/mock_frame_decryptor.cc",
|
|
|
|
|
"test/mock_frame_decryptor.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":libjingle_peerconnection_api",
|
|
|
|
|
"../test:test_support",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_source_set("fake_frame_encryptor") {
|
2018-10-04 14:22:34 -07:00
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"test/fake_frame_encryptor.cc",
|
|
|
|
|
"test/fake_frame_encryptor.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":array_view",
|
|
|
|
|
":libjingle_peerconnection_api",
|
|
|
|
|
"..:webrtc_common",
|
|
|
|
|
"../rtc_base:checks",
|
|
|
|
|
"../rtc_base:rtc_base_approved",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2018-10-25 09:52:57 -07:00
|
|
|
rtc_source_set("fake_frame_decryptor") {
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"test/fake_frame_decryptor.cc",
|
|
|
|
|
"test/fake_frame_decryptor.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":array_view",
|
|
|
|
|
":libjingle_peerconnection_api",
|
|
|
|
|
"..:webrtc_common",
|
|
|
|
|
"../rtc_base:checks",
|
|
|
|
|
"../rtc_base:rtc_base_approved",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2018-06-29 15:46:44 -07:00
|
|
|
rtc_source_set("mock_peerconnectioninterface") {
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"test/mock_peerconnectioninterface.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
":libjingle_peerconnection_api",
|
|
|
|
|
"../test:test_support",
|
|
|
|
|
]
|
2017-03-02 22:26:23 -08:00
|
|
|
}
|
2016-08-10 03:10:48 -07:00
|
|
|
|
2017-12-19 10:32:11 +01:00
|
|
|
rtc_source_set("mock_rtp") {
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"test/mock_rtpreceiver.h",
|
|
|
|
|
"test/mock_rtpsender.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
":libjingle_peerconnection_api",
|
|
|
|
|
"../test:test_support",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2018-07-20 15:49:43 -07:00
|
|
|
rtc_source_set("mock_video_bitrate_allocator") {
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"test/mock_video_bitrate_allocator.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
"../api/video:video_bitrate_allocator",
|
|
|
|
|
"../test:test_support",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2018-11-08 10:02:56 -08:00
|
|
|
rtc_source_set("mock_video_bitrate_allocator_factory") {
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"test/mock_video_bitrate_allocator_factory.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
"../api/video:video_bitrate_allocator_factory",
|
|
|
|
|
"../test:test_support",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2017-10-30 23:10:12 -07:00
|
|
|
rtc_source_set("mock_video_codec_factory") {
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"test/mock_video_decoder_factory.h",
|
|
|
|
|
"test/mock_video_encoder_factory.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
2018-01-11 10:13:56 +01:00
|
|
|
"../api/video_codecs:video_codecs_api",
|
2018-10-12 10:01:30 +02:00
|
|
|
"../test:test_support",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2018-10-15 11:55:13 +02:00
|
|
|
rtc_source_set("mock_video_decoder") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"test/mock_video_decoder.cc",
|
|
|
|
|
"test/mock_video_decoder.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
"../api/video_codecs:video_codecs_api",
|
|
|
|
|
"../test:test_support",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2018-10-12 10:01:30 +02:00
|
|
|
rtc_source_set("mock_video_encoder") {
|
2018-10-15 11:55:13 +02:00
|
|
|
visibility = [ "*" ]
|
|
|
|
|
|
2018-10-12 10:01:30 +02:00
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"test/mock_video_encoder.cc",
|
|
|
|
|
"test/mock_video_encoder.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
"../api/video_codecs:video_codecs_api",
|
2017-10-30 23:10:12 -07:00
|
|
|
"../test:test_support",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2018-10-16 10:41:42 +02:00
|
|
|
rtc_source_set("fake_media_transport") {
|
|
|
|
|
testonly = true
|
|
|
|
|
|
|
|
|
|
sources = [
|
|
|
|
|
"test/fake_media_transport.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
":libjingle_peerconnection_api",
|
|
|
|
|
"../rtc_base:checks",
|
2018-10-30 21:12:42 +01:00
|
|
|
"//third_party/abseil-cpp/absl/memory:memory",
|
2018-10-16 10:41:42 +02:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_source_set("loopback_media_transport") {
|
|
|
|
|
testonly = true
|
|
|
|
|
|
|
|
|
|
sources = [
|
|
|
|
|
"test/loopback_media_transport.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
":libjingle_peerconnection_api",
|
|
|
|
|
"../rtc_base:checks",
|
2018-11-01 16:42:44 -07:00
|
|
|
"../rtc_base:rtc_base",
|
2018-10-16 10:41:42 +02:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2017-02-24 01:17:43 -08:00
|
|
|
rtc_source_set("rtc_api_unittests") {
|
2017-02-16 23:31:33 -08:00
|
|
|
testonly = true
|
2017-04-25 04:04:50 -07:00
|
|
|
|
2017-02-16 23:31:33 -08:00
|
|
|
sources = [
|
2017-09-04 05:43:17 -07:00
|
|
|
"array_view_unittest.cc",
|
2017-02-16 23:31:33 -08:00
|
|
|
"rtcerror_unittest.cc",
|
2017-09-01 15:29:28 +02:00
|
|
|
"rtpparameters_unittest.cc",
|
2018-10-16 10:41:42 +02:00
|
|
|
"test/loopback_media_transport_unittest.cc",
|
2017-02-16 23:31:33 -08:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
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" ]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
deps = [
|
2017-09-04 05:43:17 -07:00
|
|
|
":array_view",
|
2017-02-16 23:31:33 -08:00
|
|
|
":libjingle_peerconnection_api",
|
2018-10-16 10:41:42 +02:00
|
|
|
":loopback_media_transport",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../rtc_base:checks",
|
2017-09-04 05:43:17 -07:00
|
|
|
"../rtc_base:rtc_base_approved",
|
|
|
|
|
"../rtc_base:rtc_base_tests_utils",
|
2017-07-11 06:20:45 -07:00
|
|
|
"../test:test_support",
|
2018-05-08 10:43:18 +02:00
|
|
|
"units:units_unittests",
|
2017-02-16 23:31:33 -08:00
|
|
|
]
|
|
|
|
|
}
|
2016-06-13 12:08:33 -07:00
|
|
|
}
|