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",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2018-02-14 12:20:13 +01:00
|
|
|
rtc_source_set("callfactory_api") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
sources = [
|
2019-01-11 09:11:00 -08:00
|
|
|
"call/call_factory_interface.h",
|
2018-02-14 12:20:13 +01:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2018-11-19 09:17:51 +01:00
|
|
|
rtc_static_library("create_peerconnection_factory") {
|
2018-11-19 14:30:17 +01:00
|
|
|
visibility = [ "*" ]
|
2018-11-19 09:17:51 +01:00
|
|
|
sources = [
|
|
|
|
|
"create_peerconnection_factory.cc",
|
|
|
|
|
"create_peerconnection_factory.h",
|
|
|
|
|
]
|
2018-11-22 09:00:13 +01:00
|
|
|
deps = [
|
|
|
|
|
":callfactory_api",
|
|
|
|
|
":fec_controller_api",
|
|
|
|
|
":libjingle_peerconnection_api",
|
2019-01-25 20:26:48 +01:00
|
|
|
":scoped_refptr",
|
2018-11-22 09:00:13 +01:00
|
|
|
"../logging:rtc_event_log_api",
|
|
|
|
|
"../logging:rtc_event_log_impl_base",
|
|
|
|
|
"../media:rtc_audio_video",
|
2018-11-28 16:47:49 +01:00
|
|
|
"../media:rtc_media_base",
|
2018-11-22 09:00:13 +01:00
|
|
|
"../modules/audio_device:audio_device_api",
|
|
|
|
|
"../modules/audio_processing:api",
|
|
|
|
|
"../pc:peerconnection",
|
2019-03-21 13:35:10 +01:00
|
|
|
"../rtc_base",
|
2018-12-11 15:44:54 +01:00
|
|
|
"../rtc_base:deprecation",
|
2018-11-22 09:00:13 +01:00
|
|
|
"../rtc_base:rtc_base_approved",
|
|
|
|
|
"audio:audio_mixer_api",
|
|
|
|
|
"audio_codecs:audio_codecs_api",
|
|
|
|
|
"transport:network_control",
|
|
|
|
|
"video_codecs:video_codecs_api",
|
|
|
|
|
]
|
2018-11-19 09:17:51 +01:00
|
|
|
}
|
|
|
|
|
|
2019-03-19 14:27:03 +01:00
|
|
|
rtc_source_set("rtp_headers") {
|
|
|
|
|
visibility = [ "*" ]
|
2019-03-20 08:40:23 +01:00
|
|
|
sources = [
|
|
|
|
|
"rtp_headers.cc",
|
|
|
|
|
"rtp_headers.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":array_view",
|
|
|
|
|
"..:webrtc_common",
|
|
|
|
|
"video:video_frame",
|
|
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
|
|
|
|
]
|
2019-03-19 14:27:03 +01:00
|
|
|
}
|
|
|
|
|
|
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 = [
|
2019-01-11 09:11:00 -08:00
|
|
|
"async_resolver_factory.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",
|
2019-01-11 09:11:00 -08:00
|
|
|
"crypto/crypto_options.cc",
|
|
|
|
|
"crypto/crypto_options.h",
|
|
|
|
|
"crypto/frame_decryptor_interface.h",
|
|
|
|
|
"crypto/frame_encryptor_interface.h",
|
|
|
|
|
"crypto_params.h",
|
|
|
|
|
"data_channel_interface.cc",
|
|
|
|
|
"data_channel_interface.h",
|
|
|
|
|
"dtls_transport_interface.h",
|
|
|
|
|
"dtmf_sender_interface.h",
|
2019-01-30 14:57:03 +01:00
|
|
|
"ice_transport_interface.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",
|
2019-01-11 09:11:00 -08:00
|
|
|
"jsep_ice_candidate.cc",
|
|
|
|
|
"jsep_ice_candidate.h",
|
|
|
|
|
"jsep_session_description.h",
|
|
|
|
|
"media_stream_interface.cc",
|
|
|
|
|
"media_stream_interface.h",
|
|
|
|
|
"media_stream_proxy.h",
|
|
|
|
|
"media_stream_track_proxy.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",
|
2019-01-11 09:11:00 -08:00
|
|
|
"media_types.cc",
|
|
|
|
|
"media_types.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",
|
2019-01-11 09:11:00 -08:00
|
|
|
"peer_connection_factory_proxy.h",
|
|
|
|
|
"peer_connection_interface.cc",
|
|
|
|
|
"peer_connection_interface.h",
|
|
|
|
|
"peer_connection_proxy.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",
|
2019-01-11 09:11:00 -08:00
|
|
|
"rtc_error.cc",
|
|
|
|
|
"rtc_error.h",
|
|
|
|
|
"rtp_parameters.cc",
|
|
|
|
|
"rtp_parameters.h",
|
|
|
|
|
"rtp_receiver_interface.cc",
|
|
|
|
|
"rtp_receiver_interface.h",
|
|
|
|
|
"rtp_sender_interface.cc",
|
|
|
|
|
"rtp_sender_interface.h",
|
|
|
|
|
"rtp_transceiver_interface.cc",
|
|
|
|
|
"rtp_transceiver_interface.h",
|
2019-02-28 07:51:00 +01:00
|
|
|
"sctp_transport_interface.cc",
|
|
|
|
|
"sctp_transport_interface.h",
|
2019-01-11 09:11:00 -08:00
|
|
|
"set_remote_description_observer_interface.h",
|
|
|
|
|
"stats_types.cc",
|
|
|
|
|
"stats_types.h",
|
|
|
|
|
"turn_customizer.h",
|
|
|
|
|
"uma_metrics.h",
|
|
|
|
|
"video_track_source_proxy.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
|
|
|
]
|
|
|
|
|
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",
|
2019-01-25 20:26:48 +01:00
|
|
|
":scoped_refptr",
|
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",
|
2019-04-01 10:33:16 +02:00
|
|
|
"task_queue",
|
2018-05-07 14:01:37 +02:00
|
|
|
"transport:bitrate_settings",
|
2018-05-18 18:05:10 +02:00
|
|
|
"transport:network_control",
|
2019-02-08 00:28:39 +01:00
|
|
|
"transport/media:audio_interfaces",
|
2019-02-12 14:04:11 +01:00
|
|
|
"transport/media:video_interfaces",
|
2019-01-28 06:50:38 -08:00
|
|
|
"units:data_rate",
|
2018-10-08 11:13:58 +02:00
|
|
|
"video:encoded_image",
|
2018-05-11 11:15:30 +02:00
|
|
|
"video:video_frame",
|
2019-01-28 17:27:58 -08:00
|
|
|
"//third_party/abseil-cpp/absl/algorithm:container",
|
2018-12-11 10:15:23 -08:00
|
|
|
"//third_party/abseil-cpp/absl/strings",
|
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",
|
2019-03-21 13:35:10 +01:00
|
|
|
"../rtc_base",
|
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_approved",
|
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
|
|
|
]
|
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-11-19 15:51:39 +01:00
|
|
|
rtc_source_set("scoped_refptr") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
sources = [
|
|
|
|
|
"scoped_refptr.h",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
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",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-03-22 12:34:25 +01:00
|
|
|
rtc_source_set("video_quality_analyzer_api") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"test/video_quality_analyzer_interface.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
":stats_observer_interface",
|
|
|
|
|
"video:encoded_image",
|
|
|
|
|
"video:video_frame",
|
|
|
|
|
"video_codecs:video_codecs_api",
|
|
|
|
|
"//third_party/abseil-cpp/absl/strings",
|
|
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-04-05 15:13:23 +02:00
|
|
|
rtc_source_set("track_id_stream_label_map") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
sources = [
|
|
|
|
|
"test/track_id_stream_label_map.h",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-03-22 12:34:25 +01:00
|
|
|
rtc_source_set("audio_quality_analyzer_api") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"test/audio_quality_analyzer_interface.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
":stats_observer_interface",
|
2019-04-05 15:13:23 +02:00
|
|
|
":track_id_stream_label_map",
|
2019-03-22 12:34:25 +01:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_source_set("stats_observer_interface") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"test/stats_observer_interface.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
":libjingle_peerconnection_api",
|
|
|
|
|
"//third_party/abseil-cpp/absl/strings",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_source_set("peer_connection_quality_test_fixture_api") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"test/peerconnection_quality_test_fixture.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
":audio_quality_analyzer_api",
|
|
|
|
|
":callfactory_api",
|
|
|
|
|
":fec_controller_api",
|
|
|
|
|
":function_view",
|
|
|
|
|
":libjingle_peerconnection_api",
|
|
|
|
|
":simulated_network_api",
|
|
|
|
|
":video_quality_analyzer_api",
|
|
|
|
|
"../logging:rtc_event_log_api",
|
|
|
|
|
"../rtc_base:rtc_base",
|
|
|
|
|
"transport:network_control",
|
|
|
|
|
"units:time_delta",
|
|
|
|
|
"video_codecs:video_codecs_api",
|
|
|
|
|
"//third_party/abseil-cpp/absl/memory",
|
|
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
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",
|
2018-11-28 16:47:49 +01:00
|
|
|
"../rtc_base:checks",
|
2018-09-26 14:39:17 +02:00
|
|
|
"../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
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
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",
|
2019-01-25 20:26:48 +01:00
|
|
|
":scoped_refptr",
|
2018-06-21 16:58:01 +02:00
|
|
|
":video_quality_test_fixture_api",
|
|
|
|
|
"../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
|
|
|
]
|
|
|
|
|
}
|
2019-03-15 15:00:37 +01:00
|
|
|
|
2019-03-26 13:38:02 +01:00
|
|
|
rtc_source_set("create_network_emulation_manager") {
|
2019-03-15 15:00:37 +01:00
|
|
|
visibility = [ "*" ]
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"test/create_network_emulation_manager.cc",
|
|
|
|
|
"test/create_network_emulation_manager.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":network_emulation_manager_api",
|
|
|
|
|
"../test/scenario/network:emulated_network",
|
2019-03-21 12:18:05 +01:00
|
|
|
"//third_party/abseil-cpp/absl/memory",
|
2019-03-15 15:00:37 +01:00
|
|
|
]
|
|
|
|
|
}
|
2019-03-22 12:34:25 +01:00
|
|
|
|
|
|
|
|
rtc_source_set("create_peerconnection_quality_test_fixture") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"test/create_peerconnection_quality_test_fixture.cc",
|
|
|
|
|
"test/create_peerconnection_quality_test_fixture.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
":audio_quality_analyzer_api",
|
|
|
|
|
":peer_connection_quality_test_fixture_api",
|
|
|
|
|
":video_quality_analyzer_api",
|
|
|
|
|
"../test/pc/e2e:peerconnection_quality_test",
|
|
|
|
|
"//third_party/abseil-cpp/absl/memory",
|
|
|
|
|
]
|
|
|
|
|
}
|
2018-06-21 16:58:01 +02:00
|
|
|
}
|
|
|
|
|
|
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 = [
|
2019-01-11 09:11:00 -08:00
|
|
|
"rtc_event_log_output.h",
|
2017-10-06 13:07:32 +02:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
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 = [
|
2019-01-11 09:11:00 -08:00
|
|
|
"ortc/packet_transport_interface.h",
|
|
|
|
|
"ortc/rtp_transport_interface.h",
|
|
|
|
|
"ortc/srtp_transport_interface.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",
|
2019-03-19 14:27:03 +01:00
|
|
|
":rtp_headers",
|
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 = [
|
2019-01-11 09:11:00 -08:00
|
|
|
"stats/rtc_stats.h",
|
|
|
|
|
"stats/rtc_stats_collector_callback.h",
|
|
|
|
|
"stats/rtc_stats_report.h",
|
2016-09-15 23:33:01 -07:00
|
|
|
"stats/rtcstats_objects.h",
|
|
|
|
|
]
|
|
|
|
|
|
2016-10-20 05:06:39 -07:00
|
|
|
deps = [
|
2019-01-25 20:26:48 +01:00
|
|
|
":scoped_refptr",
|
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-11-28 16:47:49 +01:00
|
|
|
":array_view",
|
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-11-21 19:18:39 +01:00
|
|
|
rtc_source_set("bitrate_allocation") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
sources = [
|
|
|
|
|
"call/bitrate_allocation.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
"units:data_rate",
|
|
|
|
|
"units:time_delta",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2018-06-21 16:58:01 +02:00
|
|
|
rtc_source_set("simulated_network_api") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
sources = [
|
|
|
|
|
"test/simulated_network.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
2019-03-21 13:35:10 +01:00
|
|
|
"../rtc_base",
|
2018-06-21 16:58:01 +02:00
|
|
|
"../rtc_base:criticalsection",
|
2018-07-09 10:58:54 +02:00
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
2018-06-21 16:58:01 +02:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-03-15 15:00:37 +01:00
|
|
|
rtc_source_set("network_emulation_manager_api") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
sources = [
|
|
|
|
|
"test/network_emulation_manager.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":simulated_network_api",
|
2019-03-21 13:35:10 +01:00
|
|
|
"../rtc_base",
|
2019-03-15 15:00:37 +01: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
|
|
|
"../modules:module_fec_api",
|
2019-03-21 15:43:58 +01:00
|
|
|
"video:video_frame_type",
|
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 = [
|
2019-01-11 09:11:00 -08:00
|
|
|
"ref_counted_base.h",
|
2017-10-23 11:22:30 +02:00
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
"../rtc_base:rtc_base_approved",
|
2017-09-05 08:43:13 -07:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-01-30 14:57:03 +01:00
|
|
|
rtc_source_set("ice_transport_factory") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
sources = [
|
|
|
|
|
"ice_transport_factory.cc",
|
|
|
|
|
"ice_transport_factory.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":libjingle_peerconnection_api",
|
|
|
|
|
":scoped_refptr",
|
|
|
|
|
"../p2p:rtc_p2p",
|
2019-03-21 13:35:10 +01:00
|
|
|
"../rtc_base",
|
2019-04-02 11:33:59 +02:00
|
|
|
"../rtc_base/system:rtc_export",
|
2019-03-21 12:18:05 +01:00
|
|
|
"//third_party/abseil-cpp/absl/memory",
|
2019-01-30 14:57:03 +01: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",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-03-21 14:37:36 +01:00
|
|
|
rtc_source_set("function_view") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
sources = [
|
|
|
|
|
"function_view.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
"../rtc_base:checks",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
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 = [
|
2019-03-21 13:35:10 +01:00
|
|
|
"../modules/audio_processing",
|
2018-11-07 14:29:54 +00:00
|
|
|
"../modules/audio_processing:api",
|
2018-03-15 12:22:52 +01:00
|
|
|
"../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",
|
2019-03-20 10:52:18 +01:00
|
|
|
"//third_party/abseil-cpp/absl/strings",
|
2018-09-03 11:49:27 +02:00
|
|
|
]
|
|
|
|
|
}
|
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
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
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",
|
2019-03-21 15:43:58 +01:00
|
|
|
"video:video_frame_type",
|
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
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
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",
|
2019-03-25 13:53:07 -07:00
|
|
|
"//third_party/abseil-cpp/absl/algorithm:container",
|
2018-11-28 16:47:49 +01:00
|
|
|
"//third_party/abseil-cpp/absl/memory",
|
2018-10-16 10:41:42 +02:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_source_set("loopback_media_transport") {
|
|
|
|
|
testonly = true
|
|
|
|
|
|
|
|
|
|
sources = [
|
2018-11-30 09:35:52 +01:00
|
|
|
"test/loopback_media_transport.cc",
|
2018-10-16 10:41:42 +02:00
|
|
|
"test/loopback_media_transport.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
":libjingle_peerconnection_api",
|
2019-03-21 13:35:10 +01:00
|
|
|
"../rtc_base",
|
2018-10-16 10:41:42 +02:00
|
|
|
"../rtc_base:checks",
|
2019-03-25 13:53:07 -07:00
|
|
|
"//third_party/abseil-cpp/absl/algorithm:container",
|
2018-11-30 09:35:52 +01:00
|
|
|
"//third_party/abseil-cpp/absl/memory",
|
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",
|
2019-03-21 14:37:36 +01:00
|
|
|
"function_view_unittest.cc",
|
2019-01-11 09:11:00 -08:00
|
|
|
"rtc_error_unittest.cc",
|
|
|
|
|
"rtp_parameters_unittest.cc",
|
2018-10-16 10:41:42 +02:00
|
|
|
"test/loopback_media_transport_unittest.cc",
|
2017-02-16 23:31:33 -08:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
2017-09-04 05:43:17 -07:00
|
|
|
":array_view",
|
2019-03-21 14:37:36 +01:00
|
|
|
":function_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",
|
2018-11-23 13:15:08 +01:00
|
|
|
"../rtc_base:gunit_helpers",
|
2017-09-04 05:43:17 -07:00
|
|
|
"../rtc_base:rtc_base_approved",
|
2017-07-11 06:20:45 -07:00
|
|
|
"../test:test_support",
|
2019-02-26 10:18:08 +01:00
|
|
|
"task_queue:task_queue_default_factory_unittests",
|
2018-05-08 10:43:18 +02:00
|
|
|
"units:units_unittests",
|
2019-04-08 16:59:28 +02:00
|
|
|
"video:video_unittests",
|
2017-02-16 23:31:33 -08:00
|
|
|
]
|
|
|
|
|
}
|
2019-03-14 05:42:04 +01:00
|
|
|
|
|
|
|
|
rtc_source_set("compile_all_headers") {
|
|
|
|
|
testonly = true
|
|
|
|
|
|
|
|
|
|
sources = [
|
|
|
|
|
"test/compile_all_headers.cc",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
":fake_frame_decryptor",
|
|
|
|
|
":fake_frame_encryptor",
|
|
|
|
|
":fake_media_transport",
|
|
|
|
|
":loopback_media_transport",
|
|
|
|
|
":mock_audio_mixer",
|
|
|
|
|
":mock_frame_decryptor",
|
|
|
|
|
":mock_frame_encryptor",
|
|
|
|
|
":mock_peerconnectioninterface",
|
|
|
|
|
":mock_rtp",
|
|
|
|
|
":mock_video_bitrate_allocator",
|
|
|
|
|
":mock_video_bitrate_allocator_factory",
|
|
|
|
|
":mock_video_codec_factory",
|
|
|
|
|
":mock_video_decoder",
|
|
|
|
|
":mock_video_encoder",
|
|
|
|
|
":rtc_api_unittests",
|
|
|
|
|
"units:units_unittests",
|
|
|
|
|
]
|
|
|
|
|
}
|
2016-06-13 12:08:33 -07:00
|
|
|
}
|