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 = [ "*" ]
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "call/audio_sink.h" ]
|
2016-08-31 07:33:05 -07:00
|
|
|
}
|
|
|
|
|
|
2018-02-14 12:20:13 +01:00
|
|
|
rtc_source_set("callfactory_api") {
|
|
|
|
|
visibility = [ "*" ]
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "call/call_factory_interface.h" ]
|
2021-05-31 14:02:28 +02:00
|
|
|
deps = [
|
|
|
|
|
"../call:rtp_interfaces",
|
|
|
|
|
"../rtc_base/system:rtc_export",
|
|
|
|
|
]
|
2018-02-14 12:20:13 +01:00
|
|
|
}
|
|
|
|
|
|
2019-06-18 16:43:37 +02:00
|
|
|
if (!build_with_chromium) {
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("create_peerconnection_factory") {
|
2019-06-18 16:43:37 +02:00
|
|
|
visibility = [ "*" ]
|
2019-07-10 12:44:43 +02:00
|
|
|
allow_poison = [ "default_task_queue" ]
|
2019-06-18 16:43:37 +02:00
|
|
|
sources = [
|
|
|
|
|
"create_peerconnection_factory.cc",
|
|
|
|
|
"create_peerconnection_factory.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":callfactory_api",
|
|
|
|
|
":libjingle_peerconnection_api",
|
|
|
|
|
":scoped_refptr",
|
|
|
|
|
"../api/rtc_event_log:rtc_event_log_factory",
|
|
|
|
|
"../media:rtc_audio_video",
|
|
|
|
|
"../media:rtc_media_base",
|
|
|
|
|
"../modules/audio_device:audio_device_api",
|
|
|
|
|
"../modules/audio_processing:api",
|
|
|
|
|
"../pc:peerconnection",
|
|
|
|
|
"../rtc_base",
|
|
|
|
|
"../rtc_base:rtc_base_approved",
|
2021-01-15 10:41:01 +01:00
|
|
|
"../rtc_base:threading",
|
2019-06-18 16:43:37 +02:00
|
|
|
"audio:audio_mixer_api",
|
|
|
|
|
"audio_codecs:audio_codecs_api",
|
|
|
|
|
"task_queue:default_task_queue_factory",
|
2020-09-22 11:36:35 +02:00
|
|
|
"transport:field_trial_based_config",
|
2019-06-18 16:43:37 +02:00
|
|
|
"video_codecs:video_codecs_api",
|
|
|
|
|
]
|
|
|
|
|
}
|
2018-11-19 09:17:51 +01:00
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("rtp_headers") {
|
2019-03-19 14:27:03 +01:00
|
|
|
visibility = [ "*" ]
|
2019-03-20 08:40:23 +01:00
|
|
|
sources = [
|
|
|
|
|
"rtp_headers.cc",
|
|
|
|
|
"rtp_headers.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":array_view",
|
2019-06-14 13:35:51 +02:00
|
|
|
"units:timestamp",
|
2019-06-10 12:59:38 +02:00
|
|
|
"video:video_rtp_headers",
|
2019-03-20 08:40:23 +01:00
|
|
|
]
|
2020-06-03 21:23:41 +02:00
|
|
|
absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
|
2019-03-19 14:27:03 +01:00
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("rtp_packet_info") {
|
2019-06-03 14:53:42 +02:00
|
|
|
visibility = [ "*" ]
|
|
|
|
|
sources = [
|
|
|
|
|
"rtp_packet_info.cc",
|
|
|
|
|
"rtp_packet_info.h",
|
|
|
|
|
"rtp_packet_infos.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":array_view",
|
|
|
|
|
":refcountedbase",
|
|
|
|
|
":rtp_headers",
|
|
|
|
|
":scoped_refptr",
|
|
|
|
|
"../rtc_base:rtc_base_approved",
|
2020-01-21 11:54:21 +01:00
|
|
|
"../rtc_base/system:rtc_export",
|
2021-04-30 13:10:56 +02:00
|
|
|
"units:timestamp",
|
2019-06-03 14:53:42 +02:00
|
|
|
]
|
2020-06-05 14:30:41 +02:00
|
|
|
absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
|
2019-06-03 14:53:42 +02:00
|
|
|
}
|
|
|
|
|
|
2021-10-13 22:50:53 +02:00
|
|
|
rtc_source_set("video_track_source_constraints") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
sources = [ "video_track_source_constraints.h" ]
|
|
|
|
|
absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("media_stream_interface") {
|
2019-09-17 10:16:05 +02:00
|
|
|
visibility = [ "*" ]
|
2019-09-17 14:30:41 +02:00
|
|
|
sources = [
|
|
|
|
|
"media_stream_interface.cc",
|
|
|
|
|
"media_stream_interface.h",
|
2020-10-11 13:03:47 +00:00
|
|
|
"media_stream_track.h",
|
2019-09-17 14:30:41 +02:00
|
|
|
"notifier.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":audio_options_api",
|
|
|
|
|
":rtp_parameters",
|
|
|
|
|
":scoped_refptr",
|
2022-03-03 05:55:22 +09:00
|
|
|
":sequence_checker",
|
2021-10-13 22:50:53 +02:00
|
|
|
":video_track_source_constraints",
|
2019-09-17 14:30:41 +02:00
|
|
|
"../modules/audio_processing:audio_processing_statistics",
|
|
|
|
|
"../rtc_base:checks",
|
|
|
|
|
"../rtc_base:refcount",
|
2022-03-03 05:55:22 +09:00
|
|
|
"../rtc_base/system:no_unique_address",
|
2019-09-17 14:30:41 +02:00
|
|
|
"../rtc_base/system:rtc_export",
|
2019-11-21 11:56:50 +01:00
|
|
|
"video:recordable_encoded_frame",
|
2019-09-17 14:30:41 +02:00
|
|
|
"video:video_frame",
|
|
|
|
|
]
|
2020-06-05 14:30:41 +02:00
|
|
|
absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
|
2019-09-17 10:16:05 +02:00
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_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 = [
|
2017-10-26 11:27:17 -07:00
|
|
|
"candidate.cc",
|
2017-10-05 14:53:33 +02:00
|
|
|
"candidate.h",
|
2021-11-04 13:52:31 +00:00
|
|
|
"crypto_params.h",
|
2019-01-11 09:11:00 -08:00
|
|
|
"data_channel_interface.cc",
|
|
|
|
|
"data_channel_interface.h",
|
2019-04-10 17:20:42 +02:00
|
|
|
"dtls_transport_interface.cc",
|
2019-01-11 09:11:00 -08:00
|
|
|
"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",
|
|
|
|
|
"peer_connection_interface.cc",
|
|
|
|
|
"peer_connection_interface.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",
|
2020-07-29 12:04:00 +02:00
|
|
|
"set_local_description_observer_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",
|
2021-05-20 22:46:31 +02:00
|
|
|
"video_track_source_proxy_factory.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",
|
2021-04-08 07:25:04 +00:00
|
|
|
":async_dns_resolver",
|
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",
|
2020-02-27 16:28:51 +01:00
|
|
|
":frame_transformer_interface",
|
2018-02-14 12:20:13 +01:00
|
|
|
":libjingle_logging_api",
|
2019-09-17 14:30:41 +02:00
|
|
|
":media_stream_interface",
|
2019-04-10 13:48:24 +02:00
|
|
|
":network_state_predictor_api",
|
2019-09-05 14:35:04 +02:00
|
|
|
":packet_socket_factory",
|
2020-05-16 08:37:49 +02:00
|
|
|
":priority",
|
2019-09-10 10:51:23 +02:00
|
|
|
":rtc_error",
|
2016-09-15 23:33:01 -07:00
|
|
|
":rtc_stats_api",
|
2019-06-03 14:53:42 +02:00
|
|
|
":rtp_packet_info",
|
2019-08-23 13:33:50 +02:00
|
|
|
":rtp_parameters",
|
2020-03-16 13:40:51 +01:00
|
|
|
":rtp_transceiver_direction",
|
2019-01-25 20:26:48 +01:00
|
|
|
":scoped_refptr",
|
2021-02-09 23:38:13 +01:00
|
|
|
":sequence_checker",
|
2021-05-31 14:02:28 +02:00
|
|
|
"../call:rtp_interfaces",
|
2021-01-15 10:41:01 +01:00
|
|
|
"../rtc_base:network_constants",
|
2020-06-11 12:26:53 +02:00
|
|
|
"adaptation:resource_adaptation_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",
|
2019-09-13 14:42:15 +02:00
|
|
|
"crypto:frame_decryptor_interface",
|
|
|
|
|
"crypto:frame_encryptor_interface",
|
|
|
|
|
"crypto:options",
|
2022-01-26 18:02:30 +01:00
|
|
|
"metronome",
|
2019-11-01 11:47:51 +01:00
|
|
|
"neteq:neteq_api",
|
2019-05-22 13:39:25 +02:00
|
|
|
"rtc_event_log",
|
2019-04-01 10:33:16 +02:00
|
|
|
"task_queue",
|
2018-05-07 14:01:37 +02:00
|
|
|
"transport:bitrate_settings",
|
2019-10-14 11:27:50 -07:00
|
|
|
"transport:enums",
|
2018-05-18 18:05:10 +02:00
|
|
|
"transport:network_control",
|
2020-08-28 09:15:15 +02:00
|
|
|
"transport:sctp_transport_factory_interface",
|
2019-11-15 17:18:52 +01:00
|
|
|
"transport:webrtc_key_value_config",
|
2019-09-02 15:16:49 +02:00
|
|
|
"transport/rtp:rtp_source",
|
2019-01-28 06:50:38 -08:00
|
|
|
"units:data_rate",
|
2019-05-30 09:15:37 -07:00
|
|
|
"units:timestamp",
|
2018-10-08 11:13:58 +02:00
|
|
|
"video:encoded_image",
|
2021-05-09 14:58:57 +00:00
|
|
|
"video:video_bitrate_allocator_factory",
|
2018-05-11 11:15:30 +02:00
|
|
|
"video:video_frame",
|
2019-06-10 12:59:38 +02:00
|
|
|
"video:video_rtp_headers",
|
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.
|
2019-09-19 11:36:35 +02:00
|
|
|
"../media:rtc_media_base",
|
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",
|
2021-01-15 10:41:01 +01:00
|
|
|
"../rtc_base:ip_address",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../rtc_base:rtc_base_approved",
|
2021-01-15 10:41:01 +01:00
|
|
|
"../rtc_base:socket_address",
|
|
|
|
|
"../rtc_base:threading",
|
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
|
|
|
]
|
2020-06-05 14:30:41 +02:00
|
|
|
absl_deps = [
|
|
|
|
|
"//third_party/abseil-cpp/absl/algorithm:container",
|
|
|
|
|
"//third_party/abseil-cpp/absl/memory",
|
|
|
|
|
"//third_party/abseil-cpp/absl/strings",
|
|
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
|
|
|
|
]
|
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
|
|
|
|
2020-02-27 16:28:51 +01:00
|
|
|
rtc_source_set("frame_transformer_interface") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
sources = [ "frame_transformer_interface.h" ]
|
|
|
|
|
deps = [
|
|
|
|
|
":scoped_refptr",
|
|
|
|
|
"../rtc_base:refcount",
|
|
|
|
|
"video:encoded_frame",
|
2020-05-14 20:01:02 +02:00
|
|
|
"video:video_frame_metadata",
|
2020-02-27 16:28:51 +01:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("rtc_error") {
|
2019-09-10 10:05:26 +02:00
|
|
|
visibility = [ "*" ]
|
2019-09-10 10:51:23 +02:00
|
|
|
sources = [
|
|
|
|
|
"rtc_error.cc",
|
|
|
|
|
"rtc_error.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
"../rtc_base:checks",
|
|
|
|
|
"../rtc_base:logging",
|
|
|
|
|
"../rtc_base:macromagic",
|
|
|
|
|
"../rtc_base/system:rtc_export",
|
|
|
|
|
]
|
2020-06-05 14:30:41 +02:00
|
|
|
absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
|
2019-09-10 10:05:26 +02:00
|
|
|
}
|
|
|
|
|
|
2019-09-05 14:35:04 +02:00
|
|
|
rtc_source_set("packet_socket_factory") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
sources = [
|
|
|
|
|
"async_resolver_factory.h",
|
|
|
|
|
"packet_socket_factory.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
2021-04-08 07:25:04 +00:00
|
|
|
":async_dns_resolver",
|
2021-10-01 15:11:17 +00:00
|
|
|
":wrapping_async_dns_resolver",
|
2021-01-15 10:41:01 +01:00
|
|
|
"../rtc_base:async_resolver_interface",
|
2019-09-05 14:35:04 +02:00
|
|
|
"../rtc_base:rtc_base",
|
2021-03-24 12:13:28 +00:00
|
|
|
"../rtc_base:socket_address",
|
2019-09-05 14:35:04 +02:00
|
|
|
"../rtc_base/system:rtc_export",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2021-04-08 07:25:04 +00:00
|
|
|
rtc_source_set("async_dns_resolver") {
|
2021-07-19 13:43:10 +02:00
|
|
|
visibility = [ "*" ]
|
2021-04-08 07:25:04 +00:00
|
|
|
sources = [ "async_dns_resolver.h" ]
|
|
|
|
|
deps = [
|
|
|
|
|
"../rtc_base:socket_address",
|
|
|
|
|
"../rtc_base/system:rtc_export",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2021-10-01 15:11:17 +00:00
|
|
|
rtc_source_set("wrapping_async_dns_resolver") {
|
|
|
|
|
visibility = [
|
|
|
|
|
":*",
|
|
|
|
|
"../p2p:rtc_p2p",
|
|
|
|
|
]
|
|
|
|
|
sources = [
|
|
|
|
|
"wrapping_async_dns_resolver.cc",
|
|
|
|
|
"wrapping_async_dns_resolver.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":async_dns_resolver",
|
|
|
|
|
":sequence_checker",
|
|
|
|
|
"../rtc_base:async_resolver_interface",
|
|
|
|
|
"../rtc_base:checks",
|
|
|
|
|
"../rtc_base:macromagic",
|
|
|
|
|
"../rtc_base:socket_address",
|
|
|
|
|
"../rtc_base:threading",
|
|
|
|
|
"../rtc_base/third_party/sigslot",
|
|
|
|
|
]
|
|
|
|
|
absl_deps = [ "//third_party/abseil-cpp/absl/memory" ]
|
|
|
|
|
}
|
|
|
|
|
|
2018-11-19 15:51:39 +01:00
|
|
|
rtc_source_set("scoped_refptr") {
|
|
|
|
|
visibility = [ "*" ]
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "scoped_refptr.h" ]
|
2018-11-19 15:51:39 +01:00
|
|
|
}
|
|
|
|
|
|
2018-06-21 16:58:01 +02:00
|
|
|
rtc_source_set("video_quality_test_fixture_api") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
testonly = true
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "test/video_quality_test_fixture.h" ]
|
2018-06-21 16:58:01 +02:00
|
|
|
deps = [
|
2018-09-26 14:39:17 +02:00
|
|
|
":fec_controller_api",
|
2018-06-21 16:58:01 +02:00
|
|
|
":libjingle_peerconnection_api",
|
2019-04-10 13:48:24 +02:00
|
|
|
":network_state_predictor_api",
|
2019-08-26 10:45:28 +02:00
|
|
|
":rtp_parameters",
|
2018-06-21 16:58:01 +02:00
|
|
|
":simulated_network_api",
|
|
|
|
|
"../call:fake_network",
|
|
|
|
|
"../call:rtp_interfaces",
|
|
|
|
|
"../test:test_common",
|
|
|
|
|
"../test:video_test_common",
|
2019-09-17 14:47:38 +02:00
|
|
|
"transport:bitrate_settings",
|
2019-04-30 14:23:51 +02:00
|
|
|
"transport:network_control",
|
2018-06-21 16:58:01 +02:00
|
|
|
"video_codecs:video_codecs_api",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-03-22 12:34:25 +01:00
|
|
|
rtc_source_set("video_quality_analyzer_api") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
testonly = true
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "test/video_quality_analyzer_interface.h" ]
|
2019-03-22 12:34:25 +01:00
|
|
|
|
|
|
|
|
deps = [
|
2020-06-02 17:18:17 +02:00
|
|
|
":array_view",
|
2019-03-22 12:34:25 +01:00
|
|
|
":stats_observer_interface",
|
|
|
|
|
"video:encoded_image",
|
|
|
|
|
"video:video_frame",
|
2019-06-10 12:59:38 +02:00
|
|
|
"video:video_rtp_headers",
|
2019-03-22 12:34:25 +01:00
|
|
|
"video_codecs:video_codecs_api",
|
2020-06-05 14:30:41 +02:00
|
|
|
]
|
|
|
|
|
absl_deps = [
|
2020-05-29 15:49:44 +02:00
|
|
|
"//third_party/abseil-cpp/absl/strings",
|
2019-03-22 12:34:25 +01:00
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-01 08:32:15 +00:00
|
|
|
rtc_source_set("track_id_stream_info_map") {
|
2019-04-05 15:13:23 +02:00
|
|
|
visibility = [ "*" ]
|
2020-07-01 08:32:15 +00:00
|
|
|
sources = [ "test/track_id_stream_info_map.h" ]
|
|
|
|
|
absl_deps = [ "//third_party/abseil-cpp/absl/strings" ]
|
2019-04-05 15:13:23 +02:00
|
|
|
}
|
|
|
|
|
|
2020-03-16 13:40:51 +01:00
|
|
|
rtc_source_set("rtp_transceiver_direction") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
sources = [ "rtp_transceiver_direction.h" ]
|
|
|
|
|
}
|
|
|
|
|
|
2020-05-16 08:37:49 +02:00
|
|
|
rtc_source_set("priority") {
|
2021-07-19 13:43:10 +02:00
|
|
|
visibility = [ "*" ]
|
2020-05-16 08:37:49 +02:00
|
|
|
sources = [ "priority.h" ]
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("rtp_parameters") {
|
2019-08-23 13:33:50 +02:00
|
|
|
visibility = [ "*" ]
|
2019-08-26 10:45:28 +02:00
|
|
|
sources = [
|
|
|
|
|
"media_types.cc",
|
|
|
|
|
"media_types.h",
|
|
|
|
|
"rtp_parameters.cc",
|
|
|
|
|
"rtp_parameters.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":array_view",
|
2020-05-16 08:37:49 +02:00
|
|
|
":priority",
|
2020-03-16 13:40:51 +01:00
|
|
|
":rtp_transceiver_direction",
|
2019-08-26 10:45:28 +02:00
|
|
|
"../rtc_base:checks",
|
|
|
|
|
"../rtc_base:stringutils",
|
|
|
|
|
"../rtc_base/system:rtc_export",
|
2020-06-05 14:30:41 +02:00
|
|
|
]
|
|
|
|
|
absl_deps = [
|
2020-03-16 22:20:47 +01:00
|
|
|
"//third_party/abseil-cpp/absl/strings",
|
2019-08-26 10:45:28 +02:00
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
|
|
|
|
]
|
2019-08-23 13:33:50 +02:00
|
|
|
}
|
|
|
|
|
|
2020-03-23 23:16:58 +00:00
|
|
|
if (is_android) {
|
2020-05-16 08:37:49 +02:00
|
|
|
java_cpp_enum("priority_enums") {
|
|
|
|
|
sources = [ "priority.h" ]
|
2020-03-23 23:16:58 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2019-03-22 12:34:25 +01:00
|
|
|
rtc_source_set("audio_quality_analyzer_api") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
testonly = true
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "test/audio_quality_analyzer_interface.h" ]
|
2019-03-22 12:34:25 +01:00
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
":stats_observer_interface",
|
2020-07-01 08:32:15 +00:00
|
|
|
":track_id_stream_info_map",
|
2019-03-22 12:34:25 +01:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_source_set("stats_observer_interface") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
testonly = true
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "test/stats_observer_interface.h" ]
|
2019-03-22 12:34:25 +01:00
|
|
|
|
2020-06-15 16:14:07 +00:00
|
|
|
deps = [ ":rtc_stats_api" ]
|
|
|
|
|
|
|
|
|
|
absl_deps = [ "//third_party/abseil-cpp/absl/strings" ]
|
2019-03-22 12:34:25 +01:00
|
|
|
}
|
|
|
|
|
|
2021-11-22 16:07:35 +01:00
|
|
|
rtc_source_set("peer_network_dependencies") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
sources = [ "test/peer_network_dependencies.h" ]
|
|
|
|
|
deps = [
|
|
|
|
|
":packet_socket_factory",
|
|
|
|
|
"../rtc_base",
|
|
|
|
|
"../rtc_base:threading",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-03-22 12:34:25 +01:00
|
|
|
rtc_source_set("peer_connection_quality_test_fixture_api") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
testonly = true
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "test/peerconnection_quality_test_fixture.h" ]
|
2019-03-22 12:34:25 +01:00
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
":audio_quality_analyzer_api",
|
|
|
|
|
":callfactory_api",
|
|
|
|
|
":fec_controller_api",
|
2019-12-04 22:34:41 +01:00
|
|
|
":frame_generator_api",
|
2019-03-22 12:34:25 +01:00
|
|
|
":function_view",
|
|
|
|
|
":libjingle_peerconnection_api",
|
2020-05-08 08:02:49 +00:00
|
|
|
":media_stream_interface",
|
2019-04-10 13:48:24 +02:00
|
|
|
":network_state_predictor_api",
|
2019-09-17 12:16:35 +02:00
|
|
|
":packet_socket_factory",
|
2021-11-22 16:07:35 +01:00
|
|
|
":peer_network_dependencies",
|
2020-05-11 21:17:25 +02:00
|
|
|
":rtp_parameters",
|
2019-03-22 12:34:25 +01:00
|
|
|
":simulated_network_api",
|
2019-08-19 14:38:06 +02:00
|
|
|
":stats_observer_interface",
|
2020-07-01 08:32:15 +00:00
|
|
|
":track_id_stream_info_map",
|
2019-03-22 12:34:25 +01:00
|
|
|
":video_quality_analyzer_api",
|
2019-05-07 11:56:44 +02:00
|
|
|
"../media:rtc_media_base",
|
2019-03-22 12:34:25 +01:00
|
|
|
"../rtc_base:rtc_base",
|
2021-01-15 10:41:01 +01:00
|
|
|
"../rtc_base:threading",
|
2019-09-04 13:16:09 +02:00
|
|
|
"rtc_event_log",
|
2019-06-10 12:58:03 +02:00
|
|
|
"task_queue",
|
2019-03-22 12:34:25 +01:00
|
|
|
"transport:network_control",
|
|
|
|
|
"units:time_delta",
|
2019-11-12 17:27:44 +01:00
|
|
|
"video:video_frame",
|
2019-03-22 12:34:25 +01:00
|
|
|
"video_codecs:video_codecs_api",
|
2020-06-05 14:30:41 +02:00
|
|
|
]
|
|
|
|
|
absl_deps = [
|
2019-03-22 12:34:25 +01:00
|
|
|
"//third_party/abseil-cpp/absl/memory",
|
2020-02-27 13:24:19 +01:00
|
|
|
"//third_party/abseil-cpp/absl/strings",
|
2019-03-22 12:34:25 +01:00
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-12-04 12:37:13 +01:00
|
|
|
rtc_source_set("frame_generator_api") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
testonly = true
|
2020-09-28 12:04:11 +02:00
|
|
|
sources = [
|
|
|
|
|
"test/frame_generator_interface.cc",
|
|
|
|
|
"test/frame_generator_interface.h",
|
|
|
|
|
]
|
2019-12-04 12:37:13 +01:00
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
":scoped_refptr",
|
|
|
|
|
"video:video_frame",
|
|
|
|
|
]
|
2020-06-05 14:30:41 +02:00
|
|
|
absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
|
2019-12-04 12:37:13 +01:00
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("test_dependency_factory") {
|
2018-09-26 14:39:17 +02:00
|
|
|
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",
|
2020-05-15 10:09:27 +02:00
|
|
|
"../rtc_base:platform_thread_types",
|
2018-09-26 14:39:17 +02:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2018-06-21 16:58:01 +02:00
|
|
|
if (rtc_include_tests) {
|
2019-12-04 14:26:50 +01:00
|
|
|
# TODO(srte): Move to network_emulation sub directory.
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("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",
|
2019-07-05 10:48:17 +02:00
|
|
|
"../test/network:emulated_network",
|
2019-03-15 15:00:37 +01:00
|
|
|
]
|
|
|
|
|
}
|
2019-03-22 12:34:25 +01:00
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
if (!build_with_chromium) {
|
|
|
|
|
rtc_library("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",
|
|
|
|
|
":network_state_predictor_api",
|
|
|
|
|
":scoped_refptr",
|
|
|
|
|
":video_quality_test_fixture_api",
|
|
|
|
|
"../video:video_quality_test",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_library("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",
|
|
|
|
|
":time_controller",
|
|
|
|
|
":video_quality_analyzer_api",
|
|
|
|
|
"../test/pc/e2e:peerconnection_quality_test",
|
|
|
|
|
]
|
|
|
|
|
}
|
2019-03-22 12:34:25 +01:00
|
|
|
}
|
2019-12-05 15:59:00 +01:00
|
|
|
}
|
2019-12-04 12:37:13 +01:00
|
|
|
|
2019-12-05 15:59:00 +01:00
|
|
|
rtc_library("create_frame_generator") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"test/create_frame_generator.cc",
|
|
|
|
|
"test/create_frame_generator.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":frame_generator_api",
|
|
|
|
|
"../rtc_base:checks",
|
|
|
|
|
"../system_wrappers",
|
|
|
|
|
"../test:frame_generator_impl",
|
|
|
|
|
]
|
2020-06-05 14:30:41 +02:00
|
|
|
absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
|
2018-06-21 16:58:01 +02:00
|
|
|
}
|
|
|
|
|
|
2020-05-04 17:27:09 +00:00
|
|
|
rtc_library("create_peer_connection_quality_test_frame_generator") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"test/create_peer_connection_quality_test_frame_generator.cc",
|
|
|
|
|
"test/create_peer_connection_quality_test_frame_generator.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":create_frame_generator",
|
|
|
|
|
":frame_generator_api",
|
|
|
|
|
":peer_connection_quality_test_fixture_api",
|
2020-05-07 07:19:15 +00:00
|
|
|
"../rtc_base:checks",
|
2020-05-04 17:27:09 +00:00
|
|
|
"../test:fileutils",
|
|
|
|
|
]
|
2020-06-05 14:30:41 +02:00
|
|
|
absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
|
2020-05-04 17:27:09 +00:00
|
|
|
}
|
|
|
|
|
|
2017-10-06 13:07:32 +02:00
|
|
|
rtc_source_set("libjingle_logging_api") {
|
2018-01-10 15:54:53 +00:00
|
|
|
visibility = [ "*" ]
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "rtc_event_log_output.h" ]
|
2017-10-06 13:07:32 +02:00
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("rtc_event_log_output_file") {
|
2019-05-08 13:53:51 +02:00
|
|
|
visibility = [ "*" ]
|
|
|
|
|
sources = [
|
|
|
|
|
"rtc_event_log_output_file.cc",
|
|
|
|
|
"rtc_event_log_output_file.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
":libjingle_logging_api",
|
|
|
|
|
"../rtc_base:checks",
|
|
|
|
|
"../rtc_base:rtc_base_approved",
|
|
|
|
|
"../rtc_base/system:file_wrapper",
|
2019-05-22 13:39:25 +02:00
|
|
|
"rtc_event_log",
|
2019-05-08 13:53:51 +02: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",
|
2021-04-20 16:58:01 +02:00
|
|
|
"../api:refcountedbase",
|
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
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("audio_options_api") {
|
2018-01-19 11:28:54 +01:00
|
|
|
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",
|
2019-12-02 10:26:34 -08:00
|
|
|
"../rtc_base/system:rtc_export",
|
2018-01-19 11:28:54 +01:00
|
|
|
]
|
2020-06-05 14:30:41 +02:00
|
|
|
absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
|
2018-01-19 11:28:54 +01:00
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("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",
|
|
|
|
|
]
|
2021-01-25 17:02:57 +01:00
|
|
|
deps = [
|
|
|
|
|
":refcountedbase",
|
|
|
|
|
":scoped_refptr",
|
|
|
|
|
]
|
2016-11-28 07:02:13 -08:00
|
|
|
}
|
2016-12-02 04:01:14 -08:00
|
|
|
|
2018-11-21 19:18:39 +01:00
|
|
|
rtc_source_set("bitrate_allocation") {
|
|
|
|
|
visibility = [ "*" ]
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "call/bitrate_allocation.h" ]
|
2018-11-21 19:18:39 +01:00
|
|
|
deps = [
|
|
|
|
|
"units:data_rate",
|
|
|
|
|
"units:time_delta",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-12-04 14:26:50 +01:00
|
|
|
# TODO(srte): Move to network_emulation sub directory.
|
2018-06-21 16:58:01 +02:00
|
|
|
rtc_source_set("simulated_network_api") {
|
|
|
|
|
visibility = [ "*" ]
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "test/simulated_network.h" ]
|
2020-07-16 14:15:23 +02:00
|
|
|
deps = [ "../rtc_base" ]
|
2020-06-05 14:30:41 +02:00
|
|
|
absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
|
2018-06-21 16:58:01 +02:00
|
|
|
}
|
|
|
|
|
|
2019-12-04 14:26:50 +01:00
|
|
|
# TODO(srte): Move to network_emulation sub directory.
|
2019-03-15 15:00:37 +01:00
|
|
|
rtc_source_set("network_emulation_manager_api") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
sources = [
|
2019-12-04 14:26:50 +01:00
|
|
|
"test/network_emulation_manager.cc",
|
2019-03-15 15:00:37 +01:00
|
|
|
"test/network_emulation_manager.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
2020-07-28 13:45:16 +02:00
|
|
|
":array_view",
|
2021-09-09 15:54:42 +02:00
|
|
|
":packet_socket_factory",
|
2021-11-22 16:07:35 +01:00
|
|
|
":peer_network_dependencies",
|
2019-03-15 15:00:37 +01:00
|
|
|
":simulated_network_api",
|
2020-01-22 10:12:56 +01:00
|
|
|
":time_controller",
|
2019-12-04 14:26:50 +01:00
|
|
|
"../call:simulated_network",
|
2019-03-21 13:35:10 +01:00
|
|
|
"../rtc_base",
|
2021-01-15 10:41:01 +01:00
|
|
|
"../rtc_base:network_constants",
|
|
|
|
|
"../rtc_base:threading",
|
2019-12-04 14:26:50 +01:00
|
|
|
"test/network_emulation",
|
2019-04-12 12:17:19 +02:00
|
|
|
"units:data_rate",
|
|
|
|
|
"units:data_size",
|
|
|
|
|
"units:timestamp",
|
2019-03-15 15:00:37 +01:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2020-01-22 10:12:56 +01:00
|
|
|
rtc_source_set("time_controller") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
sources = [
|
|
|
|
|
"test/time_controller.cc",
|
|
|
|
|
"test/time_controller.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
"../modules/utility",
|
|
|
|
|
"../rtc_base",
|
2021-01-15 10:41:01 +01:00
|
|
|
"../rtc_base:threading",
|
2020-01-22 10:12:56 +01:00
|
|
|
"../rtc_base/synchronization:yield_policy",
|
|
|
|
|
"../system_wrappers",
|
|
|
|
|
"task_queue",
|
|
|
|
|
"units:time_delta",
|
|
|
|
|
"units:timestamp",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2018-01-19 17:58:57 +01:00
|
|
|
rtc_source_set("fec_controller_api") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
sources = [
|
|
|
|
|
"fec_controller.h",
|
2019-06-28 15:19:43 +02:00
|
|
|
"fec_controller_override.h",
|
2018-01-19 17:58:57 +01:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
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
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-04-10 13:48:24 +02:00
|
|
|
rtc_source_set("network_state_predictor_api") {
|
|
|
|
|
visibility = [ "*" ]
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "network_state_predictor.h" ]
|
2019-04-10 13:48:24 +02:00
|
|
|
}
|
|
|
|
|
|
2017-09-04 05:43:17 -07:00
|
|
|
rtc_source_set("array_view") {
|
2018-01-10 15:54:53 +00:00
|
|
|
visibility = [ "*" ]
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "array_view.h" ]
|
2017-09-04 05:43:17 -07:00
|
|
|
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 = [ "*" ]
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "ref_counted_base.h" ]
|
2021-04-20 16:58:01 +02:00
|
|
|
deps = [
|
|
|
|
|
"../rtc_base:macromagic",
|
|
|
|
|
"../rtc_base:refcount",
|
|
|
|
|
]
|
2017-09-05 08:43:13 -07:00
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("ice_transport_factory") {
|
2019-01-30 14:57:03 +01:00
|
|
|
visibility = [ "*" ]
|
|
|
|
|
sources = [
|
|
|
|
|
"ice_transport_factory.cc",
|
|
|
|
|
"ice_transport_factory.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":libjingle_peerconnection_api",
|
2019-09-17 12:16:35 +02:00
|
|
|
":packet_socket_factory",
|
2019-01-30 14:57:03 +01:00
|
|
|
":scoped_refptr",
|
|
|
|
|
"../p2p:rtc_p2p",
|
2019-03-21 13:35:10 +01:00
|
|
|
"../rtc_base",
|
2021-01-15 10:41:01 +01:00
|
|
|
"../rtc_base:threading",
|
2019-04-02 11:33:59 +02:00
|
|
|
"../rtc_base/system:rtc_export",
|
2019-07-01 14:07:33 -07:00
|
|
|
"rtc_event_log:rtc_event_log",
|
2019-01-30 14:57:03 +01:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("neteq_simulator_api") {
|
2018-09-03 11:49:27 +02:00
|
|
|
visibility = [ "*" ]
|
|
|
|
|
sources = [
|
|
|
|
|
"test/neteq_simulator.cc",
|
|
|
|
|
"test/neteq_simulator.h",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-03-21 14:37:36 +01:00
|
|
|
rtc_source_set("function_view") {
|
|
|
|
|
visibility = [ "*" ]
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "function_view.h" ]
|
|
|
|
|
deps = [ "../rtc_base:checks" ]
|
2019-03-21 14:37:36 +01:00
|
|
|
}
|
|
|
|
|
|
2021-02-04 15:06:50 +01:00
|
|
|
rtc_source_set("sequence_checker") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
sources = [ "sequence_checker.h" ]
|
|
|
|
|
deps = [
|
|
|
|
|
"../rtc_base:checks",
|
|
|
|
|
"../rtc_base:macromagic",
|
|
|
|
|
"../rtc_base/synchronization:sequence_checker_internal",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2017-03-02 22:26:23 -08:00
|
|
|
if (rtc_include_tests) {
|
2021-02-01 09:56:37 +00:00
|
|
|
if (rtc_enable_protobuf && !build_with_chromium) {
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("audioproc_f_api") {
|
2018-03-15 12:22:52 +01:00
|
|
|
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
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("neteq_simulator_factory") {
|
2018-09-03 11:49:27 +02:00
|
|
|
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",
|
2020-01-16 17:17:09 +01:00
|
|
|
"neteq:neteq_api",
|
2020-06-05 14:30:41 +02:00
|
|
|
]
|
|
|
|
|
absl_deps = [
|
2019-07-18 13:44:12 +02:00
|
|
|
"//third_party/abseil-cpp/absl/flags:flag",
|
|
|
|
|
"//third_party/abseil-cpp/absl/flags:parse",
|
2019-03-20 10:52:18 +01:00
|
|
|
"//third_party/abseil-cpp/absl/strings",
|
2020-03-24 15:59:26 +01:00
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
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
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "test/simulcast_test_fixture.h" ]
|
2018-05-31 12:53:00 +02:00
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("create_simulcast_test_fixture_api") {
|
2018-05-31 12:53:00 +02:00
|
|
|
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",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("videocodec_test_fixture_api") {
|
2018-05-04 11:56:55 +02:00
|
|
|
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
|
|
|
"../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",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("create_videocodec_test_fixture_api") {
|
2018-05-04 11:56:55 +02:00
|
|
|
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",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2017-03-02 22:26:23 -08:00
|
|
|
rtc_source_set("mock_audio_mixer") {
|
2021-07-19 13:43:10 +02:00
|
|
|
visibility = [ "*" ]
|
2017-03-02 22:26:23 -08:00
|
|
|
testonly = true
|
2020-01-21 12:10:10 +01:00
|
|
|
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
|
|
|
}
|
|
|
|
|
|
2021-07-16 17:13:54 +02:00
|
|
|
rtc_source_set("mock_audio_sink") {
|
2021-07-17 00:48:10 +02:00
|
|
|
visibility = [ "*" ]
|
2021-07-16 17:13:54 +02:00
|
|
|
testonly = true
|
|
|
|
|
sources = [ "test/mock_audio_sink.h" ]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
"../api:media_stream_interface",
|
|
|
|
|
"../test:test_support",
|
|
|
|
|
]
|
|
|
|
|
absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
|
|
|
|
|
}
|
|
|
|
|
|
2020-11-04 19:21:49 -08:00
|
|
|
rtc_source_set("mock_data_channel") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [ "test/mock_data_channel.h" ]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
":libjingle_peerconnection_api",
|
|
|
|
|
"../test:test_support",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-07-02 11:20:09 +02:00
|
|
|
rtc_source_set("mock_fec_controller_override") {
|
2021-07-19 13:43:10 +02:00
|
|
|
visibility = [ "*" ]
|
2019-07-02 11:20:09 +02:00
|
|
|
testonly = true
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "test/mock_fec_controller_override.h" ]
|
2019-07-02 11:20:09 +02:00
|
|
|
deps = [
|
|
|
|
|
":fec_controller_api",
|
|
|
|
|
"../test:test_support",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("mock_frame_encryptor") {
|
2021-07-19 13:43:10 +02:00
|
|
|
visibility = [ "*" ]
|
2018-10-25 09:52:57 -07:00
|
|
|
testonly = true
|
2020-05-08 15:03:03 +02:00
|
|
|
sources = [ "test/mock_frame_encryptor.h" ]
|
2018-10-25 09:52:57 -07:00
|
|
|
deps = [
|
2019-08-29 12:16:56 +02:00
|
|
|
# For api/crypto/frame_encryptor_interface.h
|
2018-10-25 09:52:57 -07:00
|
|
|
":libjingle_peerconnection_api",
|
|
|
|
|
"../test:test_support",
|
2019-09-13 14:42:15 +02:00
|
|
|
"crypto:frame_encryptor_interface",
|
2018-10-25 09:52:57 -07:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("mock_frame_decryptor") {
|
2021-07-19 13:43:10 +02:00
|
|
|
visibility = [ "*" ]
|
2018-10-25 09:52:57 -07:00
|
|
|
testonly = true
|
2020-05-08 15:03:03 +02:00
|
|
|
sources = [ "test/mock_frame_decryptor.h" ]
|
2018-10-25 09:52:57 -07:00
|
|
|
deps = [
|
|
|
|
|
":libjingle_peerconnection_api",
|
|
|
|
|
"../test:test_support",
|
2019-09-13 14:42:15 +02:00
|
|
|
"crypto:frame_decryptor_interface",
|
2018-10-25 09:52:57 -07:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("fake_frame_encryptor") {
|
2021-07-19 13:43:10 +02:00
|
|
|
visibility = [ "*" ]
|
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",
|
2019-08-26 10:45:28 +02:00
|
|
|
":rtp_parameters",
|
2018-10-04 14:22:34 -07:00
|
|
|
"../rtc_base:checks",
|
|
|
|
|
"../rtc_base:rtc_base_approved",
|
2019-09-13 14:42:15 +02:00
|
|
|
"crypto:frame_encryptor_interface",
|
2018-10-04 14:22:34 -07:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("fake_frame_decryptor") {
|
2021-07-19 13:43:10 +02:00
|
|
|
visibility = [ "*" ]
|
2018-10-25 09:52:57 -07:00
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"test/fake_frame_decryptor.cc",
|
|
|
|
|
"test/fake_frame_decryptor.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":array_view",
|
|
|
|
|
":libjingle_peerconnection_api",
|
2019-08-26 10:45:28 +02:00
|
|
|
":rtp_parameters",
|
2018-10-25 09:52:57 -07:00
|
|
|
"../rtc_base:checks",
|
|
|
|
|
"../rtc_base:rtc_base_approved",
|
2019-09-13 14:42:15 +02:00
|
|
|
"crypto:frame_decryptor_interface",
|
2018-10-25 09:52:57 -07:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2020-11-05 14:32:18 -08:00
|
|
|
rtc_source_set("mock_media_stream_interface") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [ "test/mock_media_stream_interface.h" ]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
":media_stream_interface",
|
|
|
|
|
"../test:test_support",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-09-13 14:45:55 +02:00
|
|
|
rtc_source_set("dummy_peer_connection") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
testonly = true
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "test/dummy_peer_connection.h" ]
|
2019-09-13 14:45:55 +02:00
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
":libjingle_peerconnection_api",
|
|
|
|
|
":rtc_error",
|
|
|
|
|
"../rtc_base:checks",
|
|
|
|
|
"../rtc_base:refcount",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2018-06-29 15:46:44 -07:00
|
|
|
rtc_source_set("mock_peerconnectioninterface") {
|
2020-06-02 14:34:17 -07:00
|
|
|
visibility = [ "*" ]
|
2018-06-29 15:46:44 -07:00
|
|
|
testonly = true
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "test/mock_peerconnectioninterface.h" ]
|
2018-06-29 15:46:44 -07:00
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
":libjingle_peerconnection_api",
|
2021-07-16 17:36:52 +02:00
|
|
|
"../api:scoped_refptr",
|
|
|
|
|
"../rtc_base:refcount",
|
2018-06-29 15:46:44 -07:00
|
|
|
"../test:test_support",
|
|
|
|
|
]
|
2017-03-02 22:26:23 -08:00
|
|
|
}
|
2016-08-10 03:10:48 -07:00
|
|
|
|
2020-06-03 09:18:24 -07:00
|
|
|
rtc_source_set("mock_peer_connection_factory_interface") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [ "test/mock_peer_connection_factory_interface.h" ]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
":libjingle_peerconnection_api",
|
|
|
|
|
"../test:test_support",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2021-04-08 07:25:04 +00:00
|
|
|
rtc_source_set("mock_async_dns_resolver") {
|
2021-07-19 13:43:10 +02:00
|
|
|
visibility = [ "*" ]
|
2021-04-08 07:25:04 +00:00
|
|
|
testonly = true
|
|
|
|
|
sources = [ "test/mock_async_dns_resolver.h" ]
|
|
|
|
|
deps = [
|
|
|
|
|
":async_dns_resolver",
|
|
|
|
|
"../test:test_support",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2017-12-19 10:32:11 +01:00
|
|
|
rtc_source_set("mock_rtp") {
|
2020-11-05 14:37:22 -08:00
|
|
|
visibility = [ "*" ]
|
2017-12-19 10:32:11 +01:00
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
2020-11-05 14:37:22 -08:00
|
|
|
"test/mock_rtp_transceiver.h",
|
2017-12-19 10:32:11 +01:00
|
|
|
"test/mock_rtpreceiver.h",
|
|
|
|
|
"test/mock_rtpsender.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
":libjingle_peerconnection_api",
|
|
|
|
|
"../test:test_support",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2020-05-15 08:24:17 +02:00
|
|
|
rtc_source_set("mock_transformable_video_frame") {
|
2021-07-19 13:43:10 +02:00
|
|
|
visibility = [ "*" ]
|
2020-05-15 08:24:17 +02:00
|
|
|
testonly = true
|
|
|
|
|
sources = [ "test/mock_transformable_video_frame.h" ]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
":frame_transformer_interface",
|
|
|
|
|
"../test:test_support",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2018-07-20 15:49:43 -07:00
|
|
|
rtc_source_set("mock_video_bitrate_allocator") {
|
2021-07-19 13:43:10 +02:00
|
|
|
visibility = [ "*" ]
|
2018-07-20 15:49:43 -07:00
|
|
|
testonly = true
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "test/mock_video_bitrate_allocator.h" ]
|
2018-07-20 15:49:43 -07:00
|
|
|
|
|
|
|
|
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") {
|
2021-07-19 13:43:10 +02:00
|
|
|
visibility = [ "*" ]
|
2018-11-08 10:02:56 -08:00
|
|
|
testonly = true
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "test/mock_video_bitrate_allocator_factory.h" ]
|
2018-11-08 10:02:56 -08:00
|
|
|
|
|
|
|
|
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") {
|
2021-07-19 13:43:10 +02:00
|
|
|
visibility = [ "*" ]
|
2017-10-30 23:10:12 -07:00
|
|
|
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",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("mock_video_decoder") {
|
2018-10-15 11:55:13 +02:00
|
|
|
visibility = [ "*" ]
|
|
|
|
|
testonly = true
|
2020-05-08 15:03:03 +02:00
|
|
|
sources = [ "test/mock_video_decoder.h" ]
|
2018-10-15 11:55:13 +02:00
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
"../api/video_codecs:video_codecs_api",
|
|
|
|
|
"../test:test_support",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("mock_video_encoder") {
|
2018-10-15 11:55:13 +02:00
|
|
|
visibility = [ "*" ]
|
2018-10-12 10:01:30 +02:00
|
|
|
testonly = true
|
2020-05-08 15:03:03 +02:00
|
|
|
sources = [ "test/mock_video_encoder.h" ]
|
2018-10-12 10:01:30 +02:00
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
"../api/video_codecs:video_codecs_api",
|
2017-10-30 23:10:12 -07:00
|
|
|
"../test:test_support",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2021-07-17 01:32:40 +02:00
|
|
|
rtc_library("mock_video_track") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [ "test/mock_video_track.h" ]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
"../api:media_stream_interface",
|
|
|
|
|
"../api:scoped_refptr",
|
|
|
|
|
"../rtc_base:refcount",
|
|
|
|
|
"../test:test_support",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-11-21 10:37:18 -08:00
|
|
|
rtc_library("create_time_controller") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"test/create_time_controller.cc",
|
|
|
|
|
"test/create_time_controller.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
2020-01-23 10:00:33 +01:00
|
|
|
":callfactory_api",
|
2019-11-21 10:37:18 -08:00
|
|
|
":time_controller",
|
2020-02-03 09:30:07 +01:00
|
|
|
"../call",
|
2020-01-23 10:00:33 +01:00
|
|
|
"../call:call_interfaces",
|
2021-05-31 14:02:28 +02:00
|
|
|
"../call:rtp_interfaces",
|
2019-11-21 10:37:18 -08:00
|
|
|
"../test/time_controller",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("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",
|
2019-05-08 13:53:51 +02:00
|
|
|
"rtc_event_log_output_file_unittest.cc",
|
2019-06-03 14:53:42 +02:00
|
|
|
"rtp_packet_info_unittest.cc",
|
|
|
|
|
"rtp_packet_infos_unittest.cc",
|
2019-01-11 09:11:00 -08:00
|
|
|
"rtp_parameters_unittest.cc",
|
2019-11-12 10:24:43 +01:00
|
|
|
"scoped_refptr_unittest.cc",
|
2021-02-04 15:06:50 +01:00
|
|
|
"sequence_checker_unittest.cc",
|
2019-11-21 10:37:18 -08:00
|
|
|
"test/create_time_controller_unittest.cc",
|
2017-02-16 23:31:33 -08:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
2017-09-04 05:43:17 -07:00
|
|
|
":array_view",
|
2019-11-21 10:37:18 -08:00
|
|
|
":create_time_controller",
|
2019-03-21 14:37:36 +01:00
|
|
|
":function_view",
|
2017-02-16 23:31:33 -08:00
|
|
|
":libjingle_peerconnection_api",
|
2019-09-10 10:51:23 +02:00
|
|
|
":rtc_error",
|
2019-05-08 13:53:51 +02:00
|
|
|
":rtc_event_log_output_file",
|
2019-06-03 14:53:42 +02:00
|
|
|
":rtp_packet_info",
|
2019-08-26 10:45:28 +02:00
|
|
|
":rtp_parameters",
|
2019-11-12 10:24:43 +01:00
|
|
|
":scoped_refptr",
|
2021-02-04 15:06:50 +01:00
|
|
|
":sequence_checker",
|
2019-11-21 10:37:18 -08:00
|
|
|
":time_controller",
|
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",
|
2019-11-21 10:37:18 -08:00
|
|
|
"../rtc_base:rtc_task_queue",
|
2021-02-04 15:06:50 +01:00
|
|
|
"../rtc_base:task_queue_for_test",
|
2019-11-21 10:37:18 -08:00
|
|
|
"../rtc_base/task_utils:repeating_task",
|
2019-05-08 13:53:51 +02:00
|
|
|
"../test:fileutils",
|
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",
|
2019-11-21 10:37:18 -08:00
|
|
|
"units:time_delta",
|
|
|
|
|
"units:timestamp",
|
2018-05-08 10:43:18 +02:00
|
|
|
"units:units_unittests",
|
2021-06-24 14:41:23 +02:00
|
|
|
"video:rtp_video_frame_assembler_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
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("compile_all_headers") {
|
2019-03-14 05:42:04 +01:00
|
|
|
testonly = true
|
|
|
|
|
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "test/compile_all_headers.cc" ]
|
2019-03-14 05:42:04 +01:00
|
|
|
|
|
|
|
|
deps = [
|
2020-03-02 11:20:00 +01:00
|
|
|
":dummy_peer_connection",
|
2019-03-14 05:42:04 +01:00
|
|
|
":fake_frame_decryptor",
|
|
|
|
|
":fake_frame_encryptor",
|
2021-04-08 07:25:04 +00:00
|
|
|
":mock_async_dns_resolver",
|
2019-03-14 05:42:04 +01:00
|
|
|
":mock_audio_mixer",
|
2021-07-16 17:13:54 +02:00
|
|
|
":mock_audio_sink",
|
2020-11-04 19:21:49 -08:00
|
|
|
":mock_data_channel",
|
2019-03-14 05:42:04 +01:00
|
|
|
":mock_frame_decryptor",
|
|
|
|
|
":mock_frame_encryptor",
|
2020-11-05 14:32:18 -08:00
|
|
|
":mock_media_stream_interface",
|
2020-06-03 09:18:24 -07:00
|
|
|
":mock_peer_connection_factory_interface",
|
2019-03-14 05:42:04 +01:00
|
|
|
":mock_peerconnectioninterface",
|
|
|
|
|
":mock_rtp",
|
2020-05-15 08:24:17 +02:00
|
|
|
":mock_transformable_video_frame",
|
2019-03-14 05:42:04 +01:00
|
|
|
":mock_video_bitrate_allocator",
|
|
|
|
|
":mock_video_bitrate_allocator_factory",
|
|
|
|
|
":mock_video_codec_factory",
|
|
|
|
|
":mock_video_decoder",
|
|
|
|
|
":mock_video_encoder",
|
2021-07-17 01:32:40 +02:00
|
|
|
":mock_video_track",
|
2019-03-14 05:42:04 +01:00
|
|
|
":rtc_api_unittests",
|
|
|
|
|
"units:units_unittests",
|
|
|
|
|
]
|
|
|
|
|
}
|
2016-06-13 12:08:33 -07:00
|
|
|
}
|