Reland of GN: Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc}
The only thing that differs from the previous attempt in
https://codereview.webrtc.org/1979933002/ is that none of
the new targets are not hooked up to the webrtc target in
webrtc/BUILD.gn, which should make it not break the
chromium.webrtc.fyi bots.
Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc} in
preparation for removing src/third_party/libjingle in Chromium.
Changes between previous attempt and the one before that
(https://codereview.webrtc.org/1973313002) are:
* Added libstunprober target
* Adjusted warnings for Chromium's clang plugins
* webrtc/pc/externalhmac.{h,cc} added for Chromium builds.
BUG=webrtc:4256
NOTRY=True
NOPRESUBMIT=True
TBR=perkj@webrtc.org, tommi@webrtc.org
Review-Url: https://codereview.webrtc.org/2037983002
Cr-Commit-Position: refs/heads/master@{#13030}
2016-06-03 03:09:32 -07:00
|
|
|
# Copyright (c) 2016 The WebRTC project authors. All Rights Reserved.
|
|
|
|
|
#
|
|
|
|
|
# Use of this source code is governed by a BSD-style license
|
|
|
|
|
# that can be found in the LICENSE file in the root of the source
|
|
|
|
|
# tree. An additional intellectual property rights grant can be found
|
|
|
|
|
# in the file PATENTS. All contributing project authors may
|
|
|
|
|
# be found in the AUTHORS file in the root of the source tree.
|
|
|
|
|
|
|
|
|
|
import("//build/config/linux/pkg_config.gni")
|
2022-05-24 10:32:32 +02:00
|
|
|
import("//third_party/libaom/options.gni")
|
2017-01-24 06:58:22 -08:00
|
|
|
import("../webrtc.gni")
|
Reland of GN: Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc}
The only thing that differs from the previous attempt in
https://codereview.webrtc.org/1979933002/ is that none of
the new targets are not hooked up to the webrtc target in
webrtc/BUILD.gn, which should make it not break the
chromium.webrtc.fyi bots.
Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc} in
preparation for removing src/third_party/libjingle in Chromium.
Changes between previous attempt and the one before that
(https://codereview.webrtc.org/1973313002) are:
* Added libstunprober target
* Adjusted warnings for Chromium's clang plugins
* webrtc/pc/externalhmac.{h,cc} added for Chromium builds.
BUG=webrtc:4256
NOTRY=True
NOPRESUBMIT=True
TBR=perkj@webrtc.org, tommi@webrtc.org
Review-Url: https://codereview.webrtc.org/2037983002
Cr-Commit-Position: refs/heads/master@{#13030}
2016-06-03 03:09:32 -07:00
|
|
|
|
|
|
|
|
group("media") {
|
2018-01-15 10:20:00 -05:00
|
|
|
deps = []
|
|
|
|
|
if (!build_with_mozilla) {
|
|
|
|
|
deps += [
|
|
|
|
|
":rtc_media",
|
|
|
|
|
":rtc_media_base",
|
|
|
|
|
]
|
|
|
|
|
}
|
Reland of GN: Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc}
The only thing that differs from the previous attempt in
https://codereview.webrtc.org/1979933002/ is that none of
the new targets are not hooked up to the webrtc target in
webrtc/BUILD.gn, which should make it not break the
chromium.webrtc.fyi bots.
Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc} in
preparation for removing src/third_party/libjingle in Chromium.
Changes between previous attempt and the one before that
(https://codereview.webrtc.org/1973313002) are:
* Added libstunprober target
* Adjusted warnings for Chromium's clang plugins
* webrtc/pc/externalhmac.{h,cc} added for Chromium builds.
BUG=webrtc:4256
NOTRY=True
NOPRESUBMIT=True
TBR=perkj@webrtc.org, tommi@webrtc.org
Review-Url: https://codereview.webrtc.org/2037983002
Cr-Commit-Position: refs/heads/master@{#13030}
2016-06-03 03:09:32 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
config("rtc_media_defines_config") {
|
2019-02-05 12:43:03 +01:00
|
|
|
defines = [ "HAVE_WEBRTC_VIDEO" ]
|
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-01-23 10:37:42 +01:00
|
|
|
rtc_source_set("rtc_media_config") {
|
|
|
|
|
visibility = [ "*" ]
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "base/media_config.h" ]
|
2018-01-23 10:37:42 +01:00
|
|
|
}
|
|
|
|
|
|
2021-04-19 09:09:26 +02:00
|
|
|
rtc_library("rtc_sdp_video_format_utils") {
|
2019-12-19 15:05:20 +01:00
|
|
|
visibility = [ "*" ]
|
|
|
|
|
sources = [
|
2021-04-19 09:09:26 +02:00
|
|
|
"base/sdp_video_format_utils.cc",
|
|
|
|
|
"base/sdp_video_format_utils.h",
|
2019-12-19 15:05:20 +01:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
"../api/video_codecs:video_codecs_api",
|
2021-04-19 09:09:26 +02:00
|
|
|
"../rtc_base:checks",
|
2019-12-19 15:05:20 +01:00
|
|
|
"../rtc_base:stringutils",
|
|
|
|
|
]
|
2020-06-05 14:30:41 +02:00
|
|
|
absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
|
2019-12-19 15:05:20 +01:00
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("rtc_media_base") {
|
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
|
|
|
defines = []
|
|
|
|
|
libs = []
|
2017-12-13 16:05:42 +01:00
|
|
|
deps = [
|
2022-12-16 09:54:57 +00:00
|
|
|
":codec",
|
|
|
|
|
":media_channel",
|
|
|
|
|
":media_channel_impl",
|
|
|
|
|
":rid_description",
|
2019-04-10 12:50:24 +02:00
|
|
|
":rtc_media_config",
|
2022-12-16 09:54:57 +00:00
|
|
|
":rtp_utils",
|
|
|
|
|
":stream_params",
|
2018-11-28 16:47:49 +01:00
|
|
|
"../api:array_view",
|
2018-01-19 11:28:54 +01:00
|
|
|
"../api:audio_options_api",
|
2022-12-15 16:49:13 +00:00
|
|
|
"../api:call_api",
|
2022-03-29 11:04:48 +02:00
|
|
|
"../api:field_trials_view",
|
2020-02-27 16:16:55 +01:00
|
|
|
"../api:frame_transformer_interface",
|
2019-09-17 14:30:41 +02:00
|
|
|
"../api:media_stream_interface",
|
2019-09-10 10:51:23 +02:00
|
|
|
"../api:rtc_error",
|
2019-08-26 10:45:28 +02:00
|
|
|
"../api:rtp_parameters",
|
2022-10-18 17:05:16 +02:00
|
|
|
"../api:rtp_sender_interface",
|
2019-01-25 20:26:48 +01:00
|
|
|
"../api:scoped_refptr",
|
2021-02-10 14:31:24 +01:00
|
|
|
"../api:sequence_checker",
|
2022-12-13 12:57:24 +00:00
|
|
|
"../api:transport_api",
|
2020-09-30 18:27:39 +02:00
|
|
|
"../api/audio:audio_frame_processor",
|
2019-04-10 12:50:24 +02:00
|
|
|
"../api/audio_codecs:audio_codecs_api",
|
2019-09-13 14:42:15 +02:00
|
|
|
"../api/crypto:frame_decryptor_interface",
|
|
|
|
|
"../api/crypto:frame_encryptor_interface",
|
|
|
|
|
"../api/crypto:options",
|
2022-12-13 12:57:24 +00:00
|
|
|
"../api/task_queue",
|
2022-06-16 21:27:45 +02:00
|
|
|
"../api/task_queue:pending_task_safety_flag",
|
2021-05-10 11:29:56 +02:00
|
|
|
"../api/transport:datagram_transport_interface",
|
2019-11-18 15:53:32 +01:00
|
|
|
"../api/transport:stun_types",
|
2019-09-02 15:16:49 +02:00
|
|
|
"../api/transport/rtp:rtp_source",
|
2021-09-03 14:51:22 +00:00
|
|
|
"../api/units:time_delta",
|
2022-12-15 16:49:13 +00:00
|
|
|
"../api/video:recordable_encoded_frame",
|
2019-04-10 12:50:24 +02:00
|
|
|
"../api/video:video_bitrate_allocation",
|
2019-04-17 07:38:40 +02:00
|
|
|
"../api/video:video_bitrate_allocator_factory",
|
2019-04-10 12:50:24 +02:00
|
|
|
"../api/video:video_frame",
|
2019-06-10 12:59:38 +02:00
|
|
|
"../api/video:video_rtp_headers",
|
2022-12-06 10:09:10 +00:00
|
|
|
"../api/video_codecs:scalability_mode",
|
2019-04-10 12:50:24 +02:00
|
|
|
"../api/video_codecs:video_codecs_api",
|
|
|
|
|
"../call:call_interfaces",
|
2019-12-04 10:58:17 +01:00
|
|
|
"../call:video_stream_api",
|
2019-04-10 12:50:24 +02:00
|
|
|
"../common_video",
|
2020-09-30 18:27:39 +02:00
|
|
|
"../modules/async_audio_processing",
|
2019-04-10 12:50:24 +02:00
|
|
|
"../modules/audio_processing:audio_processing_statistics",
|
2019-05-27 10:44:24 +02:00
|
|
|
"../modules/rtp_rtcp:rtp_rtcp_format",
|
2019-04-10 12:50:24 +02:00
|
|
|
"../rtc_base",
|
2023-01-04 12:01:09 +01:00
|
|
|
"../rtc_base:async_packet_socket",
|
2022-04-19 17:07:23 +02:00
|
|
|
"../rtc_base:buffer",
|
2022-04-19 17:18:36 +02:00
|
|
|
"../rtc_base:byte_order",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../rtc_base:checks",
|
2022-04-19 17:40:46 +02:00
|
|
|
"../rtc_base:copy_on_write_buffer",
|
2023-01-04 12:01:09 +01:00
|
|
|
"../rtc_base:dscp",
|
2022-04-04 15:06:30 +02:00
|
|
|
"../rtc_base:logging",
|
2022-04-04 15:18:46 +02:00
|
|
|
"../rtc_base:macromagic",
|
2023-01-04 12:01:09 +01:00
|
|
|
"../rtc_base:network_route",
|
2018-03-19 11:12:48 +01:00
|
|
|
"../rtc_base:rtc_task_queue",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../rtc_base:sanitizer",
|
2021-01-15 10:41:01 +01:00
|
|
|
"../rtc_base:socket",
|
2017-12-15 14:40:10 +01:00
|
|
|
"../rtc_base:stringutils",
|
2022-04-04 17:16:15 +02:00
|
|
|
"../rtc_base:timeutils",
|
2023-01-04 12:01:09 +01:00
|
|
|
"../rtc_base:unique_id_generator",
|
2022-12-13 12:57:24 +00:00
|
|
|
"../rtc_base/network:sent_packet",
|
2020-07-07 15:43:11 +02:00
|
|
|
"../rtc_base/synchronization:mutex",
|
2019-06-11 14:04:16 +02:00
|
|
|
"../rtc_base/system:file_wrapper",
|
2021-05-24 16:54:41 +02:00
|
|
|
"../rtc_base/system:no_unique_address",
|
2019-04-10 12:50:24 +02:00
|
|
|
"../rtc_base/system:rtc_export",
|
|
|
|
|
"../rtc_base/third_party/sigslot",
|
2019-10-18 15:03:13 +02:00
|
|
|
"../system_wrappers:field_trial",
|
2022-09-29 10:28:24 +02:00
|
|
|
"../video/config:encoder_config",
|
2020-06-05 14:30:41 +02:00
|
|
|
]
|
|
|
|
|
absl_deps = [
|
2019-04-10 12:50:24 +02:00
|
|
|
"//third_party/abseil-cpp/absl/algorithm:container",
|
2022-07-05 21:06:28 +09:00
|
|
|
"//third_party/abseil-cpp/absl/container:inlined_vector",
|
2022-12-13 12:57:24 +00:00
|
|
|
"//third_party/abseil-cpp/absl/functional:any_invocable",
|
2019-04-10 12:50:24 +02:00
|
|
|
"//third_party/abseil-cpp/absl/strings",
|
|
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
2017-12-13 16:05:42 +01: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
|
|
|
sources = [
|
2019-01-11 09:11:00 -08:00
|
|
|
"base/adapted_video_track_source.cc",
|
|
|
|
|
"base/adapted_video_track_source.h",
|
|
|
|
|
"base/audio_source.h",
|
2022-12-16 09:54:57 +00:00
|
|
|
"base/codec.h", # temporary - bugs.webrtc.org/14775
|
|
|
|
|
"base/delayable.h", # temporary - bugs.webrtc.org/14775
|
|
|
|
|
"base/media_channel.h", # temporary - bugs.webrtc.org/14775
|
|
|
|
|
"base/media_constants.h", # temporary - bugs.webrtc.org/14775
|
2019-01-11 09:11:00 -08:00
|
|
|
"base/media_engine.cc",
|
|
|
|
|
"base/media_engine.h",
|
2022-12-16 09:54:57 +00:00
|
|
|
"base/rid_description.h", # temporary - bugs.webrtc.org/14775
|
|
|
|
|
"base/rtp_utils.h", # temporary - bugs.webrtc.org/14775
|
|
|
|
|
"base/stream_params.h", # temporary - bugs.webrtc.org/14775
|
|
|
|
|
"base/turn_utils.h", # temporary - bugs.webrtc.org/14775
|
2019-01-11 09:11:00 -08:00
|
|
|
"base/video_adapter.cc",
|
|
|
|
|
"base/video_adapter.h",
|
|
|
|
|
"base/video_broadcaster.cc",
|
|
|
|
|
"base/video_broadcaster.h",
|
|
|
|
|
"base/video_common.cc",
|
|
|
|
|
"base/video_common.h",
|
|
|
|
|
"base/video_source_base.cc",
|
|
|
|
|
"base/video_source_base.h",
|
2016-11-25 00:40:18 -08:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2022-12-16 09:54:57 +00:00
|
|
|
rtc_library("media_channel_impl") {
|
|
|
|
|
sources = [
|
|
|
|
|
"base/media_channel_impl.cc",
|
|
|
|
|
"base/media_channel_impl.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":codec",
|
|
|
|
|
":media_channel",
|
|
|
|
|
":rtp_utils",
|
|
|
|
|
":stream_params",
|
|
|
|
|
"../api:audio_options_api",
|
|
|
|
|
"../api:call_api",
|
|
|
|
|
"../api:frame_transformer_interface",
|
|
|
|
|
"../api:media_stream_interface",
|
|
|
|
|
"../api:rtc_error",
|
|
|
|
|
"../api:rtp_parameters",
|
|
|
|
|
"../api:rtp_sender_interface",
|
|
|
|
|
"../api:scoped_refptr",
|
|
|
|
|
"../api:sequence_checker",
|
|
|
|
|
"../api:transport_api",
|
|
|
|
|
"../api/crypto:frame_decryptor_interface",
|
|
|
|
|
"../api/crypto:frame_encryptor_interface",
|
|
|
|
|
"../api/task_queue",
|
|
|
|
|
"../api/task_queue:pending_task_safety_flag",
|
|
|
|
|
"../api/transport/rtp:rtp_source",
|
|
|
|
|
"../api/units:time_delta",
|
|
|
|
|
"../api/video:recordable_encoded_frame",
|
|
|
|
|
"../api/video:video_frame",
|
|
|
|
|
"../api/video:video_rtp_headers",
|
|
|
|
|
"../api/video_codecs:scalability_mode",
|
|
|
|
|
"../api/video_codecs:video_codecs_api",
|
|
|
|
|
"../common_video",
|
|
|
|
|
"../modules/rtp_rtcp:rtp_rtcp_format",
|
|
|
|
|
"../rtc_base",
|
2023-01-04 12:01:09 +01:00
|
|
|
"../rtc_base:async_packet_socket",
|
2022-12-16 09:54:57 +00:00
|
|
|
"../rtc_base:checks",
|
|
|
|
|
"../rtc_base:copy_on_write_buffer",
|
2023-01-04 12:01:09 +01:00
|
|
|
"../rtc_base:dscp",
|
2022-12-16 09:54:57 +00:00
|
|
|
"../rtc_base:logging",
|
|
|
|
|
"../rtc_base:macromagic",
|
2023-01-04 12:01:09 +01:00
|
|
|
"../rtc_base:network_route",
|
2022-12-16 09:54:57 +00:00
|
|
|
"../rtc_base:socket",
|
|
|
|
|
"../rtc_base/network:sent_packet",
|
|
|
|
|
]
|
|
|
|
|
absl_deps = [
|
|
|
|
|
"//third_party/abseil-cpp/absl/functional:any_invocable",
|
|
|
|
|
"//third_party/abseil-cpp/absl/strings",
|
|
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_source_set("media_channel") {
|
|
|
|
|
sources = [ "base/media_channel.h" ]
|
|
|
|
|
deps = [
|
|
|
|
|
":codec",
|
|
|
|
|
":delayable",
|
|
|
|
|
":media_constants",
|
|
|
|
|
":rtp_utils",
|
|
|
|
|
":stream_params",
|
|
|
|
|
"../api:audio_options_api",
|
|
|
|
|
"../api:call_api",
|
|
|
|
|
"../api:frame_transformer_interface",
|
|
|
|
|
"../api:media_stream_interface",
|
|
|
|
|
"../api:rtc_error",
|
|
|
|
|
"../api:rtp_parameters",
|
|
|
|
|
"../api:rtp_sender_interface",
|
|
|
|
|
"../api/audio_codecs:audio_codecs_api",
|
|
|
|
|
"../api/crypto:frame_decryptor_interface",
|
|
|
|
|
"../api/crypto:frame_encryptor_interface",
|
|
|
|
|
"../api/task_queue:pending_task_safety_flag",
|
|
|
|
|
"../api/transport:datagram_transport_interface",
|
|
|
|
|
"../api/transport/rtp:rtp_source",
|
|
|
|
|
"../api/units:time_delta",
|
|
|
|
|
"../api/video:video_frame",
|
|
|
|
|
"../api/video:video_rtp_headers",
|
|
|
|
|
"../api/video_codecs:scalability_mode",
|
|
|
|
|
"../api/video_codecs:video_codecs_api",
|
|
|
|
|
"../call:video_stream_api",
|
|
|
|
|
"../common_video",
|
|
|
|
|
"../modules/audio_processing:audio_processing_statistics",
|
|
|
|
|
"../modules/rtp_rtcp:rtp_rtcp_format",
|
|
|
|
|
"../rtc_base",
|
2023-01-04 12:01:09 +01:00
|
|
|
"../rtc_base:async_packet_socket",
|
2022-12-16 09:54:57 +00:00
|
|
|
"../rtc_base:buffer",
|
|
|
|
|
"../rtc_base:copy_on_write_buffer",
|
2023-01-04 12:01:09 +01:00
|
|
|
"../rtc_base:dscp",
|
2022-12-16 09:54:57 +00:00
|
|
|
"../rtc_base:logging",
|
2023-01-04 12:01:09 +01:00
|
|
|
"../rtc_base:network_route",
|
2022-12-16 09:54:57 +00:00
|
|
|
"../rtc_base:socket",
|
|
|
|
|
"../rtc_base:stringutils",
|
|
|
|
|
"../video/config:encoder_config",
|
|
|
|
|
]
|
|
|
|
|
absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_source_set("delayable") {
|
|
|
|
|
sources = [ "base/delayable.h" ]
|
|
|
|
|
absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_library("codec") {
|
|
|
|
|
sources = [
|
|
|
|
|
"base/codec.cc",
|
|
|
|
|
"base/codec.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":media_constants",
|
|
|
|
|
"../api:field_trials_view",
|
|
|
|
|
"../api:rtp_parameters",
|
|
|
|
|
"../api/video_codecs:video_codecs_api",
|
|
|
|
|
"../rtc_base:checks",
|
|
|
|
|
"../rtc_base:logging",
|
|
|
|
|
"../rtc_base:stringutils",
|
|
|
|
|
"../rtc_base/system:rtc_export",
|
|
|
|
|
]
|
|
|
|
|
absl_deps = [
|
|
|
|
|
"//third_party/abseil-cpp/absl/algorithm:container",
|
|
|
|
|
"//third_party/abseil-cpp/absl/container:inlined_vector",
|
|
|
|
|
"//third_party/abseil-cpp/absl/strings",
|
|
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_library("rtp_utils") {
|
|
|
|
|
sources = [
|
|
|
|
|
"base/rtp_utils.cc",
|
|
|
|
|
"base/rtp_utils.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":turn_utils",
|
|
|
|
|
"../api:array_view",
|
|
|
|
|
"../modules/rtp_rtcp:rtp_rtcp_format",
|
|
|
|
|
"../rtc_base",
|
2023-01-04 12:01:09 +01:00
|
|
|
"../rtc_base:async_packet_socket",
|
2022-12-16 09:54:57 +00:00
|
|
|
"../rtc_base:byte_order",
|
|
|
|
|
"../rtc_base:checks",
|
2023-01-04 12:01:09 +01:00
|
|
|
"../rtc_base:ssl",
|
2022-12-16 09:54:57 +00:00
|
|
|
"../rtc_base/system:rtc_export",
|
|
|
|
|
]
|
|
|
|
|
absl_deps = [ "//third_party/abseil-cpp/absl/strings" ]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_library("stream_params") {
|
|
|
|
|
sources = [
|
|
|
|
|
"base/stream_params.cc",
|
|
|
|
|
"base/stream_params.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":rid_description",
|
|
|
|
|
"../api:array_view",
|
|
|
|
|
"../rtc_base",
|
|
|
|
|
"../rtc_base:stringutils",
|
2023-01-04 12:01:09 +01:00
|
|
|
"../rtc_base:unique_id_generator",
|
2022-12-16 09:54:57 +00:00
|
|
|
]
|
|
|
|
|
absl_deps = [ "//third_party/abseil-cpp/absl/algorithm:container" ]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_library("media_constants") {
|
|
|
|
|
sources = [
|
|
|
|
|
"base/media_constants.cc",
|
|
|
|
|
"base/media_constants.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [ "../rtc_base/system:rtc_export" ]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_library("turn_utils") {
|
|
|
|
|
sources = [
|
|
|
|
|
"base/turn_utils.cc",
|
|
|
|
|
"base/turn_utils.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
"../api/transport:stun_types",
|
|
|
|
|
"../rtc_base:byte_order",
|
|
|
|
|
"../rtc_base/system:rtc_export",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_library("rid_description") {
|
|
|
|
|
sources = [
|
|
|
|
|
"base/rid_description.cc",
|
|
|
|
|
"base/rid_description.h",
|
|
|
|
|
]
|
|
|
|
|
deps = []
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("rtc_simulcast_encoder_adapter") {
|
2018-10-19 00:51:18 -07:00
|
|
|
visibility = [ "*" ]
|
|
|
|
|
defines = []
|
|
|
|
|
libs = []
|
|
|
|
|
sources = [
|
|
|
|
|
"engine/simulcast_encoder_adapter.cc",
|
|
|
|
|
"engine/simulcast_encoder_adapter.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
2019-12-19 09:47:11 +01:00
|
|
|
":rtc_media_base",
|
2019-06-28 15:19:43 +02:00
|
|
|
"../api:fec_controller_api",
|
2019-01-25 20:26:48 +01:00
|
|
|
"../api:scoped_refptr",
|
2021-02-10 14:31:24 +01:00
|
|
|
"../api:sequence_checker",
|
2019-01-16 17:10:57 +01:00
|
|
|
"../api/video:video_codec_constants",
|
2018-11-28 16:47:49 +01:00
|
|
|
"../api/video:video_frame",
|
2019-06-10 12:59:38 +02:00
|
|
|
"../api/video:video_rtp_headers",
|
2019-10-01 18:50:03 +02:00
|
|
|
"../api/video_codecs:rtc_software_fallback_wrappers",
|
2018-10-19 00:51:18 -07:00
|
|
|
"../api/video_codecs:video_codecs_api",
|
2019-12-04 10:58:17 +01:00
|
|
|
"../call:video_stream_api",
|
2021-08-26 12:04:27 +02:00
|
|
|
"../common_video",
|
2018-10-19 00:51:18 -07:00
|
|
|
"../modules/video_coding:video_codec_interface",
|
|
|
|
|
"../modules/video_coding:video_coding_utility",
|
|
|
|
|
"../rtc_base:checks",
|
2022-04-04 15:06:30 +02:00
|
|
|
"../rtc_base:logging",
|
2021-01-20 15:36:13 +01:00
|
|
|
"../rtc_base/experiments:encoder_info_settings",
|
2019-02-13 10:49:37 +01:00
|
|
|
"../rtc_base/experiments:rate_control_settings",
|
2020-11-23 11:07:42 +01:00
|
|
|
"../rtc_base/system:no_unique_address",
|
2019-04-02 11:33:59 +02:00
|
|
|
"../rtc_base/system:rtc_export",
|
2018-10-19 00:51:18 -07:00
|
|
|
"../system_wrappers",
|
|
|
|
|
"../system_wrappers:field_trial",
|
|
|
|
|
]
|
2021-01-14 16:37:26 +01:00
|
|
|
absl_deps = [
|
|
|
|
|
"//third_party/abseil-cpp/absl/algorithm:container",
|
|
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
|
|
|
|
]
|
2018-10-19 00:51:18 -07:00
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("rtc_encoder_simulcast_proxy") {
|
2018-12-06 13:38:24 +01:00
|
|
|
visibility = [ "*" ]
|
|
|
|
|
defines = []
|
|
|
|
|
libs = []
|
|
|
|
|
sources = [
|
|
|
|
|
"engine/encoder_simulcast_proxy.cc",
|
|
|
|
|
"engine/encoder_simulcast_proxy.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":rtc_simulcast_encoder_adapter",
|
|
|
|
|
"../api/video:video_bitrate_allocation",
|
|
|
|
|
"../api/video:video_frame",
|
2019-06-10 12:59:38 +02:00
|
|
|
"../api/video:video_rtp_headers",
|
2018-12-06 13:38:24 +01:00
|
|
|
"../api/video_codecs:video_codecs_api",
|
|
|
|
|
"../modules/video_coding:video_codec_interface",
|
2019-04-02 11:33:59 +02:00
|
|
|
"../rtc_base/system:rtc_export",
|
2018-12-06 13:38:24 +01:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("rtc_internal_video_codecs") {
|
2018-01-10 15:57:32 +00:00
|
|
|
visibility = [ "*" ]
|
2018-04-27 04:31:53 +02:00
|
|
|
allow_poison = [ "software_video_codecs" ]
|
2018-01-04 15:10:22 +01:00
|
|
|
defines = []
|
|
|
|
|
libs = []
|
2018-01-08 11:05:10 +01:00
|
|
|
deps = [
|
2022-12-16 09:54:57 +00:00
|
|
|
":codec",
|
|
|
|
|
":media_constants",
|
2018-12-06 13:38:24 +01:00
|
|
|
":rtc_encoder_simulcast_proxy",
|
2019-04-10 12:50:24 +02:00
|
|
|
":rtc_media_base",
|
2018-10-19 00:51:18 -07:00
|
|
|
":rtc_simulcast_encoder_adapter",
|
2018-11-28 16:47:49 +01:00
|
|
|
"../api/video:encoded_image",
|
2018-05-22 15:37:23 +02:00
|
|
|
"../api/video:video_bitrate_allocation",
|
2018-11-20 11:06:58 +01:00
|
|
|
"../api/video:video_frame",
|
2019-06-10 12:59:38 +02:00
|
|
|
"../api/video:video_rtp_headers",
|
2018-06-12 11:15:56 +02:00
|
|
|
"../api/video_codecs:rtc_software_fallback_wrappers",
|
2018-01-04 15:10:22 +01:00
|
|
|
"../api/video_codecs:video_codecs_api",
|
2022-05-24 10:32:32 +02:00
|
|
|
"../api/video_codecs:video_encoder_factory_template",
|
|
|
|
|
"../api/video_codecs:video_encoder_factory_template_libvpx_vp8_adapter",
|
|
|
|
|
"../api/video_codecs:video_encoder_factory_template_libvpx_vp9_adapter",
|
|
|
|
|
"../api/video_codecs:video_encoder_factory_template_open_h264_adapter",
|
2018-01-04 15:10:22 +01:00
|
|
|
"../call:call_interfaces",
|
|
|
|
|
"../call:video_stream_api",
|
2019-04-10 12:50:24 +02:00
|
|
|
"../modules/video_coding:video_codec_interface",
|
2018-01-04 15:10:22 +01:00
|
|
|
"../modules/video_coding:webrtc_h264",
|
2018-01-25 13:01:09 -08:00
|
|
|
"../modules/video_coding:webrtc_multiplex",
|
2018-01-04 15:10:22 +01:00
|
|
|
"../modules/video_coding:webrtc_vp8",
|
|
|
|
|
"../modules/video_coding:webrtc_vp9",
|
|
|
|
|
"../rtc_base:checks",
|
2022-04-04 15:06:30 +02:00
|
|
|
"../rtc_base:logging",
|
2018-10-16 14:13:50 +02:00
|
|
|
"../rtc_base/system:rtc_export",
|
2021-11-23 11:00:24 +01:00
|
|
|
"../system_wrappers:field_trial",
|
2019-01-16 15:07:56 -05:00
|
|
|
"../test:fake_video_codecs",
|
2018-01-04 15:10:22 +01:00
|
|
|
]
|
2022-05-24 10:32:32 +02:00
|
|
|
|
|
|
|
|
if (enable_libaom) {
|
|
|
|
|
defines += [ "RTC_USE_LIBAOM_AV1_ENCODER" ]
|
|
|
|
|
deps += [
|
|
|
|
|
"../api/video_codecs:video_encoder_factory_template_libaom_av1_adapter",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2021-11-23 11:00:24 +01:00
|
|
|
if (rtc_include_dav1d_in_internal_decoder_factory) {
|
|
|
|
|
deps += [ "../modules/video_coding/codecs/av1:dav1d_decoder" ]
|
|
|
|
|
}
|
2021-09-15 10:56:04 +00:00
|
|
|
absl_deps = [
|
|
|
|
|
"//third_party/abseil-cpp/absl/strings",
|
|
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
|
|
|
|
]
|
2019-04-10 12:50:24 +02:00
|
|
|
sources = [
|
|
|
|
|
"engine/fake_video_codec_factory.cc",
|
|
|
|
|
"engine/fake_video_codec_factory.h",
|
|
|
|
|
"engine/internal_decoder_factory.cc",
|
|
|
|
|
"engine/internal_decoder_factory.h",
|
|
|
|
|
"engine/internal_encoder_factory.cc",
|
|
|
|
|
"engine/internal_encoder_factory.h",
|
|
|
|
|
"engine/multiplex_codec_factory.cc",
|
|
|
|
|
"engine/multiplex_codec_factory.h",
|
|
|
|
|
|
|
|
|
|
# TODO(bugs.webrtc.org/7925): stop exporting this header once downstream
|
|
|
|
|
# targets depend on :rtc_encoder_simulcast_proxy directly.
|
|
|
|
|
"engine/encoder_simulcast_proxy.h",
|
|
|
|
|
]
|
2018-01-04 15:10:22 +01:00
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("rtc_audio_video") {
|
2018-01-10 15:54:53 +00:00
|
|
|
visibility = [ "*" ]
|
2019-01-14 14:23:23 +01:00
|
|
|
allow_poison = [ "audio_codecs" ] # TODO(bugs.webrtc.org/8396): Remove.
|
2018-01-04 15:10:22 +01:00
|
|
|
defines = []
|
|
|
|
|
libs = []
|
|
|
|
|
deps = [
|
2022-12-16 09:54:57 +00:00
|
|
|
":codec",
|
|
|
|
|
":media_channel",
|
2022-12-16 14:46:31 +00:00
|
|
|
":media_channel_impl",
|
2022-12-16 09:54:57 +00:00
|
|
|
":media_constants",
|
2019-04-10 12:50:24 +02:00
|
|
|
":rtc_media_base",
|
2022-12-16 09:54:57 +00:00
|
|
|
":rtp_utils",
|
|
|
|
|
":stream_params",
|
2022-10-26 13:51:35 +00:00
|
|
|
"../api:array_view",
|
2019-04-10 12:50:24 +02:00
|
|
|
"../api:call_api",
|
2022-03-29 11:04:48 +02:00
|
|
|
"../api:field_trials_view",
|
2019-04-10 12:50:24 +02:00
|
|
|
"../api:libjingle_peerconnection_api",
|
2020-03-05 13:39:55 +01:00
|
|
|
"../api:media_stream_interface",
|
2019-08-26 10:45:28 +02:00
|
|
|
"../api:rtp_parameters",
|
2019-01-25 20:26:48 +01:00
|
|
|
"../api:scoped_refptr",
|
2021-02-10 14:31:24 +01:00
|
|
|
"../api:sequence_checker",
|
2019-04-10 12:50:24 +02:00
|
|
|
"../api:transport_api",
|
2020-09-30 18:27:39 +02:00
|
|
|
"../api/audio:audio_frame_processor",
|
2019-05-31 15:51:04 +02:00
|
|
|
"../api/audio:audio_mixer_api",
|
2019-04-10 12:50:24 +02:00
|
|
|
"../api/audio_codecs:audio_codecs_api",
|
2019-03-27 18:51:45 +01:00
|
|
|
"../api/task_queue",
|
2022-06-16 21:27:45 +02:00
|
|
|
"../api/task_queue:pending_task_safety_flag",
|
2019-09-17 14:47:38 +02:00
|
|
|
"../api/transport:bitrate_settings",
|
2020-09-22 11:36:35 +02:00
|
|
|
"../api/transport:field_trial_based_config",
|
2019-09-02 15:16:49 +02:00
|
|
|
"../api/transport/rtp:rtp_source",
|
2019-10-11 16:19:43 +02:00
|
|
|
"../api/units:data_rate",
|
2018-11-28 16:47:49 +01:00
|
|
|
"../api/video:video_bitrate_allocation",
|
2018-11-08 10:02:56 -08:00
|
|
|
"../api/video:video_bitrate_allocator_factory",
|
2019-04-10 12:50:24 +02:00
|
|
|
"../api/video:video_codec_constants",
|
|
|
|
|
"../api/video:video_frame",
|
2019-06-10 12:59:38 +02:00
|
|
|
"../api/video:video_rtp_headers",
|
2019-04-10 12:50:24 +02:00
|
|
|
"../api/video_codecs:rtc_software_fallback_wrappers",
|
|
|
|
|
"../api/video_codecs:video_codecs_api",
|
|
|
|
|
"../call",
|
|
|
|
|
"../call:call_interfaces",
|
|
|
|
|
"../call:video_stream_api",
|
|
|
|
|
"../common_video",
|
2020-09-30 18:27:39 +02:00
|
|
|
"../modules/async_audio_processing:async_audio_processing",
|
2019-04-10 12:50:24 +02:00
|
|
|
"../modules/audio_device",
|
|
|
|
|
"../modules/audio_device:audio_device_impl",
|
|
|
|
|
"../modules/audio_mixer:audio_mixer_impl",
|
2018-11-07 14:29:54 +00:00
|
|
|
"../modules/audio_processing:api",
|
2019-03-21 13:35:10 +01:00
|
|
|
"../modules/audio_processing/aec_dump",
|
2019-10-15 10:10:26 +02:00
|
|
|
"../modules/audio_processing/agc:gain_control_interface",
|
2021-07-19 13:20:46 +00:00
|
|
|
"../modules/rtp_rtcp:rtp_rtcp_format",
|
2019-03-21 13:35:10 +01:00
|
|
|
"../modules/video_coding",
|
2018-01-16 10:11:40 +01:00
|
|
|
"../modules/video_coding:video_codec_interface",
|
2018-06-21 16:16:38 +02:00
|
|
|
"../modules/video_coding:video_coding_utility",
|
2022-07-05 13:02:28 +02:00
|
|
|
"../modules/video_coding:webrtc_vp9_helpers",
|
2022-04-29 11:03:13 +02:00
|
|
|
"../modules/video_coding/svc:scalability_mode_util",
|
2019-04-10 12:50:24 +02:00
|
|
|
"../rtc_base",
|
2018-04-03 13:40:05 +02:00
|
|
|
"../rtc_base:audio_format_to_string",
|
2022-04-19 17:07:23 +02:00
|
|
|
"../rtc_base:buffer",
|
2022-04-19 17:18:36 +02:00
|
|
|
"../rtc_base:byte_order",
|
2018-01-04 15:10:22 +01:00
|
|
|
"../rtc_base:checks",
|
2022-04-19 17:40:46 +02:00
|
|
|
"../rtc_base:copy_on_write_buffer",
|
2022-04-19 17:47:13 +02:00
|
|
|
"../rtc_base:event_tracer",
|
2020-06-25 14:09:58 +02:00
|
|
|
"../rtc_base:ignore_wundef",
|
2022-04-04 15:06:30 +02:00
|
|
|
"../rtc_base:logging",
|
2022-04-04 15:18:46 +02:00
|
|
|
"../rtc_base:macromagic",
|
2023-01-04 12:01:09 +01:00
|
|
|
"../rtc_base:network_route",
|
2022-04-14 13:38:05 +02:00
|
|
|
"../rtc_base:race_checker",
|
2019-04-10 12:50:24 +02:00
|
|
|
"../rtc_base:rtc_task_queue",
|
2022-04-04 17:04:37 +02:00
|
|
|
"../rtc_base:safe_conversions",
|
2023-01-04 12:01:09 +01:00
|
|
|
"../rtc_base:ssl",
|
2019-04-10 12:50:24 +02:00
|
|
|
"../rtc_base:stringutils",
|
2021-01-15 10:41:01 +01:00
|
|
|
"../rtc_base:threading",
|
2022-04-04 17:16:15 +02:00
|
|
|
"../rtc_base:timeutils",
|
2019-04-10 12:50:24 +02:00
|
|
|
"../rtc_base/experiments:field_trial_parser",
|
2019-10-11 16:19:43 +02:00
|
|
|
"../rtc_base/experiments:min_video_bitrate_experiment",
|
2019-04-10 12:50:24 +02:00
|
|
|
"../rtc_base/experiments:normalize_simulcast_size_experiment",
|
2019-10-30 13:01:46 +01:00
|
|
|
"../rtc_base/experiments:rate_control_settings",
|
2020-07-07 15:43:11 +02:00
|
|
|
"../rtc_base/synchronization:mutex",
|
2022-08-16 10:23:47 +02:00
|
|
|
"../rtc_base/system:no_unique_address",
|
2018-10-16 14:13:50 +02:00
|
|
|
"../rtc_base/system:rtc_export",
|
2018-07-23 17:38:12 +02:00
|
|
|
"../rtc_base/third_party/base64",
|
2019-04-10 12:50:24 +02:00
|
|
|
"../system_wrappers",
|
2018-09-28 08:51:10 +02:00
|
|
|
"../system_wrappers:metrics",
|
2020-06-05 14:30:41 +02:00
|
|
|
]
|
|
|
|
|
absl_deps = [
|
2019-04-10 12:50:24 +02:00
|
|
|
"//third_party/abseil-cpp/absl/algorithm:container",
|
2023-01-10 14:28:25 +01:00
|
|
|
"//third_party/abseil-cpp/absl/functional:bind_front",
|
2019-04-10 12:50:24 +02:00
|
|
|
"//third_party/abseil-cpp/absl/strings",
|
|
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
2018-01-04 15:10:22 +01:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
sources = [
|
|
|
|
|
"engine/adm_helpers.cc",
|
|
|
|
|
"engine/adm_helpers.h",
|
2019-01-11 09:11:00 -08:00
|
|
|
"engine/null_webrtc_video_engine.h",
|
2018-01-04 15:10:22 +01:00
|
|
|
"engine/payload_type_mapper.cc",
|
|
|
|
|
"engine/payload_type_mapper.h",
|
2019-01-11 09:11:00 -08:00
|
|
|
"engine/webrtc_media_engine.cc",
|
|
|
|
|
"engine/webrtc_media_engine.h",
|
|
|
|
|
"engine/webrtc_video_engine.cc",
|
|
|
|
|
"engine/webrtc_video_engine.h",
|
|
|
|
|
"engine/webrtc_voice_engine.cc",
|
|
|
|
|
"engine/webrtc_voice_engine.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
|
|
|
]
|
|
|
|
|
|
2016-09-05 06:10:18 -07:00
|
|
|
public_configs = []
|
2019-04-09 08:24:58 +02:00
|
|
|
if (!build_with_chromium) {
|
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
|
|
|
public_configs += [ ":rtc_media_defines_config" ]
|
|
|
|
|
deps += [ "../modules/video_capture:video_capture_internal_impl" ]
|
|
|
|
|
}
|
Reland of Activate 'offload debug dump recordings from audio thread to TaskQueue'. (patchset #1 id:1 of https://codereview.webrtc.org/2910633002/ )
Reason for revert:
Revert of revert of revert of revert of 'Activating..'. Or "reland of reland of 'Activate..'".
*Now* the internal projects are fixed and the fix is verified.
Original issue's description:
> Revert of Activate 'offload debug dump recordings from audio thread to TaskQueue'. (patchset #1 id:1 of https://codereview.webrtc.org/2903153005/ )
>
> Reason for revert:
> Reverting again: internal project issues were apparently not completely fixed.
>
> Original issue's description:
> > Reland of Activate 'offload debug dump recordings from audio thread to TaskQueue'. (patchset #1 id:1 of https://codereview.webrtc.org/2904893002/ )
> >
> > Reason for revert:
> > Revert the revert now that internal projects are updated.
> >
> > Original issue's description:
> > > Revert of Activate 'offload debug dump recordings from audio thread to TaskQueue'. (patchset #4 id:160001 of https://codereview.webrtc.org/2896813002/ )
> > >
> > > Reason for revert:
> > > Breaks internal project.
> > >
> > > Original issue's description:
> > > > Activate 'offload debug dump recordings from audio thread to TaskQueue'.
> > > >
> > > > A low priority task queue is added to WebRTCVoiceEngine. The
> > > > start/stop debug calls make file logging happen on the task queue.
> > > >
> > > > In a dependent CL (https://codereview.webrtc.org/2888303003), the task queue is moved to PeerConnectionFactory,
> > > > so that it can be shared for low priority tasks between different
> > > > subcomponents. It will require some changes to MediaEngine,
> > > > CompositeMediaEngine, WebRTCVoiceEngine, and changes in internal
> > > > projects.
> > > >
> > > > A task queue must be created and destroyed from the same thread. With
> > > > this CL that will be the worker thread, which creates and destroys
> > > > WebRTCVoiceEngine. With the dependent CL, it will probably change to
> > > > the signaling thread.
> > > >
> > > > NOTRY=True # tests just passed
> > > >
> > > > BUG=webrtc:7404
> > > >
> > > > Review-Url: https://codereview.webrtc.org/2896813002
> > > > Cr-Commit-Position: refs/heads/master@{#18252}
> > > > Committed: https://chromium.googlesource.com/external/webrtc/+/c61bf947b4ac31f3500858ffcae6fee39d799930
> > >
> > > TBR=solenberg@webrtc.org,tommi@webrtc.org,perkj@webrtc.org,danilchap@webrtc.org,tommi@chromium.org
> > > # Skipping CQ checks because original CL landed less than 1 days ago.
> > > NOPRESUBMIT=true
> > > NOTREECHECKS=true
> > > NOTRY=true
> > > BUG=webrtc:7404
> > >
> > > Review-Url: https://codereview.webrtc.org/2904893002
> > > Cr-Commit-Position: refs/heads/master@{#18255}
> > > Committed: https://chromium.googlesource.com/external/webrtc/+/be68b72cfad0686dcd892bba1368b199a7ee16ca
> >
> > TBR=solenberg@webrtc.org,tommi@webrtc.org,perkj@webrtc.org,danilchap@webrtc.org,tommi@chromium.org
> > # Not skipping CQ checks because original CL landed more than 1 days ago.
> > BUG=webrtc:7404
> >
> > Review-Url: https://codereview.webrtc.org/2903153005
> > Cr-Commit-Position: refs/heads/master@{#18270}
> > Committed: https://chromium.googlesource.com/external/webrtc/+/d2303a2338106feab684860f1c133877b46bdd4f
>
> TBR=solenberg@webrtc.org,tommi@webrtc.org,perkj@webrtc.org,danilchap@webrtc.org,tommi@chromium.org
> # Skipping CQ checks because original CL landed less than 1 days ago.
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=webrtc:7404
>
> Review-Url: https://codereview.webrtc.org/2910633002
> Cr-Commit-Position: refs/heads/master@{#18272}
> Committed: https://chromium.googlesource.com/external/webrtc/+/fe9ecb07ea8254d8a09605f25203a4d045b3ffee
TBR=solenberg@webrtc.org,tommi@webrtc.org,perkj@webrtc.org,danilchap@webrtc.org,tommi@chromium.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=webrtc:7404
Review-Url: https://codereview.webrtc.org/2904423002
Cr-Commit-Position: refs/heads/master@{#18300}
2017-05-29 02:56:27 -07:00
|
|
|
if (rtc_enable_protobuf) {
|
2020-06-25 14:09:58 +02:00
|
|
|
deps += [
|
|
|
|
|
"../modules/audio_coding:ana_config_proto",
|
|
|
|
|
"../modules/audio_processing/aec_dump:aec_dump_impl",
|
|
|
|
|
]
|
Reland of Activate 'offload debug dump recordings from audio thread to TaskQueue'. (patchset #1 id:1 of https://codereview.webrtc.org/2910633002/ )
Reason for revert:
Revert of revert of revert of revert of 'Activating..'. Or "reland of reland of 'Activate..'".
*Now* the internal projects are fixed and the fix is verified.
Original issue's description:
> Revert of Activate 'offload debug dump recordings from audio thread to TaskQueue'. (patchset #1 id:1 of https://codereview.webrtc.org/2903153005/ )
>
> Reason for revert:
> Reverting again: internal project issues were apparently not completely fixed.
>
> Original issue's description:
> > Reland of Activate 'offload debug dump recordings from audio thread to TaskQueue'. (patchset #1 id:1 of https://codereview.webrtc.org/2904893002/ )
> >
> > Reason for revert:
> > Revert the revert now that internal projects are updated.
> >
> > Original issue's description:
> > > Revert of Activate 'offload debug dump recordings from audio thread to TaskQueue'. (patchset #4 id:160001 of https://codereview.webrtc.org/2896813002/ )
> > >
> > > Reason for revert:
> > > Breaks internal project.
> > >
> > > Original issue's description:
> > > > Activate 'offload debug dump recordings from audio thread to TaskQueue'.
> > > >
> > > > A low priority task queue is added to WebRTCVoiceEngine. The
> > > > start/stop debug calls make file logging happen on the task queue.
> > > >
> > > > In a dependent CL (https://codereview.webrtc.org/2888303003), the task queue is moved to PeerConnectionFactory,
> > > > so that it can be shared for low priority tasks between different
> > > > subcomponents. It will require some changes to MediaEngine,
> > > > CompositeMediaEngine, WebRTCVoiceEngine, and changes in internal
> > > > projects.
> > > >
> > > > A task queue must be created and destroyed from the same thread. With
> > > > this CL that will be the worker thread, which creates and destroys
> > > > WebRTCVoiceEngine. With the dependent CL, it will probably change to
> > > > the signaling thread.
> > > >
> > > > NOTRY=True # tests just passed
> > > >
> > > > BUG=webrtc:7404
> > > >
> > > > Review-Url: https://codereview.webrtc.org/2896813002
> > > > Cr-Commit-Position: refs/heads/master@{#18252}
> > > > Committed: https://chromium.googlesource.com/external/webrtc/+/c61bf947b4ac31f3500858ffcae6fee39d799930
> > >
> > > TBR=solenberg@webrtc.org,tommi@webrtc.org,perkj@webrtc.org,danilchap@webrtc.org,tommi@chromium.org
> > > # Skipping CQ checks because original CL landed less than 1 days ago.
> > > NOPRESUBMIT=true
> > > NOTREECHECKS=true
> > > NOTRY=true
> > > BUG=webrtc:7404
> > >
> > > Review-Url: https://codereview.webrtc.org/2904893002
> > > Cr-Commit-Position: refs/heads/master@{#18255}
> > > Committed: https://chromium.googlesource.com/external/webrtc/+/be68b72cfad0686dcd892bba1368b199a7ee16ca
> >
> > TBR=solenberg@webrtc.org,tommi@webrtc.org,perkj@webrtc.org,danilchap@webrtc.org,tommi@chromium.org
> > # Not skipping CQ checks because original CL landed more than 1 days ago.
> > BUG=webrtc:7404
> >
> > Review-Url: https://codereview.webrtc.org/2903153005
> > Cr-Commit-Position: refs/heads/master@{#18270}
> > Committed: https://chromium.googlesource.com/external/webrtc/+/d2303a2338106feab684860f1c133877b46bdd4f
>
> TBR=solenberg@webrtc.org,tommi@webrtc.org,perkj@webrtc.org,danilchap@webrtc.org,tommi@chromium.org
> # Skipping CQ checks because original CL landed less than 1 days ago.
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=webrtc:7404
>
> Review-Url: https://codereview.webrtc.org/2910633002
> Cr-Commit-Position: refs/heads/master@{#18272}
> Committed: https://chromium.googlesource.com/external/webrtc/+/fe9ecb07ea8254d8a09605f25203a4d045b3ffee
TBR=solenberg@webrtc.org,tommi@webrtc.org,perkj@webrtc.org,danilchap@webrtc.org,tommi@chromium.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=webrtc:7404
Review-Url: https://codereview.webrtc.org/2904423002
Cr-Commit-Position: refs/heads/master@{#18300}
2017-05-29 02:56:27 -07:00
|
|
|
} else {
|
|
|
|
|
deps += [ "../modules/audio_processing/aec_dump:null_aec_dump_factory" ]
|
|
|
|
|
}
|
2019-04-10 12:50:24 +02:00
|
|
|
}
|
|
|
|
|
|
2019-04-10 14:10:10 +02:00
|
|
|
# Heavy but optional helper for unittests and webrtc users who prefer to use
|
|
|
|
|
# defaults factories or do not worry about extra dependencies and binary size.
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("rtc_media_engine_defaults") {
|
2019-04-10 14:10:10 +02:00
|
|
|
visibility = [ "*" ]
|
|
|
|
|
allow_poison = [
|
|
|
|
|
"audio_codecs",
|
2019-07-10 12:44:43 +02:00
|
|
|
"default_task_queue",
|
2019-04-10 14:10:10 +02:00
|
|
|
"software_video_codecs",
|
|
|
|
|
]
|
|
|
|
|
sources = [
|
|
|
|
|
"engine/webrtc_media_engine_defaults.cc",
|
|
|
|
|
"engine/webrtc_media_engine_defaults.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":rtc_audio_video",
|
|
|
|
|
"../api/audio_codecs:builtin_audio_decoder_factory",
|
|
|
|
|
"../api/audio_codecs:builtin_audio_encoder_factory",
|
|
|
|
|
"../api/task_queue:default_task_queue_factory",
|
|
|
|
|
"../api/video:builtin_video_bitrate_allocator_factory",
|
|
|
|
|
"../api/video_codecs:builtin_video_decoder_factory",
|
|
|
|
|
"../api/video_codecs:builtin_video_encoder_factory",
|
|
|
|
|
"../modules/audio_processing:api",
|
|
|
|
|
"../rtc_base:checks",
|
2019-12-02 10:26:34 -08:00
|
|
|
"../rtc_base/system:rtc_export",
|
2019-04-10 14:10:10 +02:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2021-04-15 15:02:56 +02:00
|
|
|
rtc_source_set("rtc_data_sctp_transport_internal") {
|
|
|
|
|
sources = [ "sctp/sctp_transport_internal.h" ]
|
2019-04-10 12:50:24 +02:00
|
|
|
deps = [
|
2022-12-16 09:54:57 +00:00
|
|
|
":media_channel",
|
2021-05-10 11:29:56 +02:00
|
|
|
"../api/transport:datagram_transport_interface",
|
2021-04-15 15:02:56 +02:00
|
|
|
"../media:rtc_media_base",
|
2019-04-10 12:50:24 +02:00
|
|
|
"../p2p:rtc_p2p",
|
2022-04-19 17:40:46 +02:00
|
|
|
"../rtc_base:copy_on_write_buffer",
|
2021-01-15 10:41:01 +01:00
|
|
|
"../rtc_base:threading",
|
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
|
|
|
]
|
2021-04-15 15:02:56 +02:00
|
|
|
}
|
2017-06-15 12:52:32 -07:00
|
|
|
|
2021-05-06 10:50:07 +02:00
|
|
|
if (rtc_build_dcsctp) {
|
|
|
|
|
rtc_library("rtc_data_dcsctp_transport") {
|
|
|
|
|
sources = [
|
|
|
|
|
"sctp/dcsctp_transport.cc",
|
|
|
|
|
"sctp/dcsctp_transport.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
2022-12-16 09:54:57 +00:00
|
|
|
":media_channel",
|
2021-05-06 10:50:07 +02:00
|
|
|
":rtc_data_sctp_transport_internal",
|
|
|
|
|
"../api:array_view",
|
2022-06-16 21:27:45 +02:00
|
|
|
"../api/task_queue:pending_task_safety_flag",
|
2022-01-26 18:38:13 +01:00
|
|
|
"../api/task_queue:task_queue",
|
2021-05-06 10:50:07 +02:00
|
|
|
"../media:rtc_media_base",
|
2021-06-01 18:39:49 +02:00
|
|
|
"../net/dcsctp/public:factory",
|
2021-05-06 10:50:07 +02:00
|
|
|
"../net/dcsctp/public:socket",
|
|
|
|
|
"../net/dcsctp/public:types",
|
2021-06-19 07:59:01 +02:00
|
|
|
"../net/dcsctp/public:utils",
|
2021-05-06 10:50:07 +02:00
|
|
|
"../net/dcsctp/timer:task_queue_timeout",
|
|
|
|
|
"../p2p:rtc_p2p",
|
|
|
|
|
"../rtc_base:checks",
|
2022-04-19 17:40:46 +02:00
|
|
|
"../rtc_base:copy_on_write_buffer",
|
2022-04-19 17:47:13 +02:00
|
|
|
"../rtc_base:event_tracer",
|
2022-04-04 15:06:30 +02:00
|
|
|
"../rtc_base:logging",
|
2022-08-22 11:34:29 +02:00
|
|
|
"../rtc_base:macromagic",
|
2022-04-14 12:41:26 +02:00
|
|
|
"../rtc_base:random",
|
2021-08-12 15:21:25 +02:00
|
|
|
"../rtc_base:socket",
|
2022-04-04 17:14:02 +02:00
|
|
|
"../rtc_base:stringutils",
|
2021-05-06 10:50:07 +02:00
|
|
|
"../rtc_base:threading",
|
2022-05-05 23:43:44 +02:00
|
|
|
"../rtc_base/containers:flat_map",
|
2021-05-06 10:50:07 +02:00
|
|
|
"../rtc_base/third_party/sigslot:sigslot",
|
|
|
|
|
"../system_wrappers",
|
|
|
|
|
]
|
|
|
|
|
absl_deps += [
|
|
|
|
|
"//third_party/abseil-cpp/absl/strings:strings",
|
|
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2021-04-15 15:02:56 +02:00
|
|
|
rtc_library("rtc_data_sctp_transport_factory") {
|
|
|
|
|
defines = []
|
|
|
|
|
sources = [
|
|
|
|
|
"sctp/sctp_transport_factory.cc",
|
|
|
|
|
"sctp/sctp_transport_factory.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":rtc_data_sctp_transport_internal",
|
|
|
|
|
"../api/transport:sctp_transport_factory_interface",
|
|
|
|
|
"../rtc_base:threading",
|
|
|
|
|
"../rtc_base/system:unused",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
if (rtc_enable_sctp) {
|
2022-03-31 19:15:10 +02:00
|
|
|
assert(rtc_build_dcsctp, "An SCTP backend is required to enable SCTP")
|
2021-05-06 10:50:07 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (rtc_build_dcsctp) {
|
|
|
|
|
defines += [ "WEBRTC_HAVE_DCSCTP" ]
|
|
|
|
|
deps += [
|
|
|
|
|
":rtc_data_dcsctp_transport",
|
|
|
|
|
"../system_wrappers",
|
|
|
|
|
"../system_wrappers:field_trial",
|
|
|
|
|
]
|
2021-04-15 15:02:56 +02:00
|
|
|
}
|
2017-06-15 12:52:32 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_source_set("rtc_media") {
|
2018-01-10 15:54:53 +00:00
|
|
|
visibility = [ "*" ]
|
2019-01-14 14:23:23 +01:00
|
|
|
allow_poison = [ "audio_codecs" ] # TODO(bugs.webrtc.org/8396): Remove.
|
2021-04-15 15:02:56 +02:00
|
|
|
deps = [ ":rtc_audio_video" ]
|
2017-06-15 12:52:32 -07:00
|
|
|
}
|
|
|
|
|
|
2016-06-12 22:12:01 -07:00
|
|
|
if (rtc_include_tests) {
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("rtc_media_tests_utils") {
|
2016-06-12 22:12:01 -07:00
|
|
|
testonly = true
|
|
|
|
|
|
2018-05-14 09:48:06 +02:00
|
|
|
defines = []
|
2017-03-06 06:04:55 -08:00
|
|
|
deps = [
|
2022-12-16 09:54:57 +00:00
|
|
|
":codec",
|
|
|
|
|
":media_channel",
|
|
|
|
|
":media_constants",
|
2018-01-11 17:07:30 +01:00
|
|
|
":rtc_audio_video",
|
2019-04-10 12:50:24 +02:00
|
|
|
":rtc_internal_video_codecs",
|
|
|
|
|
":rtc_media",
|
|
|
|
|
":rtc_media_base",
|
2018-10-19 00:51:18 -07:00
|
|
|
":rtc_simulcast_encoder_adapter",
|
2022-12-16 09:54:57 +00:00
|
|
|
":rtp_utils",
|
|
|
|
|
":stream_params",
|
2019-04-10 12:50:24 +02:00
|
|
|
"../api:call_api",
|
2019-06-28 15:19:43 +02:00
|
|
|
"../api:fec_controller_api",
|
2019-01-25 20:26:48 +01:00
|
|
|
"../api:scoped_refptr",
|
2022-08-17 10:24:02 +02:00
|
|
|
"../api/task_queue",
|
|
|
|
|
"../api/task_queue:pending_task_safety_flag",
|
2020-09-22 11:36:35 +02:00
|
|
|
"../api/transport:field_trial_based_config",
|
2023-01-05 15:20:33 +01:00
|
|
|
"../api/units:timestamp",
|
2018-11-28 16:47:49 +01:00
|
|
|
"../api/video:encoded_image",
|
2019-04-10 12:50:24 +02:00
|
|
|
"../api/video:video_bitrate_allocation",
|
|
|
|
|
"../api/video:video_frame",
|
2019-06-10 12:59:38 +02:00
|
|
|
"../api/video:video_rtp_headers",
|
2019-04-10 12:50:24 +02:00
|
|
|
"../api/video_codecs:video_codecs_api",
|
|
|
|
|
"../call:call_interfaces",
|
|
|
|
|
"../call:mock_rtp_interfaces",
|
2017-08-22 05:43:23 -07:00
|
|
|
"../call:video_stream_api",
|
2019-03-21 13:35:10 +01:00
|
|
|
"../common_video",
|
|
|
|
|
"../modules/audio_processing",
|
2018-11-07 14:29:54 +00:00
|
|
|
"../modules/audio_processing:api",
|
2017-12-06 07:51:33 +01:00
|
|
|
"../modules/rtp_rtcp:rtp_rtcp_format",
|
2018-01-08 11:05:10 +01:00
|
|
|
"../modules/video_coding:video_codec_interface",
|
2017-09-18 03:08:08 -07:00
|
|
|
"../modules/video_coding:video_coding_utility",
|
2017-03-06 06:04:55 -08:00
|
|
|
"../p2p:rtc_p2p",
|
2019-04-10 12:50:24 +02:00
|
|
|
"../rtc_base",
|
2022-04-19 17:07:23 +02:00
|
|
|
"../rtc_base:buffer",
|
2022-04-19 17:18:36 +02:00
|
|
|
"../rtc_base:byte_order",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../rtc_base:checks",
|
2022-04-19 17:40:46 +02:00
|
|
|
"../rtc_base:copy_on_write_buffer",
|
2023-01-04 12:01:09 +01:00
|
|
|
"../rtc_base:dscp",
|
2018-11-23 13:15:08 +01:00
|
|
|
"../rtc_base:gunit_helpers",
|
2022-04-04 15:18:46 +02:00
|
|
|
"../rtc_base:macromagic",
|
2023-01-04 12:01:09 +01:00
|
|
|
"../rtc_base:network_route",
|
2022-04-04 16:57:52 +02:00
|
|
|
"../rtc_base:rtc_event",
|
2018-03-19 11:12:48 +01:00
|
|
|
"../rtc_base:rtc_task_queue",
|
2017-12-15 14:40:10 +01:00
|
|
|
"../rtc_base:stringutils",
|
2021-01-15 10:41:01 +01:00
|
|
|
"../rtc_base:threading",
|
2022-04-04 17:16:15 +02:00
|
|
|
"../rtc_base:timeutils",
|
2020-07-07 15:43:11 +02:00
|
|
|
"../rtc_base/synchronization:mutex",
|
2019-04-10 12:50:24 +02:00
|
|
|
"../rtc_base/third_party/sigslot",
|
2022-03-14 12:52:48 +01:00
|
|
|
"../test:scoped_key_value_config",
|
2019-04-10 12:50:24 +02:00
|
|
|
"../test:test_support",
|
2022-09-28 16:28:42 +02:00
|
|
|
"../video/config:streams_config",
|
2019-04-10 12:50:24 +02:00
|
|
|
"//testing/gtest",
|
2020-06-05 14:30:41 +02:00
|
|
|
]
|
|
|
|
|
absl_deps = [
|
2019-01-28 17:27:58 -08:00
|
|
|
"//third_party/abseil-cpp/absl/algorithm:container",
|
2018-10-30 22:23:02 +01:00
|
|
|
"//third_party/abseil-cpp/absl/strings",
|
2017-03-06 06:04:55 -08:00
|
|
|
]
|
2016-06-12 22:12:01 -07:00
|
|
|
sources = [
|
2019-01-11 09:11:00 -08:00
|
|
|
"base/fake_frame_source.cc",
|
|
|
|
|
"base/fake_frame_source.h",
|
|
|
|
|
"base/fake_media_engine.cc",
|
|
|
|
|
"base/fake_media_engine.h",
|
|
|
|
|
"base/fake_network_interface.h",
|
|
|
|
|
"base/fake_rtp.cc",
|
|
|
|
|
"base/fake_rtp.h",
|
|
|
|
|
"base/fake_video_renderer.cc",
|
|
|
|
|
"base/fake_video_renderer.h",
|
|
|
|
|
"base/test_utils.cc",
|
|
|
|
|
"base/test_utils.h",
|
|
|
|
|
"engine/fake_webrtc_call.cc",
|
|
|
|
|
"engine/fake_webrtc_call.h",
|
|
|
|
|
"engine/fake_webrtc_video_engine.cc",
|
|
|
|
|
"engine/fake_webrtc_video_engine.h",
|
2016-06-12 22:12:01 -07:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
if (!build_with_chromium) {
|
|
|
|
|
rtc_media_unittests_resources = [
|
|
|
|
|
"../resources/media/captured-320x240-2s-48.frames",
|
|
|
|
|
"../resources/media/faces.1280x720_P420.yuv",
|
|
|
|
|
"../resources/media/faces_I400.jpg",
|
|
|
|
|
"../resources/media/faces_I411.jpg",
|
|
|
|
|
"../resources/media/faces_I420.jpg",
|
|
|
|
|
"../resources/media/faces_I422.jpg",
|
|
|
|
|
"../resources/media/faces_I444.jpg",
|
2016-06-12 22:12:01 -07:00
|
|
|
]
|
|
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
if (is_ios) {
|
|
|
|
|
bundle_data("rtc_media_unittests_bundle_data") {
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = rtc_media_unittests_resources
|
|
|
|
|
outputs = [ "{{bundle_resources_dir}}/{{source_file_part}}" ]
|
|
|
|
|
}
|
2017-02-16 05:37:06 -08:00
|
|
|
}
|
|
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
rtc_test("rtc_media_unittests") {
|
|
|
|
|
testonly = true
|
2016-08-30 02:53:49 -07:00
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
defines = []
|
|
|
|
|
deps = [
|
2022-12-16 09:54:57 +00:00
|
|
|
":codec",
|
|
|
|
|
":media_constants",
|
2021-02-01 09:56:37 +00:00
|
|
|
":rtc_audio_video",
|
|
|
|
|
":rtc_encoder_simulcast_proxy",
|
|
|
|
|
":rtc_internal_video_codecs",
|
|
|
|
|
":rtc_media",
|
|
|
|
|
":rtc_media_base",
|
|
|
|
|
":rtc_media_engine_defaults",
|
|
|
|
|
":rtc_media_tests_utils",
|
2021-04-19 09:09:26 +02:00
|
|
|
":rtc_sdp_video_format_utils",
|
2021-02-01 09:56:37 +00:00
|
|
|
":rtc_simulcast_encoder_adapter",
|
2022-12-16 09:54:57 +00:00
|
|
|
":rtp_utils",
|
|
|
|
|
":stream_params",
|
|
|
|
|
":turn_utils",
|
2021-02-01 09:56:37 +00:00
|
|
|
"../api:create_simulcast_test_fixture_api",
|
|
|
|
|
"../api:libjingle_peerconnection_api",
|
2022-06-08 11:25:46 +02:00
|
|
|
"../api:mock_encoder_selector",
|
2021-02-01 09:56:37 +00:00
|
|
|
"../api:mock_video_bitrate_allocator",
|
|
|
|
|
"../api:mock_video_bitrate_allocator_factory",
|
|
|
|
|
"../api:mock_video_codec_factory",
|
|
|
|
|
"../api:mock_video_encoder",
|
|
|
|
|
"../api:rtp_parameters",
|
|
|
|
|
"../api:scoped_refptr",
|
|
|
|
|
"../api:simulcast_test_fixture_api",
|
|
|
|
|
"../api/audio_codecs:builtin_audio_decoder_factory",
|
|
|
|
|
"../api/audio_codecs:builtin_audio_encoder_factory",
|
|
|
|
|
"../api/rtc_event_log",
|
|
|
|
|
"../api/task_queue",
|
|
|
|
|
"../api/task_queue:default_task_queue_factory",
|
|
|
|
|
"../api/test/video:function_video_factory",
|
|
|
|
|
"../api/transport:field_trial_based_config",
|
|
|
|
|
"../api/units:time_delta",
|
2021-11-05 15:02:03 +01:00
|
|
|
"../api/units:timestamp",
|
2021-02-01 09:56:37 +00:00
|
|
|
"../api/video:builtin_video_bitrate_allocator_factory",
|
2022-10-07 15:37:17 +02:00
|
|
|
"../api/video:resolution",
|
2021-02-01 09:56:37 +00:00
|
|
|
"../api/video:video_bitrate_allocation",
|
2021-02-02 18:23:40 +01:00
|
|
|
"../api/video:video_codec_constants",
|
2021-02-01 09:56:37 +00:00
|
|
|
"../api/video:video_frame",
|
|
|
|
|
"../api/video:video_rtp_headers",
|
|
|
|
|
"../api/video_codecs:builtin_video_decoder_factory",
|
|
|
|
|
"../api/video_codecs:builtin_video_encoder_factory",
|
|
|
|
|
"../api/video_codecs:video_codecs_api",
|
|
|
|
|
"../audio",
|
|
|
|
|
"../call:call_interfaces",
|
|
|
|
|
"../common_video",
|
|
|
|
|
"../modules/audio_device:mock_audio_device",
|
2022-11-23 16:48:49 +01:00
|
|
|
"../modules/audio_mixer:audio_mixer_impl",
|
2021-02-01 09:56:37 +00:00
|
|
|
"../modules/audio_processing",
|
|
|
|
|
"../modules/audio_processing:api",
|
|
|
|
|
"../modules/audio_processing:mocks",
|
|
|
|
|
"../modules/rtp_rtcp",
|
2021-06-03 12:27:12 +02:00
|
|
|
"../modules/rtp_rtcp:rtp_rtcp_format",
|
2021-02-01 09:56:37 +00:00
|
|
|
"../modules/video_coding:simulcast_test_fixture_impl",
|
|
|
|
|
"../modules/video_coding:video_codec_interface",
|
|
|
|
|
"../modules/video_coding:webrtc_h264",
|
|
|
|
|
"../modules/video_coding:webrtc_vp8",
|
|
|
|
|
"../p2p:p2p_test_utils",
|
|
|
|
|
"../rtc_base",
|
2023-01-04 12:01:09 +01:00
|
|
|
"../rtc_base:async_packet_socket",
|
2022-04-19 17:18:36 +02:00
|
|
|
"../rtc_base:byte_order",
|
2021-02-01 09:56:37 +00:00
|
|
|
"../rtc_base:checks",
|
|
|
|
|
"../rtc_base:gunit_helpers",
|
2022-04-04 15:06:30 +02:00
|
|
|
"../rtc_base:logging",
|
2022-04-04 15:18:46 +02:00
|
|
|
"../rtc_base:macromagic",
|
2021-02-01 09:56:37 +00:00
|
|
|
"../rtc_base:rtc_base_tests_utils",
|
2022-04-04 16:57:52 +02:00
|
|
|
"../rtc_base:rtc_event",
|
2021-02-01 09:56:37 +00:00
|
|
|
"../rtc_base:rtc_task_queue",
|
2022-04-04 17:04:37 +02:00
|
|
|
"../rtc_base:safe_conversions",
|
2021-02-01 09:56:37 +00:00
|
|
|
"../rtc_base:stringutils",
|
|
|
|
|
"../rtc_base:threading",
|
2022-04-04 17:16:15 +02:00
|
|
|
"../rtc_base:timeutils",
|
2021-02-01 09:56:37 +00:00
|
|
|
"../rtc_base/experiments:min_video_bitrate_experiment",
|
|
|
|
|
"../rtc_base/synchronization:mutex",
|
|
|
|
|
"../rtc_base/third_party/sigslot",
|
2021-06-04 12:50:01 +02:00
|
|
|
"../system_wrappers:field_trial",
|
2021-02-01 09:56:37 +00:00
|
|
|
"../test:audio_codec_mocks",
|
|
|
|
|
"../test:fake_video_codecs",
|
|
|
|
|
"../test:field_trial",
|
|
|
|
|
"../test:rtp_test_utils",
|
2022-03-10 15:21:28 +01:00
|
|
|
"../test:scoped_key_value_config",
|
2021-02-01 09:56:37 +00:00
|
|
|
"../test:test_main",
|
|
|
|
|
"../test:test_support",
|
|
|
|
|
"../test:video_test_common",
|
2021-11-05 15:02:03 +01:00
|
|
|
"../test/time_controller",
|
2022-09-27 16:53:04 +02:00
|
|
|
"../video/config:streams_config",
|
2021-02-01 09:56:37 +00:00
|
|
|
]
|
2022-05-24 10:32:32 +02:00
|
|
|
|
|
|
|
|
if (enable_libaom) {
|
|
|
|
|
defines += [ "RTC_USE_LIBAOM_AV1_ENCODER" ]
|
|
|
|
|
}
|
|
|
|
|
|
2021-02-01 09:56:37 +00: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",
|
|
|
|
|
]
|
|
|
|
|
sources = [
|
|
|
|
|
"base/codec_unittest.cc",
|
|
|
|
|
"base/media_engine_unittest.cc",
|
|
|
|
|
"base/rtp_utils_unittest.cc",
|
2021-04-19 09:09:26 +02:00
|
|
|
"base/sdp_video_format_utils_unittest.cc",
|
2021-02-01 09:56:37 +00:00
|
|
|
"base/stream_params_unittest.cc",
|
|
|
|
|
"base/turn_utils_unittest.cc",
|
|
|
|
|
"base/video_adapter_unittest.cc",
|
|
|
|
|
"base/video_broadcaster_unittest.cc",
|
|
|
|
|
"base/video_common_unittest.cc",
|
|
|
|
|
"engine/encoder_simulcast_proxy_unittest.cc",
|
|
|
|
|
"engine/internal_decoder_factory_unittest.cc",
|
2021-09-15 10:56:04 +00:00
|
|
|
"engine/internal_encoder_factory_unittest.cc",
|
2021-02-01 09:56:37 +00:00
|
|
|
"engine/multiplex_codec_factory_unittest.cc",
|
|
|
|
|
"engine/null_webrtc_video_engine_unittest.cc",
|
|
|
|
|
"engine/payload_type_mapper_unittest.cc",
|
|
|
|
|
"engine/simulcast_encoder_adapter_unittest.cc",
|
|
|
|
|
"engine/webrtc_media_engine_unittest.cc",
|
|
|
|
|
"engine/webrtc_video_engine_unittest.cc",
|
|
|
|
|
]
|
2020-07-03 16:37:57 -07:00
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
# TODO(kthelgason): Reenable this test on iOS.
|
|
|
|
|
# See bugs.webrtc.org/5569
|
|
|
|
|
if (!is_ios) {
|
|
|
|
|
sources += [ "engine/webrtc_voice_engine_unittest.cc" ]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (rtc_opus_support_120ms_ptime) {
|
|
|
|
|
defines += [ "WEBRTC_OPUS_SUPPORT_120MS_PTIME=1" ]
|
|
|
|
|
} else {
|
|
|
|
|
defines += [ "WEBRTC_OPUS_SUPPORT_120MS_PTIME=0" ]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
data = rtc_media_unittests_resources
|
|
|
|
|
|
|
|
|
|
if (is_android) {
|
|
|
|
|
deps += [ "//testing/android/native_test:native_test_support" ]
|
|
|
|
|
shard_timeout = 900
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (is_ios) {
|
|
|
|
|
deps += [ ":rtc_media_unittests_bundle_data" ]
|
|
|
|
|
}
|
2022-05-03 00:24:15 +02:00
|
|
|
|
|
|
|
|
if (rtc_build_dcsctp) {
|
|
|
|
|
sources += [ "sctp/dcsctp_transport_unittest.cc" ]
|
|
|
|
|
deps += [
|
|
|
|
|
":rtc_data_dcsctp_transport",
|
|
|
|
|
"../net/dcsctp/public:factory",
|
|
|
|
|
"../net/dcsctp/public:mocks",
|
|
|
|
|
"../net/dcsctp/public:socket",
|
|
|
|
|
]
|
|
|
|
|
}
|
2020-07-03 16:37:57 -07:00
|
|
|
}
|
2016-06-12 22:12:01 -07:00
|
|
|
}
|
|
|
|
|
}
|