2014-09-30 18:05:02 +00:00
|
|
|
# Copyright (c) 2014 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.
|
|
|
|
|
|
2016-06-01 04:48:26 -07:00
|
|
|
import("//build/config/ui.gni")
|
2018-11-22 20:10:11 -05:00
|
|
|
import("../webrtc.gni")
|
2016-06-01 04:48:26 -07:00
|
|
|
if (is_android) {
|
|
|
|
|
import("//build/config/android/rules.gni")
|
2024-12-04 15:54:49 +01:00
|
|
|
import("//third_party/jni_zero/jni_zero.gni")
|
2016-06-01 04:48:26 -07:00
|
|
|
}
|
2014-09-30 18:05:02 +00:00
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
if (!build_with_chromium) {
|
|
|
|
|
group("test") {
|
|
|
|
|
testonly = true
|
Reland of Enable GN check for webrtc/base (patchset #3 id:230001 of https://codereview.webrtc.org/2838683002/ )
Reason for revert:
Fourth attempt to land.
Waiting for https://codereview.webrtc.org/2845013003 to
avoid conflicts on webrtc/modules/audio_coding:neteq_unittest_tools.
Original issue's description:
> Revert of Enable GN check for webrtc/base (patchset #13 id:240001 of https://codereview.webrtc.org/2717083002/ )
>
> Reason for revert:
> Breaks Chromium because in Chromium we import WebRTC with rtc_include_tests=false (https://bugs.chromium.org/p/chromium/issues/detail?id=713179#c6).
>
> Chromium uses webrtc/test/fuzzers and this CL adds test dependencies to neteq_rtc_fuzzer.
>
> Original issue's description:
> > Enable GN check for webrtc/base
> >
> > It's not possible to enable it for the rtc_base_approved
> > target but since a larger refactoring is ongoing for webrtc/base
> > this CL doesn't attempt to fix that.
> >
> > Changes made:
> > * Move webrtc/system_wrappers/include/stringize_macros.h into
> > webrtc/base:rtc_base_approved_unittests (and corresponding
> > unit test to rtc_base_approved_unittests).
> > * Move md5digest.* from rtc_base_approved to rtc_base_test_utils target.
> > * Move webrtc/system_wrappers/include/stringize_macros.h (+test) into
> > webrtc/base.
> > * Remove unused use include of webrtc/base/fileutils.h in
> > webrtc/base/pathutils.cc
> >
> > BUG=webrtc:6828, webrtc:3806, webrtc:7480
> > NOTRY=True
> >
> > Review-Url: https://codereview.webrtc.org/2717083002
> > Cr-Commit-Position: refs/heads/master@{#17766}
> > Committed: https://chromium.googlesource.com/external/webrtc/+/ed754e71ae8866db641677073274e86fe704eeac
>
> TBR=perkj@webrtc.org,tommi@webrtc.org,nisse@webrtc.org,kjellander@webrtc.org
> # Not skipping CQ checks because original CL landed more than 1 days ago.
> BUG=webrtc:6828, webrtc:3806, webrtc:7480
> NOTRY=True
>
> Review-Url: https://codereview.webrtc.org/2838683002
> Cr-Commit-Position: refs/heads/master@{#17849}
> Committed: https://chromium.googlesource.com/external/webrtc/+/11ed366c487a938815cd52ad2ab5467b0f90e1ae
TBR=perkj@webrtc.org,tommi@webrtc.org,nisse@webrtc.org,kjellander@webrtc.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=webrtc:6828, webrtc:3806, webrtc:7480
Review-Url: https://codereview.webrtc.org/2852663002
Cr-Commit-Position: refs/heads/master@{#17927}
2017-04-28 05:24:50 -07:00
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
deps = [
|
|
|
|
|
":copy_to_file_audio_capturer",
|
|
|
|
|
":rtp_test_utils",
|
|
|
|
|
":test_common",
|
|
|
|
|
":test_renderer",
|
|
|
|
|
":test_support",
|
2023-03-24 18:11:16 +01:00
|
|
|
":test_video_capturer",
|
2021-02-01 09:56:37 +00:00
|
|
|
":video_test_common",
|
Reland of Enable GN check for webrtc/base (patchset #3 id:230001 of https://codereview.webrtc.org/2838683002/ )
Reason for revert:
Fourth attempt to land.
Waiting for https://codereview.webrtc.org/2845013003 to
avoid conflicts on webrtc/modules/audio_coding:neteq_unittest_tools.
Original issue's description:
> Revert of Enable GN check for webrtc/base (patchset #13 id:240001 of https://codereview.webrtc.org/2717083002/ )
>
> Reason for revert:
> Breaks Chromium because in Chromium we import WebRTC with rtc_include_tests=false (https://bugs.chromium.org/p/chromium/issues/detail?id=713179#c6).
>
> Chromium uses webrtc/test/fuzzers and this CL adds test dependencies to neteq_rtc_fuzzer.
>
> Original issue's description:
> > Enable GN check for webrtc/base
> >
> > It's not possible to enable it for the rtc_base_approved
> > target but since a larger refactoring is ongoing for webrtc/base
> > this CL doesn't attempt to fix that.
> >
> > Changes made:
> > * Move webrtc/system_wrappers/include/stringize_macros.h into
> > webrtc/base:rtc_base_approved_unittests (and corresponding
> > unit test to rtc_base_approved_unittests).
> > * Move md5digest.* from rtc_base_approved to rtc_base_test_utils target.
> > * Move webrtc/system_wrappers/include/stringize_macros.h (+test) into
> > webrtc/base.
> > * Remove unused use include of webrtc/base/fileutils.h in
> > webrtc/base/pathutils.cc
> >
> > BUG=webrtc:6828, webrtc:3806, webrtc:7480
> > NOTRY=True
> >
> > Review-Url: https://codereview.webrtc.org/2717083002
> > Cr-Commit-Position: refs/heads/master@{#17766}
> > Committed: https://chromium.googlesource.com/external/webrtc/+/ed754e71ae8866db641677073274e86fe704eeac
>
> TBR=perkj@webrtc.org,tommi@webrtc.org,nisse@webrtc.org,kjellander@webrtc.org
> # Not skipping CQ checks because original CL landed more than 1 days ago.
> BUG=webrtc:6828, webrtc:3806, webrtc:7480
> NOTRY=True
>
> Review-Url: https://codereview.webrtc.org/2838683002
> Cr-Commit-Position: refs/heads/master@{#17849}
> Committed: https://chromium.googlesource.com/external/webrtc/+/11ed366c487a938815cd52ad2ab5467b0f90e1ae
TBR=perkj@webrtc.org,tommi@webrtc.org,nisse@webrtc.org,kjellander@webrtc.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=webrtc:6828, webrtc:3806, webrtc:7480
Review-Url: https://codereview.webrtc.org/2852663002
Cr-Commit-Position: refs/heads/master@{#17927}
2017-04-28 05:24:50 -07:00
|
|
|
]
|
2021-02-01 09:56:37 +00:00
|
|
|
|
|
|
|
|
if (rtc_include_tests) {
|
|
|
|
|
deps += [
|
|
|
|
|
":test_main",
|
|
|
|
|
":test_support_unittests",
|
|
|
|
|
"pc/e2e",
|
|
|
|
|
]
|
|
|
|
|
}
|
Reland of Enable GN check for webrtc/base (patchset #3 id:230001 of https://codereview.webrtc.org/2838683002/ )
Reason for revert:
Fourth attempt to land.
Waiting for https://codereview.webrtc.org/2845013003 to
avoid conflicts on webrtc/modules/audio_coding:neteq_unittest_tools.
Original issue's description:
> Revert of Enable GN check for webrtc/base (patchset #13 id:240001 of https://codereview.webrtc.org/2717083002/ )
>
> Reason for revert:
> Breaks Chromium because in Chromium we import WebRTC with rtc_include_tests=false (https://bugs.chromium.org/p/chromium/issues/detail?id=713179#c6).
>
> Chromium uses webrtc/test/fuzzers and this CL adds test dependencies to neteq_rtc_fuzzer.
>
> Original issue's description:
> > Enable GN check for webrtc/base
> >
> > It's not possible to enable it for the rtc_base_approved
> > target but since a larger refactoring is ongoing for webrtc/base
> > this CL doesn't attempt to fix that.
> >
> > Changes made:
> > * Move webrtc/system_wrappers/include/stringize_macros.h into
> > webrtc/base:rtc_base_approved_unittests (and corresponding
> > unit test to rtc_base_approved_unittests).
> > * Move md5digest.* from rtc_base_approved to rtc_base_test_utils target.
> > * Move webrtc/system_wrappers/include/stringize_macros.h (+test) into
> > webrtc/base.
> > * Remove unused use include of webrtc/base/fileutils.h in
> > webrtc/base/pathutils.cc
> >
> > BUG=webrtc:6828, webrtc:3806, webrtc:7480
> > NOTRY=True
> >
> > Review-Url: https://codereview.webrtc.org/2717083002
> > Cr-Commit-Position: refs/heads/master@{#17766}
> > Committed: https://chromium.googlesource.com/external/webrtc/+/ed754e71ae8866db641677073274e86fe704eeac
>
> TBR=perkj@webrtc.org,tommi@webrtc.org,nisse@webrtc.org,kjellander@webrtc.org
> # Not skipping CQ checks because original CL landed more than 1 days ago.
> BUG=webrtc:6828, webrtc:3806, webrtc:7480
> NOTRY=True
>
> Review-Url: https://codereview.webrtc.org/2838683002
> Cr-Commit-Position: refs/heads/master@{#17849}
> Committed: https://chromium.googlesource.com/external/webrtc/+/11ed366c487a938815cd52ad2ab5467b0f90e1ae
TBR=perkj@webrtc.org,tommi@webrtc.org,nisse@webrtc.org,kjellander@webrtc.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=webrtc:6828, webrtc:3806, webrtc:7480
Review-Url: https://codereview.webrtc.org/2852663002
Cr-Commit-Position: refs/heads/master@{#17927}
2017-04-28 05:24:50 -07:00
|
|
|
}
|
2016-06-01 04:48:26 -07:00
|
|
|
}
|
|
|
|
|
|
2019-12-05 15:59:00 +01:00
|
|
|
rtc_library("frame_generator_impl") {
|
|
|
|
|
visibility = [
|
|
|
|
|
":*",
|
2020-09-18 18:23:08 +02:00
|
|
|
"../api:create_frame_generator",
|
2019-12-05 15:59:00 +01:00
|
|
|
]
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"frame_generator.cc",
|
|
|
|
|
"frame_generator.h",
|
|
|
|
|
"testsupport/ivf_video_frame_generator.cc",
|
|
|
|
|
"testsupport/ivf_video_frame_generator.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":frame_utils",
|
|
|
|
|
"../api:frame_generator_api",
|
|
|
|
|
"../api:scoped_refptr",
|
2021-02-10 14:31:24 +01:00
|
|
|
"../api:sequence_checker",
|
2024-03-22 14:54:48 +01:00
|
|
|
"../api/environment",
|
2019-12-05 15:59:00 +01:00
|
|
|
"../api/video:encoded_image",
|
|
|
|
|
"../api/video:video_frame",
|
|
|
|
|
"../api/video:video_frame_i010",
|
|
|
|
|
"../api/video:video_rtp_headers",
|
|
|
|
|
"../api/video_codecs:video_codecs_api",
|
|
|
|
|
"../common_video",
|
2022-12-16 09:54:57 +00:00
|
|
|
"../media:media_constants",
|
2019-12-05 15:59:00 +01:00
|
|
|
"../modules/video_coding:video_codec_interface",
|
|
|
|
|
"../modules/video_coding:video_coding_utility",
|
|
|
|
|
"../modules/video_coding:webrtc_h264",
|
|
|
|
|
"../modules/video_coding:webrtc_vp8",
|
|
|
|
|
"../modules/video_coding:webrtc_vp9",
|
2023-07-04 11:09:49 +08:00
|
|
|
"../modules/video_coding/codecs/av1:dav1d_decoder",
|
2019-12-05 15:59:00 +01:00
|
|
|
"../rtc_base:checks",
|
|
|
|
|
"../rtc_base:criticalsection",
|
2022-04-04 15:06:30 +02:00
|
|
|
"../rtc_base:logging",
|
2022-04-14 12:41:26 +02:00
|
|
|
"../rtc_base:random",
|
2019-12-05 15:59:00 +01:00
|
|
|
"../rtc_base:rtc_event",
|
2020-07-08 16:09:21 +02:00
|
|
|
"../rtc_base/synchronization:mutex",
|
2019-12-05 15:59:00 +01:00
|
|
|
"../rtc_base/system:file_wrapper",
|
|
|
|
|
"../system_wrappers",
|
2024-03-22 14:54:48 +01:00
|
|
|
"//third_party/abseil-cpp/absl/strings:string_view",
|
|
|
|
|
]
|
2019-12-05 15:59:00 +01:00
|
|
|
}
|
|
|
|
|
|
2023-02-20 10:02:59 +00:00
|
|
|
rtc_library("y4m_frame_generator") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"testsupport/y4m_frame_generator.cc",
|
|
|
|
|
"testsupport/y4m_frame_generator.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":video_test_support",
|
|
|
|
|
"../api:frame_generator_api",
|
|
|
|
|
"../api:scoped_refptr",
|
|
|
|
|
"../api/video:video_frame",
|
|
|
|
|
"../rtc_base:checks",
|
2024-05-23 11:21:53 +00:00
|
|
|
"//third_party/abseil-cpp/absl/strings:string_view",
|
2023-02-27 11:13:13 +01:00
|
|
|
]
|
2023-02-20 10:02:59 +00:00
|
|
|
}
|
|
|
|
|
|
2019-12-05 15:59:00 +01:00
|
|
|
rtc_library("frame_utils") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"frame_utils.cc",
|
|
|
|
|
"frame_utils.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
"../api:scoped_refptr",
|
|
|
|
|
"../api/video:video_frame",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2023-03-24 18:11:16 +01:00
|
|
|
rtc_library("test_video_capturer") {
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"test_video_capturer.cc",
|
|
|
|
|
"test_video_capturer.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
"../api:scoped_refptr",
|
|
|
|
|
"../api/video:video_frame",
|
|
|
|
|
"../api/video:video_rtp_headers",
|
2024-03-12 12:06:16 +00:00
|
|
|
"../media:video_adapter",
|
|
|
|
|
"../media:video_broadcaster",
|
2023-03-24 18:11:16 +01:00
|
|
|
"../rtc_base/synchronization:mutex",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2023-04-13 11:39:05 +02:00
|
|
|
rtc_library("create_frame_generator_capturer") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
testonly = true
|
2023-04-13 14:34:59 +02:00
|
|
|
sources = [
|
|
|
|
|
"create_frame_generator_capturer.cc",
|
|
|
|
|
"create_frame_generator_capturer.h",
|
|
|
|
|
]
|
2023-04-13 11:39:05 +02:00
|
|
|
deps = [
|
2023-04-13 14:34:59 +02:00
|
|
|
":fileutils",
|
2023-04-13 11:39:05 +02:00
|
|
|
":frame_generator_capturer",
|
2023-04-13 14:34:59 +02:00
|
|
|
"../api:create_frame_generator",
|
2023-04-13 11:39:05 +02:00
|
|
|
"../api:frame_generator_api",
|
|
|
|
|
"../api/task_queue",
|
|
|
|
|
"../api/units:time_delta",
|
2023-04-13 14:34:59 +02:00
|
|
|
"../rtc_base:checks",
|
2023-04-13 11:39:05 +02:00
|
|
|
"../system_wrappers",
|
2023-04-13 14:34:59 +02:00
|
|
|
"//third_party/abseil-cpp/absl/strings",
|
|
|
|
|
]
|
2023-04-13 11:39:05 +02:00
|
|
|
}
|
|
|
|
|
|
2023-04-12 10:56:13 +02:00
|
|
|
rtc_library("frame_generator_capturer") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
testonly = true
|
2023-04-12 15:29:07 +02:00
|
|
|
sources = [
|
|
|
|
|
"frame_generator_capturer.cc",
|
|
|
|
|
"frame_generator_capturer.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":test_video_capturer",
|
|
|
|
|
"../api:frame_generator_api",
|
|
|
|
|
"../api/task_queue",
|
2023-04-13 17:22:18 +02:00
|
|
|
"../api/units:time_delta",
|
2023-04-12 15:29:07 +02:00
|
|
|
"../api/video:video_frame",
|
2023-04-13 17:22:18 +02:00
|
|
|
"../api/video:video_rtp_headers",
|
2023-04-12 15:29:07 +02:00
|
|
|
"../rtc_base:checks",
|
|
|
|
|
"../rtc_base:logging",
|
2023-04-13 17:22:18 +02:00
|
|
|
"../rtc_base:macromagic",
|
2023-04-12 15:29:07 +02:00
|
|
|
"../rtc_base/synchronization:mutex",
|
|
|
|
|
"../rtc_base/task_utils:repeating_task",
|
|
|
|
|
"../system_wrappers",
|
2023-04-13 17:22:18 +02:00
|
|
|
]
|
2023-04-12 10:56:13 +02:00
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("video_test_common") {
|
2018-01-10 15:54:53 +00:00
|
|
|
visibility = [ "*" ]
|
2016-06-01 04:48:26 -07:00
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"fake_texture_frame.cc",
|
|
|
|
|
"fake_texture_frame.h",
|
2022-07-20 10:20:33 +02:00
|
|
|
"fake_videorenderer.h",
|
2019-12-05 15:59:00 +01:00
|
|
|
"frame_forwarder.cc",
|
|
|
|
|
"frame_forwarder.h",
|
Support native scaling of VideoFrameBuffers in LibvpxVp9Encoder.
This CL is part of Optimized Scaling efforts. In Chromium, the native
frame buffer is getting an optimized CropAndScale() implementation. To
support HW accelerated scaling, returning pre-scaled images and skipping
unnecessary intermediate downscales, WebRTC needs to 1) use CropAndScale
instead of libyuv::XXXXScale and 2) only map buffers it actually intends
to encode.
- To achieve this, WebRTC encoders are updated to map kNative video
buffers so that in a follow-up CL VideoStreamEncoder can stop mapping
intermediate buffer sizes.
In this CL LibvpxVp9Encoder is updated to map kNative buffers of pixel
formats it supports and convert ToI420() if the kNative buffer is
something else. A fake native buffer that keeps track of which
resolutions were mapped, MappableNativeBuffer, is added.
Because VP9 is currently an SVC encoder and not a simulcast encoder, it
does not need to invoke CropAndScale.
This CL also fixes MultiplexEncoderAdapter, but because it simply
forwards frames it only cares about the pixel format when
|supports_augmented_data_| is true so this is the only time we map it.
Because this encoder is not used with kNative in practise, we don't care
to make this path optimal.
Bug: webrtc:12469, chromium:1157072
Change-Id: I74edf85b18eccd0d250776bbade7a6444478efce
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/212580
Commit-Queue: Henrik Boström <hbos@webrtc.org>
Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org>
Reviewed-by: Evan Shrubsole <eshr@google.com>
Cr-Commit-Position: refs/heads/master@{#33526}
2021-03-22 12:24:30 +01:00
|
|
|
"mappable_native_buffer.cc",
|
|
|
|
|
"mappable_native_buffer.h",
|
2017-08-10 02:43:14 -07:00
|
|
|
"video_codec_settings.h",
|
2022-07-20 10:20:33 +02:00
|
|
|
"video_decoder_proxy_factory.h",
|
|
|
|
|
"video_encoder_nullable_proxy_factory.h",
|
|
|
|
|
"video_encoder_proxy_factory.h",
|
2016-06-01 04:48:26 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
2023-04-13 11:39:05 +02:00
|
|
|
":create_frame_generator_capturer",
|
2019-07-31 17:30:03 +02:00
|
|
|
":fileutils",
|
2019-12-05 15:59:00 +01:00
|
|
|
":frame_utils",
|
2022-03-10 15:21:28 +01:00
|
|
|
":scoped_key_value_config",
|
2023-03-24 23:31:10 +01:00
|
|
|
":test_video_capturer",
|
Support native scaling of VideoFrameBuffers in LibvpxVp9Encoder.
This CL is part of Optimized Scaling efforts. In Chromium, the native
frame buffer is getting an optimized CropAndScale() implementation. To
support HW accelerated scaling, returning pre-scaled images and skipping
unnecessary intermediate downscales, WebRTC needs to 1) use CropAndScale
instead of libyuv::XXXXScale and 2) only map buffers it actually intends
to encode.
- To achieve this, WebRTC encoders are updated to map kNative video
buffers so that in a follow-up CL VideoStreamEncoder can stop mapping
intermediate buffer sizes.
In this CL LibvpxVp9Encoder is updated to map kNative buffers of pixel
formats it supports and convert ToI420() if the kNative buffer is
something else. A fake native buffer that keeps track of which
resolutions were mapped, MappableNativeBuffer, is added.
Because VP9 is currently an SVC encoder and not a simulcast encoder, it
does not need to invoke CropAndScale.
This CL also fixes MultiplexEncoderAdapter, but because it simply
forwards frames it only cares about the pixel format when
|supports_augmented_data_| is true so this is the only time we map it.
Because this encoder is not used with kNative in practise, we don't care
to make this path optimal.
Bug: webrtc:12469, chromium:1157072
Change-Id: I74edf85b18eccd0d250776bbade7a6444478efce
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/212580
Commit-Queue: Henrik Boström <hbos@webrtc.org>
Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org>
Reviewed-by: Evan Shrubsole <eshr@google.com>
Cr-Commit-Position: refs/heads/master@{#33526}
2021-03-22 12:24:30 +01:00
|
|
|
"../api:array_view",
|
2019-12-05 15:59:00 +01:00
|
|
|
"../api:create_frame_generator",
|
2019-12-04 12:37:13 +01:00
|
|
|
"../api:frame_generator_api",
|
2019-01-25 20:26:48 +01:00
|
|
|
"../api:scoped_refptr",
|
2024-03-18 17:06:20 +01:00
|
|
|
"../api/environment",
|
2019-02-28 13:30:04 +01:00
|
|
|
"../api/task_queue",
|
2018-05-11 11:15:30 +02:00
|
|
|
"../api/video:video_frame",
|
2019-06-10 12:59:38 +02:00
|
|
|
"../api/video:video_rtp_headers",
|
2017-08-10 02:43:14 -07:00
|
|
|
"../api/video_codecs:video_codecs_api",
|
2016-06-01 04:48:26 -07:00
|
|
|
"../common_video",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../rtc_base:checks",
|
2019-11-22 13:25:12 +01:00
|
|
|
"../rtc_base:criticalsection",
|
|
|
|
|
"../rtc_base:logging",
|
|
|
|
|
"../rtc_base:refcount",
|
|
|
|
|
"../rtc_base:timeutils",
|
2020-07-08 13:13:32 +02:00
|
|
|
"../rtc_base/synchronization:mutex",
|
2019-01-18 10:30:54 +01:00
|
|
|
"../rtc_base/task_utils:repeating_task",
|
2017-06-01 04:47:20 -07:00
|
|
|
"../system_wrappers",
|
Support native scaling of VideoFrameBuffers in LibvpxVp9Encoder.
This CL is part of Optimized Scaling efforts. In Chromium, the native
frame buffer is getting an optimized CropAndScale() implementation. To
support HW accelerated scaling, returning pre-scaled images and skipping
unnecessary intermediate downscales, WebRTC needs to 1) use CropAndScale
instead of libyuv::XXXXScale and 2) only map buffers it actually intends
to encode.
- To achieve this, WebRTC encoders are updated to map kNative video
buffers so that in a follow-up CL VideoStreamEncoder can stop mapping
intermediate buffer sizes.
In this CL LibvpxVp9Encoder is updated to map kNative buffers of pixel
formats it supports and convert ToI420() if the kNative buffer is
something else. A fake native buffer that keeps track of which
resolutions were mapped, MappableNativeBuffer, is added.
Because VP9 is currently an SVC encoder and not a simulcast encoder, it
does not need to invoke CropAndScale.
This CL also fixes MultiplexEncoderAdapter, but because it simply
forwards frames it only cares about the pixel format when
|supports_augmented_data_| is true so this is the only time we map it.
Because this encoder is not used with kNative in practise, we don't care
to make this path optimal.
Bug: webrtc:12469, chromium:1157072
Change-Id: I74edf85b18eccd0d250776bbade7a6444478efce
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/212580
Commit-Queue: Henrik Boström <hbos@webrtc.org>
Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org>
Reviewed-by: Evan Shrubsole <eshr@google.com>
Cr-Commit-Position: refs/heads/master@{#33526}
2021-03-22 12:24:30 +01:00
|
|
|
"//third_party/abseil-cpp/absl/algorithm:container",
|
|
|
|
|
]
|
2016-06-01 04:48:26 -07:00
|
|
|
}
|
|
|
|
|
|
2022-07-20 10:20:33 +02:00
|
|
|
rtc_library("audio_test_common") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"audio_decoder_proxy_factory.h",
|
|
|
|
|
"function_audio_decoder_factory.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
"../api/audio_codecs:audio_codecs_api",
|
2024-08-14 19:17:05 +02:00
|
|
|
"../api/environment",
|
2024-09-03 18:37:05 +02:00
|
|
|
"../rtc_base:buffer",
|
2022-07-20 10:20:33 +02:00
|
|
|
"../rtc_base:checks",
|
2024-05-23 11:21:53 +00:00
|
|
|
"//third_party/abseil-cpp/absl/memory",
|
2022-07-20 10:20:33 +02:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-03-06 10:34:09 +01:00
|
|
|
if (!build_with_chromium) {
|
|
|
|
|
if (is_mac || is_ios) {
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("video_test_mac") {
|
2019-03-06 10:34:09 +01:00
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"mac_capturer.h",
|
|
|
|
|
"mac_capturer.mm",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
2023-03-24 23:31:10 +01:00
|
|
|
":test_video_capturer",
|
2019-03-06 10:34:09 +01:00
|
|
|
":video_test_common",
|
|
|
|
|
"../api:libjingle_peerconnection_api",
|
2019-09-17 14:30:41 +02:00
|
|
|
"../api:media_stream_interface",
|
2019-03-06 10:34:09 +01:00
|
|
|
"../api:scoped_refptr",
|
|
|
|
|
"../modules/video_capture:video_capture_module",
|
2023-06-21 15:09:33 +02:00
|
|
|
"../rtc_base:logging",
|
2021-01-15 10:41:01 +01:00
|
|
|
"../rtc_base:threading",
|
2019-03-06 10:34:09 +01:00
|
|
|
"../sdk:base_objc",
|
|
|
|
|
"../sdk:native_api",
|
|
|
|
|
"../sdk:native_video",
|
|
|
|
|
"../sdk:videocapture_objc",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("platform_video_capturer") {
|
2019-03-06 10:34:09 +01:00
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"platform_video_capturer.cc",
|
|
|
|
|
"platform_video_capturer.h",
|
|
|
|
|
]
|
2023-03-24 23:31:10 +01:00
|
|
|
deps = [
|
|
|
|
|
":test_video_capturer",
|
|
|
|
|
":video_test_common",
|
2024-05-23 11:21:53 +00:00
|
|
|
"//third_party/abseil-cpp/absl/memory",
|
2023-03-24 23:31:10 +01:00
|
|
|
]
|
2019-03-06 10:34:09 +01:00
|
|
|
if (is_mac || is_ios) {
|
|
|
|
|
deps += [ ":video_test_mac" ]
|
|
|
|
|
} else {
|
|
|
|
|
sources += [
|
|
|
|
|
"vcm_capturer.cc",
|
|
|
|
|
"vcm_capturer.h",
|
|
|
|
|
]
|
|
|
|
|
deps += [
|
2022-03-10 15:21:28 +01:00
|
|
|
":scoped_key_value_config",
|
2019-03-06 10:34:09 +01:00
|
|
|
"../api:scoped_refptr",
|
|
|
|
|
"../modules/video_capture:video_capture_module",
|
|
|
|
|
"../rtc_base:checks",
|
|
|
|
|
"../rtc_base:logging",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("rtp_test_utils") {
|
2016-06-01 04:48:26 -07:00
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"rtcp_packet_parser.cc",
|
|
|
|
|
"rtcp_packet_parser.h",
|
|
|
|
|
"rtp_file_reader.cc",
|
|
|
|
|
"rtp_file_reader.h",
|
|
|
|
|
"rtp_file_writer.cc",
|
|
|
|
|
"rtp_file_writer.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
2017-09-04 05:43:17 -07:00
|
|
|
"../api:array_view",
|
2019-08-29 16:39:05 +02:00
|
|
|
"../api:rtp_parameters",
|
2016-06-01 04:48:26 -07:00
|
|
|
"../modules/rtp_rtcp",
|
2017-12-06 07:51:33 +01:00
|
|
|
"../modules/rtp_rtcp:rtp_rtcp_format",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../rtc_base:checks",
|
2019-11-22 13:25:12 +01:00
|
|
|
"../rtc_base:criticalsection",
|
|
|
|
|
"../rtc_base:logging",
|
|
|
|
|
"../rtc_base:macromagic",
|
2024-07-30 10:33:51 -07:00
|
|
|
"../rtc_base:timeutils",
|
2020-07-09 15:18:06 +02:00
|
|
|
"../rtc_base/synchronization:mutex",
|
2018-07-25 16:05:48 +02:00
|
|
|
"../rtc_base/system:arch",
|
2024-05-23 11:21:53 +00:00
|
|
|
"//third_party/abseil-cpp/absl/strings:string_view",
|
2022-12-30 13:15:35 +01:00
|
|
|
]
|
2014-09-30 18:05:02 +00:00
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("field_trial") {
|
2022-06-29 21:04:17 +02:00
|
|
|
testonly = true
|
2018-01-10 15:54:53 +00:00
|
|
|
visibility = [ "*" ]
|
2014-09-30 18:05:02 +00:00
|
|
|
sources = [
|
|
|
|
|
"field_trial.cc",
|
|
|
|
|
"field_trial.h",
|
|
|
|
|
]
|
|
|
|
|
|
2021-08-23 17:39:58 +02:00
|
|
|
deps = [
|
|
|
|
|
"../rtc_base:checks",
|
|
|
|
|
"../system_wrappers:field_trial",
|
2024-05-23 11:21:53 +00:00
|
|
|
"//third_party/abseil-cpp/absl/strings:string_view",
|
2021-08-23 17:39:58 +02:00
|
|
|
]
|
2014-09-30 18:05:02 +00:00
|
|
|
}
|
|
|
|
|
|
2020-06-17 11:55:55 +02:00
|
|
|
rtc_library("explicit_key_value_config") {
|
|
|
|
|
sources = [
|
|
|
|
|
"explicit_key_value_config.cc",
|
|
|
|
|
"explicit_key_value_config.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
2022-09-21 15:20:22 +02:00
|
|
|
"../api:field_trials_registry",
|
2022-03-09 09:28:10 +01:00
|
|
|
"../rtc_base:checks",
|
2024-05-23 11:21:53 +00:00
|
|
|
"//third_party/abseil-cpp/absl/strings:string_view",
|
2022-03-09 09:28:10 +01:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_library("scoped_key_value_config") {
|
2022-06-29 21:04:17 +02:00
|
|
|
testonly = true
|
2022-04-08 15:54:13 +02:00
|
|
|
visibility = [ "*" ]
|
2022-03-09 09:28:10 +01:00
|
|
|
sources = [
|
|
|
|
|
"scoped_key_value_config.cc",
|
|
|
|
|
"scoped_key_value_config.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
":field_trial",
|
2022-09-21 15:20:22 +02:00
|
|
|
"../api:field_trials_registry",
|
2020-06-17 11:55:55 +02:00
|
|
|
"../rtc_base:checks",
|
2022-03-22 16:52:08 +01:00
|
|
|
"../system_wrappers:field_trial",
|
2024-05-23 11:21:53 +00:00
|
|
|
"//third_party/abseil-cpp/absl/strings:string_view",
|
2020-06-17 11:55:55 +02:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("perf_test") {
|
2018-01-10 15:54:53 +00:00
|
|
|
visibility = [ "*" ]
|
2020-01-13 15:10:40 +01:00
|
|
|
testonly = true
|
2018-01-05 15:34:09 +01:00
|
|
|
sources = [
|
|
|
|
|
"testsupport/perf_test.cc",
|
|
|
|
|
"testsupport/perf_test.h",
|
2020-01-13 15:10:40 +01:00
|
|
|
"testsupport/perf_test_histogram_writer.h",
|
|
|
|
|
"testsupport/perf_test_result_writer.h",
|
2018-01-05 15:34:09 +01:00
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
"../api:array_view",
|
2020-09-18 18:23:08 +02:00
|
|
|
"../api/numerics",
|
2018-10-03 13:53:44 +02:00
|
|
|
"../rtc_base:checks",
|
2019-11-22 13:25:12 +01:00
|
|
|
"../rtc_base:criticalsection",
|
2020-01-31 11:22:42 +01:00
|
|
|
"../rtc_base:logging",
|
2019-09-12 20:30:54 +02:00
|
|
|
"../rtc_base:rtc_numerics",
|
2021-02-11 12:54:04 +01:00
|
|
|
"../rtc_base:stringutils",
|
2020-07-08 16:09:21 +02:00
|
|
|
"../rtc_base/synchronization:mutex",
|
2020-09-29 09:26:02 +02:00
|
|
|
"../test:fileutils",
|
2024-05-23 11:21:53 +00:00
|
|
|
"//third_party/abseil-cpp/absl/strings:string_view",
|
2021-02-11 12:54:04 +01:00
|
|
|
]
|
2020-01-31 11:22:42 +01:00
|
|
|
if (rtc_enable_protobuf) {
|
|
|
|
|
sources += [ "testsupport/perf_test_histogram_writer.cc" ]
|
|
|
|
|
deps += [
|
|
|
|
|
"//third_party/catapult/tracing/tracing:histogram",
|
|
|
|
|
"//third_party/catapult/tracing/tracing:reserved_infos",
|
|
|
|
|
]
|
|
|
|
|
} else {
|
|
|
|
|
sources += [ "testsupport/perf_test_histogram_writer_no_protobuf.cc" ]
|
|
|
|
|
}
|
2018-01-05 15:34:09 +01:00
|
|
|
}
|
|
|
|
|
|
2017-08-23 23:55:54 -07:00
|
|
|
if (is_ios) {
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("test_support_objc") {
|
2017-08-23 23:55:54 -07:00
|
|
|
testonly = true
|
2022-05-04 10:59:56 +02:00
|
|
|
visibility = [
|
|
|
|
|
":google_test_runner_objc",
|
|
|
|
|
":test_support",
|
|
|
|
|
]
|
2017-08-23 23:55:54 -07:00
|
|
|
sources = [
|
2018-11-06 12:29:29 +01:00
|
|
|
"ios/coverage_util_ios.h",
|
|
|
|
|
"ios/coverage_util_ios.mm",
|
2017-08-23 23:55:54 -07:00
|
|
|
"ios/test_support.h",
|
|
|
|
|
"ios/test_support.mm",
|
|
|
|
|
]
|
2017-09-11 06:43:28 -07:00
|
|
|
deps = [
|
2023-07-27 13:26:42 +02:00
|
|
|
":google_test_runner_delegate",
|
2018-01-05 15:34:09 +01:00
|
|
|
":perf_test",
|
2022-09-23 12:06:56 +02:00
|
|
|
"../api/test/metrics:chrome_perf_dashboard_metrics_exporter",
|
|
|
|
|
"../api/test/metrics:global_metrics_logger_and_exporter",
|
|
|
|
|
"../api/test/metrics:metrics_exporter",
|
2022-12-05 09:18:27 +01:00
|
|
|
"../api/test/metrics:metrics_set_proto_file_exporter",
|
2022-09-23 12:06:56 +02:00
|
|
|
"../api/test/metrics:print_result_proxy_metrics_exporter",
|
|
|
|
|
"../api/test/metrics:stdout_metrics_exporter",
|
2018-08-30 09:30:29 +02:00
|
|
|
"../sdk:helpers_objc",
|
2017-09-11 06:43:28 -07:00
|
|
|
]
|
2018-11-06 12:29:29 +01:00
|
|
|
configs += [ ":test_support_objc_config" ]
|
|
|
|
|
}
|
|
|
|
|
|
2023-07-27 13:26:42 +02:00
|
|
|
rtc_library("google_test_runner_delegate") {
|
|
|
|
|
sources = [ "ios/google_test_runner_delegate.h" ]
|
|
|
|
|
}
|
|
|
|
|
|
2022-05-04 10:59:56 +02:00
|
|
|
rtc_library("google_test_runner_objc") {
|
|
|
|
|
testonly = true
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
sources = [ "ios/google_test_runner.mm" ]
|
|
|
|
|
configs += [ "//build/config/ios:xctest_config" ]
|
|
|
|
|
frameworks = [ "UIKit.framework" ]
|
2023-07-27 13:26:42 +02:00
|
|
|
deps = [ ":google_test_runner_delegate" ]
|
2022-05-04 10:59:56 +02:00
|
|
|
}
|
|
|
|
|
|
2018-11-06 12:29:29 +01:00
|
|
|
config("test_support_objc_config") {
|
|
|
|
|
defines = []
|
|
|
|
|
|
|
|
|
|
if (use_clang_coverage) {
|
|
|
|
|
defines += [ "WEBRTC_IOS_ENABLE_COVERAGE" ]
|
|
|
|
|
}
|
2017-08-23 23:55:54 -07:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2018-01-19 09:11:07 +01:00
|
|
|
config("suppress_warning_4373") {
|
|
|
|
|
if (is_win) {
|
|
|
|
|
cflags = [
|
|
|
|
|
# MSVC has a bug which generates this warning when using mocks; see the
|
|
|
|
|
# section on warning 4373 in he googlemock FAQ. This warning isn't the
|
|
|
|
|
# least relevant for us, anyway.
|
|
|
|
|
"/wd4373",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2018-08-23 14:44:05 +02:00
|
|
|
config("test_main_direct_config") {
|
|
|
|
|
visibility = [ ":*" ]
|
2020-12-09 12:49:39 +00:00
|
|
|
defines = [ "WEBRTC_UNIT_TEST" ]
|
2018-08-23 14:44:05 +02:00
|
|
|
}
|
Reland of Enable GN check for webrtc/base (patchset #3 id:230001 of https://codereview.webrtc.org/2838683002/ )
Reason for revert:
Fourth attempt to land.
Waiting for https://codereview.webrtc.org/2845013003 to
avoid conflicts on webrtc/modules/audio_coding:neteq_unittest_tools.
Original issue's description:
> Revert of Enable GN check for webrtc/base (patchset #13 id:240001 of https://codereview.webrtc.org/2717083002/ )
>
> Reason for revert:
> Breaks Chromium because in Chromium we import WebRTC with rtc_include_tests=false (https://bugs.chromium.org/p/chromium/issues/detail?id=713179#c6).
>
> Chromium uses webrtc/test/fuzzers and this CL adds test dependencies to neteq_rtc_fuzzer.
>
> Original issue's description:
> > Enable GN check for webrtc/base
> >
> > It's not possible to enable it for the rtc_base_approved
> > target but since a larger refactoring is ongoing for webrtc/base
> > this CL doesn't attempt to fix that.
> >
> > Changes made:
> > * Move webrtc/system_wrappers/include/stringize_macros.h into
> > webrtc/base:rtc_base_approved_unittests (and corresponding
> > unit test to rtc_base_approved_unittests).
> > * Move md5digest.* from rtc_base_approved to rtc_base_test_utils target.
> > * Move webrtc/system_wrappers/include/stringize_macros.h (+test) into
> > webrtc/base.
> > * Remove unused use include of webrtc/base/fileutils.h in
> > webrtc/base/pathutils.cc
> >
> > BUG=webrtc:6828, webrtc:3806, webrtc:7480
> > NOTRY=True
> >
> > Review-Url: https://codereview.webrtc.org/2717083002
> > Cr-Commit-Position: refs/heads/master@{#17766}
> > Committed: https://chromium.googlesource.com/external/webrtc/+/ed754e71ae8866db641677073274e86fe704eeac
>
> TBR=perkj@webrtc.org,tommi@webrtc.org,nisse@webrtc.org,kjellander@webrtc.org
> # Not skipping CQ checks because original CL landed more than 1 days ago.
> BUG=webrtc:6828, webrtc:3806, webrtc:7480
> NOTRY=True
>
> Review-Url: https://codereview.webrtc.org/2838683002
> Cr-Commit-Position: refs/heads/master@{#17849}
> Committed: https://chromium.googlesource.com/external/webrtc/+/11ed366c487a938815cd52ad2ab5467b0f90e1ae
TBR=perkj@webrtc.org,tommi@webrtc.org,nisse@webrtc.org,kjellander@webrtc.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=webrtc:6828, webrtc:3806, webrtc:7480
Review-Url: https://codereview.webrtc.org/2852663002
Cr-Commit-Position: refs/heads/master@{#17927}
2017-04-28 05:24:50 -07:00
|
|
|
rtc_source_set("test_support") {
|
2018-01-10 15:54:53 +00:00
|
|
|
visibility = [ "*" ]
|
Reland of Enable GN check for webrtc/base (patchset #3 id:230001 of https://codereview.webrtc.org/2838683002/ )
Reason for revert:
Fourth attempt to land.
Waiting for https://codereview.webrtc.org/2845013003 to
avoid conflicts on webrtc/modules/audio_coding:neteq_unittest_tools.
Original issue's description:
> Revert of Enable GN check for webrtc/base (patchset #13 id:240001 of https://codereview.webrtc.org/2717083002/ )
>
> Reason for revert:
> Breaks Chromium because in Chromium we import WebRTC with rtc_include_tests=false (https://bugs.chromium.org/p/chromium/issues/detail?id=713179#c6).
>
> Chromium uses webrtc/test/fuzzers and this CL adds test dependencies to neteq_rtc_fuzzer.
>
> Original issue's description:
> > Enable GN check for webrtc/base
> >
> > It's not possible to enable it for the rtc_base_approved
> > target but since a larger refactoring is ongoing for webrtc/base
> > this CL doesn't attempt to fix that.
> >
> > Changes made:
> > * Move webrtc/system_wrappers/include/stringize_macros.h into
> > webrtc/base:rtc_base_approved_unittests (and corresponding
> > unit test to rtc_base_approved_unittests).
> > * Move md5digest.* from rtc_base_approved to rtc_base_test_utils target.
> > * Move webrtc/system_wrappers/include/stringize_macros.h (+test) into
> > webrtc/base.
> > * Remove unused use include of webrtc/base/fileutils.h in
> > webrtc/base/pathutils.cc
> >
> > BUG=webrtc:6828, webrtc:3806, webrtc:7480
> > NOTRY=True
> >
> > Review-Url: https://codereview.webrtc.org/2717083002
> > Cr-Commit-Position: refs/heads/master@{#17766}
> > Committed: https://chromium.googlesource.com/external/webrtc/+/ed754e71ae8866db641677073274e86fe704eeac
>
> TBR=perkj@webrtc.org,tommi@webrtc.org,nisse@webrtc.org,kjellander@webrtc.org
> # Not skipping CQ checks because original CL landed more than 1 days ago.
> BUG=webrtc:6828, webrtc:3806, webrtc:7480
> NOTRY=True
>
> Review-Url: https://codereview.webrtc.org/2838683002
> Cr-Commit-Position: refs/heads/master@{#17849}
> Committed: https://chromium.googlesource.com/external/webrtc/+/11ed366c487a938815cd52ad2ab5467b0f90e1ae
TBR=perkj@webrtc.org,tommi@webrtc.org,nisse@webrtc.org,kjellander@webrtc.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=webrtc:6828, webrtc:3806, webrtc:7480
Review-Url: https://codereview.webrtc.org/2852663002
Cr-Commit-Position: refs/heads/master@{#17927}
2017-04-28 05:24:50 -07:00
|
|
|
testonly = true
|
|
|
|
|
|
2018-01-26 11:57:47 +01:00
|
|
|
all_dependent_configs = [
|
|
|
|
|
":suppress_warning_4373",
|
|
|
|
|
"//third_party/googletest:gmock_config",
|
|
|
|
|
"//third_party/googletest:gtest_config",
|
|
|
|
|
]
|
2018-01-19 09:11:07 +01:00
|
|
|
|
Reland of Enable GN check for webrtc/base (patchset #3 id:230001 of https://codereview.webrtc.org/2838683002/ )
Reason for revert:
Fourth attempt to land.
Waiting for https://codereview.webrtc.org/2845013003 to
avoid conflicts on webrtc/modules/audio_coding:neteq_unittest_tools.
Original issue's description:
> Revert of Enable GN check for webrtc/base (patchset #13 id:240001 of https://codereview.webrtc.org/2717083002/ )
>
> Reason for revert:
> Breaks Chromium because in Chromium we import WebRTC with rtc_include_tests=false (https://bugs.chromium.org/p/chromium/issues/detail?id=713179#c6).
>
> Chromium uses webrtc/test/fuzzers and this CL adds test dependencies to neteq_rtc_fuzzer.
>
> Original issue's description:
> > Enable GN check for webrtc/base
> >
> > It's not possible to enable it for the rtc_base_approved
> > target but since a larger refactoring is ongoing for webrtc/base
> > this CL doesn't attempt to fix that.
> >
> > Changes made:
> > * Move webrtc/system_wrappers/include/stringize_macros.h into
> > webrtc/base:rtc_base_approved_unittests (and corresponding
> > unit test to rtc_base_approved_unittests).
> > * Move md5digest.* from rtc_base_approved to rtc_base_test_utils target.
> > * Move webrtc/system_wrappers/include/stringize_macros.h (+test) into
> > webrtc/base.
> > * Remove unused use include of webrtc/base/fileutils.h in
> > webrtc/base/pathutils.cc
> >
> > BUG=webrtc:6828, webrtc:3806, webrtc:7480
> > NOTRY=True
> >
> > Review-Url: https://codereview.webrtc.org/2717083002
> > Cr-Commit-Position: refs/heads/master@{#17766}
> > Committed: https://chromium.googlesource.com/external/webrtc/+/ed754e71ae8866db641677073274e86fe704eeac
>
> TBR=perkj@webrtc.org,tommi@webrtc.org,nisse@webrtc.org,kjellander@webrtc.org
> # Not skipping CQ checks because original CL landed more than 1 days ago.
> BUG=webrtc:6828, webrtc:3806, webrtc:7480
> NOTRY=True
>
> Review-Url: https://codereview.webrtc.org/2838683002
> Cr-Commit-Position: refs/heads/master@{#17849}
> Committed: https://chromium.googlesource.com/external/webrtc/+/11ed366c487a938815cd52ad2ab5467b0f90e1ae
TBR=perkj@webrtc.org,tommi@webrtc.org,nisse@webrtc.org,kjellander@webrtc.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=webrtc:6828, webrtc:3806, webrtc:7480
Review-Url: https://codereview.webrtc.org/2852663002
Cr-Commit-Position: refs/heads/master@{#17927}
2017-04-28 05:24:50 -07:00
|
|
|
sources = [
|
|
|
|
|
"gmock.h",
|
|
|
|
|
"gtest.h",
|
|
|
|
|
]
|
|
|
|
|
|
2017-06-09 10:31:58 +02:00
|
|
|
if (is_ios) {
|
2020-01-30 11:32:33 +01:00
|
|
|
public_deps += # no-presubmit-check TODO(webrtc:8603)
|
|
|
|
|
[ ":test_support_objc" ]
|
2017-06-09 10:31:58 +02:00
|
|
|
}
|
|
|
|
|
|
2018-08-23 14:44:05 +02:00
|
|
|
public_configs = [ ":test_main_direct_config" ]
|
Reland of Enable GN check for webrtc/base (patchset #3 id:230001 of https://codereview.webrtc.org/2838683002/ )
Reason for revert:
Fourth attempt to land.
Waiting for https://codereview.webrtc.org/2845013003 to
avoid conflicts on webrtc/modules/audio_coding:neteq_unittest_tools.
Original issue's description:
> Revert of Enable GN check for webrtc/base (patchset #13 id:240001 of https://codereview.webrtc.org/2717083002/ )
>
> Reason for revert:
> Breaks Chromium because in Chromium we import WebRTC with rtc_include_tests=false (https://bugs.chromium.org/p/chromium/issues/detail?id=713179#c6).
>
> Chromium uses webrtc/test/fuzzers and this CL adds test dependencies to neteq_rtc_fuzzer.
>
> Original issue's description:
> > Enable GN check for webrtc/base
> >
> > It's not possible to enable it for the rtc_base_approved
> > target but since a larger refactoring is ongoing for webrtc/base
> > this CL doesn't attempt to fix that.
> >
> > Changes made:
> > * Move webrtc/system_wrappers/include/stringize_macros.h into
> > webrtc/base:rtc_base_approved_unittests (and corresponding
> > unit test to rtc_base_approved_unittests).
> > * Move md5digest.* from rtc_base_approved to rtc_base_test_utils target.
> > * Move webrtc/system_wrappers/include/stringize_macros.h (+test) into
> > webrtc/base.
> > * Remove unused use include of webrtc/base/fileutils.h in
> > webrtc/base/pathutils.cc
> >
> > BUG=webrtc:6828, webrtc:3806, webrtc:7480
> > NOTRY=True
> >
> > Review-Url: https://codereview.webrtc.org/2717083002
> > Cr-Commit-Position: refs/heads/master@{#17766}
> > Committed: https://chromium.googlesource.com/external/webrtc/+/ed754e71ae8866db641677073274e86fe704eeac
>
> TBR=perkj@webrtc.org,tommi@webrtc.org,nisse@webrtc.org,kjellander@webrtc.org
> # Not skipping CQ checks because original CL landed more than 1 days ago.
> BUG=webrtc:6828, webrtc:3806, webrtc:7480
> NOTRY=True
>
> Review-Url: https://codereview.webrtc.org/2838683002
> Cr-Commit-Position: refs/heads/master@{#17849}
> Committed: https://chromium.googlesource.com/external/webrtc/+/11ed366c487a938815cd52ad2ab5467b0f90e1ae
TBR=perkj@webrtc.org,tommi@webrtc.org,nisse@webrtc.org,kjellander@webrtc.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=webrtc:6828, webrtc:3806, webrtc:7480
Review-Url: https://codereview.webrtc.org/2852663002
Cr-Commit-Position: refs/heads/master@{#17927}
2017-04-28 05:24:50 -07:00
|
|
|
deps = [
|
2019-10-19 12:03:23 +02:00
|
|
|
"../rtc_base:ignore_wundef",
|
Reland of Enable GN check for webrtc/base (patchset #3 id:230001 of https://codereview.webrtc.org/2838683002/ )
Reason for revert:
Fourth attempt to land.
Waiting for https://codereview.webrtc.org/2845013003 to
avoid conflicts on webrtc/modules/audio_coding:neteq_unittest_tools.
Original issue's description:
> Revert of Enable GN check for webrtc/base (patchset #13 id:240001 of https://codereview.webrtc.org/2717083002/ )
>
> Reason for revert:
> Breaks Chromium because in Chromium we import WebRTC with rtc_include_tests=false (https://bugs.chromium.org/p/chromium/issues/detail?id=713179#c6).
>
> Chromium uses webrtc/test/fuzzers and this CL adds test dependencies to neteq_rtc_fuzzer.
>
> Original issue's description:
> > Enable GN check for webrtc/base
> >
> > It's not possible to enable it for the rtc_base_approved
> > target but since a larger refactoring is ongoing for webrtc/base
> > this CL doesn't attempt to fix that.
> >
> > Changes made:
> > * Move webrtc/system_wrappers/include/stringize_macros.h into
> > webrtc/base:rtc_base_approved_unittests (and corresponding
> > unit test to rtc_base_approved_unittests).
> > * Move md5digest.* from rtc_base_approved to rtc_base_test_utils target.
> > * Move webrtc/system_wrappers/include/stringize_macros.h (+test) into
> > webrtc/base.
> > * Remove unused use include of webrtc/base/fileutils.h in
> > webrtc/base/pathutils.cc
> >
> > BUG=webrtc:6828, webrtc:3806, webrtc:7480
> > NOTRY=True
> >
> > Review-Url: https://codereview.webrtc.org/2717083002
> > Cr-Commit-Position: refs/heads/master@{#17766}
> > Committed: https://chromium.googlesource.com/external/webrtc/+/ed754e71ae8866db641677073274e86fe704eeac
>
> TBR=perkj@webrtc.org,tommi@webrtc.org,nisse@webrtc.org,kjellander@webrtc.org
> # Not skipping CQ checks because original CL landed more than 1 days ago.
> BUG=webrtc:6828, webrtc:3806, webrtc:7480
> NOTRY=True
>
> Review-Url: https://codereview.webrtc.org/2838683002
> Cr-Commit-Position: refs/heads/master@{#17849}
> Committed: https://chromium.googlesource.com/external/webrtc/+/11ed366c487a938815cd52ad2ab5467b0f90e1ae
TBR=perkj@webrtc.org,tommi@webrtc.org,nisse@webrtc.org,kjellander@webrtc.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=webrtc:6828, webrtc:3806, webrtc:7480
Review-Url: https://codereview.webrtc.org/2852663002
Cr-Commit-Position: refs/heads/master@{#17927}
2017-04-28 05:24:50 -07:00
|
|
|
"//testing/gmock",
|
|
|
|
|
"//testing/gtest",
|
|
|
|
|
]
|
2016-06-01 04:48:26 -07:00
|
|
|
}
|
|
|
|
|
|
2022-07-15 23:46:03 +02:00
|
|
|
rtc_library("fixed_fps_video_frame_writer_adapter") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
sources = [
|
|
|
|
|
"testsupport/fixed_fps_video_frame_writer_adapter.cc",
|
|
|
|
|
"testsupport/fixed_fps_video_frame_writer_adapter.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
2024-06-25 23:30:20 +02:00
|
|
|
":video_frame_writer",
|
2022-10-12 15:04:06 +02:00
|
|
|
"../api/test/video:video_frame_writer",
|
2022-07-15 23:46:03 +02:00
|
|
|
"../api/units:time_delta",
|
|
|
|
|
"../api/video:video_frame",
|
|
|
|
|
"../rtc_base:checks",
|
|
|
|
|
"../system_wrappers",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2024-06-25 23:30:20 +02:00
|
|
|
rtc_library("video_frame_writer") {
|
2024-06-26 13:23:44 +02:00
|
|
|
sources = [
|
|
|
|
|
"testsupport/frame_writer.h",
|
|
|
|
|
"testsupport/video_frame_writer.cc",
|
|
|
|
|
"testsupport/video_frame_writer.h",
|
|
|
|
|
"testsupport/y4m_frame_writer.cc",
|
|
|
|
|
"testsupport/yuv_frame_writer.cc",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
"../api:scoped_refptr",
|
|
|
|
|
"../api/test/video:video_frame_writer",
|
|
|
|
|
"../api/video:video_frame",
|
|
|
|
|
"../common_video",
|
|
|
|
|
"../rtc_base:buffer",
|
|
|
|
|
"../rtc_base:checks",
|
|
|
|
|
"../rtc_base:logging",
|
|
|
|
|
]
|
2024-06-25 23:30:20 +02:00
|
|
|
|
2024-06-26 13:23:44 +02:00
|
|
|
if (!is_ios) {
|
|
|
|
|
deps += [ "//third_party:jpeg" ]
|
|
|
|
|
sources += [ "testsupport/jpeg_frame_writer.cc" ]
|
|
|
|
|
} else {
|
|
|
|
|
sources += [ "testsupport/jpeg_frame_writer_ios.cc" ]
|
|
|
|
|
}
|
2024-06-25 23:30:20 +02:00
|
|
|
}
|
|
|
|
|
|
2020-02-06 10:35:58 +01:00
|
|
|
rtc_library("video_test_support") {
|
|
|
|
|
testonly = true
|
|
|
|
|
|
|
|
|
|
sources = [
|
|
|
|
|
"testsupport/frame_reader.h",
|
|
|
|
|
"testsupport/mock/mock_frame_reader.h",
|
|
|
|
|
"testsupport/y4m_frame_reader.cc",
|
|
|
|
|
"testsupport/yuv_frame_reader.cc",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
":fileutils",
|
|
|
|
|
":frame_utils",
|
|
|
|
|
":test_support",
|
|
|
|
|
":video_test_common",
|
|
|
|
|
"../api:scoped_refptr",
|
2021-02-10 14:31:24 +01:00
|
|
|
"../api:sequence_checker",
|
2022-10-12 15:04:06 +02:00
|
|
|
"../api/test/video:video_frame_writer",
|
2020-02-06 10:35:58 +01:00
|
|
|
"../api/video:encoded_image",
|
2022-12-06 15:36:21 +01:00
|
|
|
"../api/video:resolution",
|
2020-02-06 10:35:58 +01:00
|
|
|
"../api/video:video_frame",
|
|
|
|
|
"../api/video_codecs:video_codecs_api",
|
|
|
|
|
"../common_video",
|
|
|
|
|
"../modules/video_coding:video_codec_interface",
|
|
|
|
|
"../modules/video_coding:video_coding_utility",
|
|
|
|
|
"../modules/video_coding:webrtc_h264",
|
|
|
|
|
"../modules/video_coding:webrtc_vp8",
|
|
|
|
|
"../modules/video_coding:webrtc_vp9",
|
2022-04-19 17:07:23 +02:00
|
|
|
"../rtc_base:buffer",
|
2020-02-06 10:35:58 +01:00
|
|
|
"../rtc_base:checks",
|
|
|
|
|
"../rtc_base:criticalsection",
|
|
|
|
|
"../rtc_base:logging",
|
|
|
|
|
"../rtc_base:rtc_event",
|
2022-10-10 15:04:30 +02:00
|
|
|
"../rtc_base:stringutils",
|
2020-02-06 10:35:58 +01:00
|
|
|
"../rtc_base/system:file_wrapper",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2023-03-13 16:01:00 -07:00
|
|
|
if (rtc_include_tests) {
|
2023-03-14 09:56:25 -07:00
|
|
|
if (rtc_enable_google_benchmarks) {
|
2023-03-13 16:01:00 -07:00
|
|
|
rtc_library("benchmark_main") {
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [ "benchmark_main.cc" ]
|
2021-02-01 09:56:37 +00:00
|
|
|
|
2023-03-13 16:01:00 -07:00
|
|
|
deps = [ "//third_party/google_benchmark" ]
|
|
|
|
|
}
|
2021-02-01 09:56:37 +00:00
|
|
|
}
|
|
|
|
|
|
2023-03-13 16:01:00 -07:00
|
|
|
if (!build_with_chromium) {
|
|
|
|
|
rtc_library("resources_dir_flag") {
|
|
|
|
|
testonly = true
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
sources = [
|
|
|
|
|
"testsupport/resources_dir_flag.cc",
|
|
|
|
|
"testsupport/resources_dir_flag.h",
|
|
|
|
|
]
|
2024-05-23 11:21:53 +00:00
|
|
|
deps = [ "//third_party/abseil-cpp/absl/flags:flag" ]
|
2023-03-13 16:01:00 -07:00
|
|
|
}
|
2020-06-11 11:25:32 +02:00
|
|
|
|
2023-03-13 16:01:00 -07:00
|
|
|
rtc_library("test_main_lib") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"test_main_lib.cc",
|
|
|
|
|
"test_main_lib.h",
|
|
|
|
|
]
|
2016-12-05 06:42:45 -08:00
|
|
|
|
2023-03-13 16:01:00 -07:00
|
|
|
deps = [
|
|
|
|
|
":field_trial",
|
|
|
|
|
":perf_test",
|
|
|
|
|
":resources_dir_flag",
|
|
|
|
|
":test_flags",
|
|
|
|
|
":test_support",
|
|
|
|
|
"../api/test/metrics:chrome_perf_dashboard_metrics_exporter",
|
|
|
|
|
"../api/test/metrics:global_metrics_logger_and_exporter",
|
|
|
|
|
"../api/test/metrics:metrics_exporter",
|
|
|
|
|
"../api/test/metrics:metrics_set_proto_file_exporter",
|
|
|
|
|
"../api/test/metrics:print_result_proxy_metrics_exporter",
|
|
|
|
|
"../api/test/metrics:stdout_metrics_exporter",
|
|
|
|
|
"../rtc_base:checks",
|
|
|
|
|
"../rtc_base:event_tracer",
|
|
|
|
|
"../rtc_base:logging",
|
2024-05-17 13:49:05 -07:00
|
|
|
"../rtc_base:ssl_adapter",
|
2023-03-13 16:01:00 -07:00
|
|
|
"../rtc_base:threading",
|
|
|
|
|
"../system_wrappers:field_trial",
|
|
|
|
|
"../system_wrappers:metrics",
|
|
|
|
|
"//third_party/abseil-cpp/absl/flags:flag",
|
|
|
|
|
"//third_party/abseil-cpp/absl/memory",
|
2024-05-23 11:21:53 +00:00
|
|
|
"//third_party/abseil-cpp/absl/strings",
|
|
|
|
|
"//third_party/abseil-cpp/absl/strings:string_view",
|
|
|
|
|
"//third_party/perfetto/include/perfetto/tracing",
|
2023-03-13 16:01:00 -07:00
|
|
|
]
|
2023-01-04 12:01:09 +01:00
|
|
|
|
2023-03-13 16:01:00 -07:00
|
|
|
if (is_win) {
|
|
|
|
|
deps += [ "../rtc_base:win32_socket_init" ]
|
|
|
|
|
}
|
2024-04-24 13:27:00 +00:00
|
|
|
if (rtc_use_perfetto) {
|
|
|
|
|
deps += [ "//third_party/perfetto/src/tracing:client_api" ]
|
|
|
|
|
}
|
2023-01-04 12:01:09 +01:00
|
|
|
}
|
2020-08-11 12:19:18 +02:00
|
|
|
|
2023-03-13 16:01:00 -07:00
|
|
|
rtc_library("test_main") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [ "test_main.cc" ]
|
2018-10-15 15:25:34 +02:00
|
|
|
|
2023-03-13 16:01:00 -07:00
|
|
|
deps = [
|
|
|
|
|
":test_main_lib",
|
|
|
|
|
":test_support",
|
|
|
|
|
"//third_party/abseil-cpp/absl/debugging:failure_signal_handler",
|
|
|
|
|
"//third_party/abseil-cpp/absl/debugging:symbolize",
|
|
|
|
|
"//third_party/abseil-cpp/absl/flags:parse",
|
|
|
|
|
]
|
|
|
|
|
}
|
2016-06-14 12:52:54 +02:00
|
|
|
|
2023-03-13 16:01:00 -07:00
|
|
|
rtc_library("test_support_test_artifacts") {
|
2017-09-25 09:18:00 +00:00
|
|
|
testonly = true
|
2023-03-13 16:01:00 -07:00
|
|
|
sources = [
|
|
|
|
|
"testsupport/test_artifacts.cc",
|
|
|
|
|
"testsupport/test_artifacts.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":fileutils",
|
|
|
|
|
"../rtc_base:logging",
|
|
|
|
|
"../rtc_base/system:file_wrapper",
|
|
|
|
|
"//third_party/abseil-cpp/absl/flags:flag",
|
|
|
|
|
"//third_party/abseil-cpp/absl/flags:parse",
|
|
|
|
|
]
|
2017-09-25 09:18:00 +00:00
|
|
|
}
|
2016-11-23 12:58:35 -08:00
|
|
|
|
2025-02-21 00:00:32 -08:00
|
|
|
test_support_unittests_resources = [
|
|
|
|
|
"../resources/foreman_cif_short.yuv",
|
|
|
|
|
"../resources/video_coding/frame-ethernet-ii.pcap",
|
|
|
|
|
"../resources/video_coding/frame-loopback.pcap",
|
|
|
|
|
"../resources/video_coding/pltype103.rtp",
|
|
|
|
|
"../resources/video_coding/pltype103_header_only.rtp",
|
|
|
|
|
"../resources/video_coding/ssrcs-2.pcap",
|
|
|
|
|
"../resources/video_coding/ssrcs-3.pcap",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
if (is_ios) {
|
|
|
|
|
bundle_data("test_support_unittests_bundle_data") {
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = test_support_unittests_resources
|
|
|
|
|
outputs = [ "{{bundle_resources_dir}}/{{source_file_part}}" ]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2023-03-13 16:01:00 -07:00
|
|
|
rtc_library("fixed_fps_video_frame_writer_adapter_test") {
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [ "testsupport/fixed_fps_video_frame_writer_adapter_test.cc" ]
|
|
|
|
|
deps = [
|
|
|
|
|
":fixed_fps_video_frame_writer_adapter",
|
|
|
|
|
":test_support",
|
2024-06-26 13:23:44 +02:00
|
|
|
":video_frame_writer",
|
2023-03-13 16:01:00 -07:00
|
|
|
"../api/units:time_delta",
|
|
|
|
|
"../api/units:timestamp",
|
|
|
|
|
"../api/video:video_frame",
|
|
|
|
|
"../rtc_base/synchronization:mutex",
|
|
|
|
|
"time_controller",
|
|
|
|
|
]
|
2017-09-25 09:18:00 +00:00
|
|
|
}
|
2017-04-27 12:29:29 -07:00
|
|
|
|
2023-03-13 16:01:00 -07:00
|
|
|
rtc_test("test_support_unittests") {
|
|
|
|
|
deps = [
|
|
|
|
|
":call_config_utils",
|
|
|
|
|
":copy_to_file_audio_capturer_unittest",
|
2023-04-13 14:34:59 +02:00
|
|
|
":create_frame_generator_capturer",
|
2023-03-13 16:01:00 -07:00
|
|
|
":direct_transport",
|
|
|
|
|
":fake_video_codecs",
|
|
|
|
|
":fileutils",
|
|
|
|
|
":fileutils_unittests",
|
|
|
|
|
":fixed_fps_video_frame_writer_adapter_test",
|
2023-04-12 15:29:07 +02:00
|
|
|
":frame_generator_capturer",
|
2023-03-13 16:01:00 -07:00
|
|
|
":frame_generator_impl",
|
|
|
|
|
":perf_test",
|
|
|
|
|
":rtc_expect_death",
|
|
|
|
|
":rtp_test_utils",
|
|
|
|
|
":run_loop",
|
|
|
|
|
":scoped_key_value_config",
|
|
|
|
|
":test_main",
|
|
|
|
|
":test_support",
|
|
|
|
|
":test_support_test_artifacts",
|
2023-11-13 15:48:25 +01:00
|
|
|
":video_codec_tester",
|
2024-06-26 13:23:44 +02:00
|
|
|
":video_frame_writer",
|
2023-03-13 16:01:00 -07:00
|
|
|
":video_test_common",
|
|
|
|
|
":video_test_support",
|
2024-12-04 11:36:08 +00:00
|
|
|
":wait_until",
|
2023-03-13 16:01:00 -07:00
|
|
|
":y4m_frame_generator",
|
|
|
|
|
"../api:array_view",
|
|
|
|
|
"../api:create_frame_generator",
|
|
|
|
|
"../api:create_simulcast_test_fixture_api",
|
2024-12-16 11:53:45 +00:00
|
|
|
"../api:create_time_controller",
|
2023-03-13 16:01:00 -07:00
|
|
|
"../api:frame_generator_api",
|
2023-11-13 15:48:25 +01:00
|
|
|
"../api:mock_video_codec_factory",
|
|
|
|
|
"../api:mock_video_decoder",
|
|
|
|
|
"../api:mock_video_encoder",
|
2024-12-04 11:36:08 +00:00
|
|
|
"../api:rtc_error",
|
|
|
|
|
"../api:rtc_error_matchers",
|
2023-03-13 16:01:00 -07:00
|
|
|
"../api:scoped_refptr",
|
|
|
|
|
"../api:simulcast_test_fixture_api",
|
2024-12-16 11:53:45 +00:00
|
|
|
"../api:time_controller",
|
2024-01-25 15:48:24 +01:00
|
|
|
"../api/environment",
|
|
|
|
|
"../api/environment:environment_factory",
|
2024-01-18 18:30:42 +01:00
|
|
|
"../api/task_queue",
|
2023-03-13 16:01:00 -07:00
|
|
|
"../api/task_queue:task_queue_test",
|
|
|
|
|
"../api/test/video:function_video_factory",
|
|
|
|
|
"../api/test/video:video_frame_writer",
|
2023-11-13 15:48:25 +01:00
|
|
|
"../api/units:data_rate",
|
2023-12-22 09:36:59 +01:00
|
|
|
"../api/units:data_size",
|
|
|
|
|
"../api/units:frequency",
|
2023-03-13 16:01:00 -07:00
|
|
|
"../api/units:time_delta",
|
2024-12-04 11:36:08 +00:00
|
|
|
"../api/units:timestamp",
|
2023-03-13 16:01:00 -07:00
|
|
|
"../api/video:encoded_image",
|
|
|
|
|
"../api/video:video_frame",
|
2024-06-03 16:16:01 +02:00
|
|
|
"../api/video_codecs:builtin_video_decoder_factory",
|
|
|
|
|
"../api/video_codecs:builtin_video_encoder_factory",
|
2023-12-22 09:36:59 +01:00
|
|
|
"../api/video_codecs:scalability_mode",
|
2023-03-13 16:01:00 -07:00
|
|
|
"../api/video_codecs:video_codecs_api",
|
2024-10-13 21:08:30 +00:00
|
|
|
"../call:video_receive_stream_api",
|
2023-03-13 16:01:00 -07:00
|
|
|
"../common_video",
|
|
|
|
|
"../media:codec",
|
|
|
|
|
"../media:media_constants",
|
|
|
|
|
"../modules/rtp_rtcp:rtp_rtcp_format",
|
|
|
|
|
"../modules/video_coding:simulcast_test_fixture_impl",
|
|
|
|
|
"../modules/video_coding:video_codec_interface",
|
|
|
|
|
"../modules/video_coding:video_coding_utility",
|
|
|
|
|
"../modules/video_coding:webrtc_h264",
|
|
|
|
|
"../modules/video_coding:webrtc_vp8",
|
|
|
|
|
"../modules/video_coding:webrtc_vp9",
|
2023-11-13 15:48:25 +01:00
|
|
|
"../modules/video_coding/svc:scalability_mode_util",
|
2023-03-13 16:01:00 -07:00
|
|
|
"../rtc_base:criticalsection",
|
2024-12-16 11:53:45 +00:00
|
|
|
"../rtc_base:rtc_base_tests_utils",
|
2023-03-13 16:01:00 -07:00
|
|
|
"../rtc_base:rtc_event",
|
2024-12-04 11:36:08 +00:00
|
|
|
"../rtc_base:threading",
|
2023-03-13 16:01:00 -07:00
|
|
|
"../rtc_base/synchronization:mutex",
|
|
|
|
|
"../rtc_base/system:file_wrapper",
|
2024-12-04 11:36:08 +00:00
|
|
|
"../system_wrappers",
|
2023-06-08 10:41:25 +02:00
|
|
|
"jitter:jitter_unittests",
|
2023-03-13 16:01:00 -07:00
|
|
|
"pc/e2e:e2e_unittests",
|
|
|
|
|
"pc/e2e/analyzer/video:video_analyzer_unittests",
|
2023-03-15 18:01:17 +01:00
|
|
|
"pc/e2e/analyzer/video/dvqa:dvqa_unittests",
|
2023-03-13 16:01:00 -07:00
|
|
|
"peer_scenario/tests",
|
|
|
|
|
"scenario:scenario_unittests",
|
|
|
|
|
"time_controller:time_controller",
|
|
|
|
|
"time_controller:time_controller_unittests",
|
|
|
|
|
"//third_party/abseil-cpp/absl/flags:flag",
|
2024-05-23 11:21:53 +00:00
|
|
|
"//third_party/abseil-cpp/absl/strings:string_view",
|
|
|
|
|
"//third_party/libyuv",
|
2023-03-13 16:01:00 -07:00
|
|
|
]
|
|
|
|
|
sources = [
|
|
|
|
|
"call_config_utils_unittest.cc",
|
|
|
|
|
"direct_transport_unittest.cc",
|
|
|
|
|
"fake_vp8_encoder_unittest.cc",
|
|
|
|
|
"frame_generator_capturer_unittest.cc",
|
|
|
|
|
"frame_generator_unittest.cc",
|
|
|
|
|
"rtp_file_reader_unittest.cc",
|
|
|
|
|
"rtp_file_writer_unittest.cc",
|
|
|
|
|
"run_loop_unittest.cc",
|
|
|
|
|
"testsupport/ivf_video_frame_generator_unittest.cc",
|
|
|
|
|
"testsupport/perf_test_unittest.cc",
|
|
|
|
|
"testsupport/test_artifacts_unittest.cc",
|
|
|
|
|
"testsupport/video_frame_writer_unittest.cc",
|
|
|
|
|
"testsupport/y4m_frame_generator_test.cc",
|
|
|
|
|
"testsupport/y4m_frame_reader_unittest.cc",
|
|
|
|
|
"testsupport/y4m_frame_writer_unittest.cc",
|
|
|
|
|
"testsupport/yuv_frame_reader_unittest.cc",
|
|
|
|
|
"testsupport/yuv_frame_writer_unittest.cc",
|
2023-11-13 15:48:25 +01:00
|
|
|
"video_codec_tester_unittest.cc",
|
2024-12-04 11:36:08 +00:00
|
|
|
"wait_until_unittest.cc",
|
2023-03-13 16:01:00 -07:00
|
|
|
]
|
2018-08-27 14:12:27 +02:00
|
|
|
|
2023-03-13 16:01:00 -07:00
|
|
|
if (rtc_enable_protobuf) {
|
|
|
|
|
sources += [ "testsupport/perf_test_histogram_writer_unittest.cc" ]
|
|
|
|
|
deps += [ "//third_party/catapult/tracing/tracing:histogram" ]
|
|
|
|
|
}
|
|
|
|
|
|
2025-02-21 00:00:32 -08:00
|
|
|
data = test_support_unittests_resources
|
2023-03-13 16:01:00 -07:00
|
|
|
if (is_android) {
|
|
|
|
|
shard_timeout = 900
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (is_ios) {
|
2025-02-21 00:00:32 -08:00
|
|
|
deps += [ ":test_support_unittests_bundle_data" ]
|
2023-03-13 16:01:00 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (!is_android) {
|
|
|
|
|
# This is needed in order to avoid:
|
|
|
|
|
# undefined symbol: webrtc::videocapturemodule::VideoCaptureImpl::Create
|
|
|
|
|
deps += [ "../modules/video_capture:video_capture_internal_impl" ]
|
|
|
|
|
}
|
2018-04-06 10:48:10 +02:00
|
|
|
}
|
2017-01-09 01:40:03 -08:00
|
|
|
}
|
2017-04-27 12:29:29 -07:00
|
|
|
}
|
2017-01-09 01:40:03 -08:00
|
|
|
|
2017-08-23 23:55:54 -07:00
|
|
|
if (is_ios) {
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("fileutils_ios_objc") {
|
2018-10-23 15:50:10 +02:00
|
|
|
visibility = [
|
|
|
|
|
":fileutils",
|
|
|
|
|
":fileutils_override_impl",
|
|
|
|
|
]
|
2017-08-23 23:55:54 -07:00
|
|
|
sources = [
|
2019-01-11 09:11:00 -08:00
|
|
|
"testsupport/ios_file_utils.h",
|
|
|
|
|
"testsupport/ios_file_utils.mm",
|
2017-08-23 23:55:54 -07:00
|
|
|
]
|
|
|
|
|
deps = [
|
2017-12-13 16:05:42 +01:00
|
|
|
"../rtc_base:checks",
|
2018-08-30 09:30:29 +02:00
|
|
|
"../sdk:helpers_objc",
|
2024-05-23 11:21:53 +00:00
|
|
|
"//third_party/abseil-cpp/absl/strings:string_view",
|
2017-08-23 23:55:54 -07:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2018-10-05 14:52:11 +02:00
|
|
|
if (is_mac) {
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("fileutils_mac_objc") {
|
2018-10-23 15:50:10 +02:00
|
|
|
visibility = [
|
|
|
|
|
":fileutils",
|
|
|
|
|
":fileutils_override_impl",
|
|
|
|
|
]
|
2018-10-05 14:52:11 +02:00
|
|
|
sources = [
|
2019-01-11 09:11:00 -08:00
|
|
|
"testsupport/mac_file_utils.h",
|
|
|
|
|
"testsupport/mac_file_utils.mm",
|
2018-10-05 14:52:11 +02:00
|
|
|
]
|
2020-01-21 12:10:10 +01:00
|
|
|
deps = [ "../rtc_base:checks" ]
|
2018-10-05 14:52:11 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("fileutils") {
|
2017-04-27 12:29:29 -07:00
|
|
|
testonly = true
|
2018-03-15 15:05:39 +01:00
|
|
|
visibility = [ "*" ]
|
2017-04-27 12:29:29 -07:00
|
|
|
sources = [
|
2019-01-11 09:11:00 -08:00
|
|
|
"testsupport/file_utils.cc",
|
|
|
|
|
"testsupport/file_utils.h",
|
2017-04-27 12:29:29 -07:00
|
|
|
]
|
2017-06-01 04:47:20 -07:00
|
|
|
deps = [
|
2018-10-23 15:50:10 +02:00
|
|
|
":fileutils_override_api",
|
|
|
|
|
":fileutils_override_impl",
|
|
|
|
|
"../rtc_base:checks",
|
2024-06-06 07:31:07 -07:00
|
|
|
"../rtc_base:crypto_random",
|
2019-11-22 13:25:12 +01:00
|
|
|
"../rtc_base:stringutils",
|
2022-10-10 13:41:16 +00:00
|
|
|
"//third_party/abseil-cpp/absl/base:core_headers",
|
2024-05-23 11:21:53 +00:00
|
|
|
"//third_party/abseil-cpp/absl/strings:string_view",
|
2022-03-24 19:34:34 +01:00
|
|
|
]
|
2018-10-23 15:50:10 +02:00
|
|
|
if (is_ios) {
|
|
|
|
|
deps += [ ":fileutils_ios_objc" ]
|
|
|
|
|
}
|
|
|
|
|
if (is_mac) {
|
|
|
|
|
deps += [ ":fileutils_mac_objc" ]
|
|
|
|
|
}
|
|
|
|
|
if (is_win) {
|
2020-09-26 11:57:26 +02:00
|
|
|
deps += [ "../rtc_base:win32" ]
|
2018-10-23 15:50:10 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
# We separate header into own target to make it possible for downstream
|
|
|
|
|
# projects to override implementation.
|
|
|
|
|
rtc_source_set("fileutils_override_api") {
|
|
|
|
|
testonly = true
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "testsupport/file_utils_override.h" ]
|
2024-05-23 11:21:53 +00:00
|
|
|
deps = [ "//third_party/abseil-cpp/absl/strings:string_view" ]
|
2018-10-23 15:50:10 +02:00
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("fileutils_override_impl") {
|
2018-10-23 15:50:10 +02:00
|
|
|
testonly = true
|
|
|
|
|
visibility = [ ":fileutils" ]
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "testsupport/file_utils_override.cc" ]
|
2018-10-23 15:50:10 +02:00
|
|
|
deps = [
|
|
|
|
|
":fileutils_override_api",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../rtc_base:checks",
|
2019-11-22 13:25:12 +01:00
|
|
|
"../rtc_base:macromagic",
|
|
|
|
|
"../rtc_base:stringutils",
|
2024-05-23 11:21:53 +00:00
|
|
|
"//third_party/abseil-cpp/absl/strings:string_view",
|
2022-03-24 19:34:34 +01:00
|
|
|
]
|
2017-04-27 12:29:29 -07:00
|
|
|
if (is_ios) {
|
2018-10-05 14:52:11 +02:00
|
|
|
deps += [ ":fileutils_ios_objc" ]
|
|
|
|
|
}
|
|
|
|
|
if (is_mac) {
|
|
|
|
|
deps += [ ":fileutils_mac_objc" ]
|
2017-06-01 04:47:20 -07:00
|
|
|
}
|
|
|
|
|
if (is_win) {
|
2020-09-26 11:57:26 +02:00
|
|
|
deps += [ "../rtc_base:win32" ]
|
2016-11-23 12:58:35 -08:00
|
|
|
}
|
2014-09-30 18:05:02 +00:00
|
|
|
}
|
|
|
|
|
|
2016-10-24 01:52:39 -07:00
|
|
|
rtc_source_set("run_test") {
|
|
|
|
|
testonly = true
|
2017-08-23 23:55:54 -07:00
|
|
|
if (is_mac) {
|
2023-08-22 09:55:36 +00:00
|
|
|
public_deps += [ ":run_test_objc" ] # no-presubmit-check TODO(webrtc:8603)
|
2017-08-23 23:55:54 -07:00
|
|
|
} else {
|
2023-08-22 09:55:36 +00:00
|
|
|
public_deps += # no-presubmit-check TODO(webrtc:8603)
|
2020-01-30 11:32:33 +01:00
|
|
|
[ ":run_test_generic" ]
|
2017-08-23 23:55:54 -07:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_source_set("run_test_interface") {
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "run_test.h" ]
|
2017-08-23 23:55:54 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (is_mac) {
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("run_test_objc") {
|
2017-08-23 23:55:54 -07:00
|
|
|
testonly = true
|
2017-09-05 05:11:41 -07:00
|
|
|
visibility = [ ":run_test" ]
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "mac/run_test.mm" ]
|
|
|
|
|
deps = [ ":run_test_interface" ]
|
2016-10-24 01:52:39 -07:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("run_test_generic") {
|
2017-08-23 23:55:54 -07:00
|
|
|
testonly = true
|
2017-09-05 05:11:41 -07:00
|
|
|
visibility = [ ":run_test" ]
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "run_test.cc" ]
|
|
|
|
|
deps = [ ":run_test_interface" ]
|
2017-08-23 23:55:54 -07:00
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("fileutils_unittests") {
|
2016-12-05 06:42:45 -08:00
|
|
|
testonly = true
|
2017-04-25 04:04:50 -07:00
|
|
|
visibility = [ ":*" ] # Only targets in this file can depend on this.
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "testsupport/file_utils_unittest.cc" ]
|
2016-12-05 06:42:45 -08:00
|
|
|
deps = [
|
|
|
|
|
":fileutils",
|
2017-06-01 04:47:20 -07:00
|
|
|
":test_support",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../rtc_base:checks",
|
2024-06-06 07:31:07 -07:00
|
|
|
"../rtc_base:crypto_random",
|
2024-05-23 11:21:53 +00:00
|
|
|
"//third_party/abseil-cpp/absl/strings:string_view",
|
2022-03-24 19:34:34 +01:00
|
|
|
]
|
2016-12-05 06:42:45 -08:00
|
|
|
}
|
2016-06-01 04:48:26 -07:00
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("direct_transport") {
|
2018-01-10 15:54:53 +00:00
|
|
|
visibility = [ "*" ]
|
2017-02-08 05:55:51 -08:00
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"direct_transport.cc",
|
|
|
|
|
"direct_transport.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
2023-01-19 15:45:58 +00:00
|
|
|
"../api:rtp_parameters",
|
2021-02-10 14:31:24 +01:00
|
|
|
"../api:sequence_checker",
|
2018-08-17 14:26:54 +02:00
|
|
|
"../api:simulated_network_api",
|
2017-02-08 05:55:51 -08:00
|
|
|
"../api:transport_api",
|
2019-09-27 11:10:45 +02:00
|
|
|
"../api/task_queue",
|
|
|
|
|
"../api/units:time_delta",
|
2017-12-04 10:50:51 +01:00
|
|
|
"../call:call_interfaces",
|
2018-08-17 14:26:54 +02:00
|
|
|
"../call:simulated_packet_receiver",
|
2021-07-05 19:06:17 +02:00
|
|
|
"../modules/rtp_rtcp:rtp_rtcp_format",
|
2023-01-19 15:45:58 +00:00
|
|
|
"../rtc_base:checks",
|
2019-11-22 13:25:12 +01:00
|
|
|
"../rtc_base:macromagic",
|
|
|
|
|
"../rtc_base:timeutils",
|
2020-07-08 16:09:21 +02:00
|
|
|
"../rtc_base/synchronization:mutex",
|
2019-09-27 11:10:45 +02:00
|
|
|
"../rtc_base/task_utils:repeating_task",
|
2017-02-08 05:55:51 -08:00
|
|
|
]
|
2023-08-22 09:55:36 +00:00
|
|
|
public_deps += # no-presubmit-check TODO(webrtc:8603)
|
2020-01-30 11:32:33 +01:00
|
|
|
[ "../call:fake_network" ]
|
2017-08-22 04:02:52 -07:00
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("fake_video_codecs") {
|
2019-01-16 15:07:56 -05:00
|
|
|
allow_poison = [ "software_video_codecs" ]
|
2018-08-27 14:12:27 +02:00
|
|
|
visibility = [ "*" ]
|
|
|
|
|
sources = [
|
|
|
|
|
"configurable_frame_size_encoder.cc",
|
|
|
|
|
"configurable_frame_size_encoder.h",
|
|
|
|
|
"fake_decoder.cc",
|
|
|
|
|
"fake_decoder.h",
|
|
|
|
|
"fake_encoder.cc",
|
|
|
|
|
"fake_encoder.h",
|
2018-10-04 18:40:28 +02:00
|
|
|
"fake_vp8_decoder.cc",
|
|
|
|
|
"fake_vp8_decoder.h",
|
2018-08-27 14:12:27 +02:00
|
|
|
"fake_vp8_encoder.cc",
|
|
|
|
|
"fake_vp8_encoder.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
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",
|
2024-04-11 18:10:31 +02:00
|
|
|
"../api/environment",
|
2019-03-11 14:26:02 +01:00
|
|
|
"../api/task_queue",
|
2018-10-05 14:17:58 +02:00
|
|
|
"../api/video:encoded_image",
|
2018-11-28 16:47:49 +01:00
|
|
|
"../api/video:video_bitrate_allocation",
|
|
|
|
|
"../api/video:video_frame",
|
2019-06-10 12:59:38 +02:00
|
|
|
"../api/video:video_rtp_headers",
|
2018-08-27 14:12:27 +02:00
|
|
|
"../api/video_codecs:video_codecs_api",
|
2019-03-20 11:56:20 +01:00
|
|
|
"../api/video_codecs:vp8_temporal_layers_factory",
|
2018-11-28 16:47:49 +01:00
|
|
|
"../modules/video_coding:codec_globals_headers",
|
2018-08-27 14:12:27 +02:00
|
|
|
"../modules/video_coding:video_codec_interface",
|
|
|
|
|
"../modules/video_coding:video_coding_utility",
|
|
|
|
|
"../rtc_base:checks",
|
2019-11-22 13:25:12 +01:00
|
|
|
"../rtc_base:criticalsection",
|
|
|
|
|
"../rtc_base:macromagic",
|
|
|
|
|
"../rtc_base:timeutils",
|
2020-07-08 13:13:32 +02:00
|
|
|
"../rtc_base/synchronization:mutex",
|
2018-08-27 14:12:27 +02:00
|
|
|
"../system_wrappers",
|
2024-05-23 11:21:53 +00:00
|
|
|
"//third_party/abseil-cpp/absl/strings:string_view",
|
2023-08-04 13:59:43 +02:00
|
|
|
]
|
2018-08-27 14:12:27 +02:00
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("null_transport") {
|
2019-04-24 18:17:42 +02:00
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"null_transport.cc",
|
|
|
|
|
"null_transport.h",
|
|
|
|
|
]
|
2020-01-21 12:10:10 +01:00
|
|
|
deps = [ "../api:transport_api" ]
|
2019-04-24 18:17:42 +02:00
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("encoder_settings") {
|
2019-04-24 18:17:42 +02:00
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"encoder_settings.cc",
|
|
|
|
|
"encoder_settings.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
"../api:scoped_refptr",
|
|
|
|
|
"../api/video_codecs:video_codecs_api",
|
|
|
|
|
"../call:rtp_interfaces",
|
2024-10-13 21:08:30 +00:00
|
|
|
"../call:video_receive_stream_api",
|
|
|
|
|
"../call:video_send_stream_api",
|
2019-04-24 18:17:42 +02:00
|
|
|
"../rtc_base:checks",
|
|
|
|
|
"../rtc_base:refcount",
|
2022-09-29 10:28:24 +02:00
|
|
|
"../video/config:encoder_config",
|
2019-04-24 18:17:42 +02:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-11-28 17:09:30 +01:00
|
|
|
rtc_library("rtc_expect_death") {
|
|
|
|
|
testonly = true
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "testsupport/rtc_expect_death.h" ]
|
|
|
|
|
deps = [ ":test_support" ]
|
2019-11-28 17:09:30 +01:00
|
|
|
}
|
|
|
|
|
|
2022-05-19 16:06:23 +02:00
|
|
|
rtc_library("run_loop") {
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"run_loop.cc",
|
|
|
|
|
"run_loop.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
2022-07-07 20:29:30 +02:00
|
|
|
"../api/task_queue",
|
2022-05-19 16:06:23 +02:00
|
|
|
"../rtc_base:threading",
|
|
|
|
|
"../rtc_base:timeutils",
|
2024-05-23 11:21:53 +00:00
|
|
|
"//third_party/abseil-cpp/absl/functional:any_invocable",
|
2022-05-19 16:06:23 +02:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2023-04-25 09:56:49 +02:00
|
|
|
rtc_library("video_test_constants") {
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [ "video_test_constants.h" ]
|
|
|
|
|
deps = [ "../api/units:time_delta" ]
|
|
|
|
|
}
|
|
|
|
|
|
2020-02-20 11:53:13 -08:00
|
|
|
rtc_library("mock_transport") {
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"mock_transport.cc",
|
|
|
|
|
"mock_transport.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":test_support",
|
|
|
|
|
"../api:transport_api",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2016-09-02 04:10:34 -07:00
|
|
|
rtc_source_set("test_renderer") {
|
2023-08-22 09:55:36 +00:00
|
|
|
public_deps += # no-presubmit-check TODO(webrtc:8603)
|
2020-01-30 11:32:33 +01:00
|
|
|
[ ":test_renderer_generic" ]
|
2016-06-01 04:48:26 -07:00
|
|
|
testonly = true
|
2017-08-23 23:55:54 -07:00
|
|
|
if (is_mac) {
|
2020-01-30 11:32:33 +01:00
|
|
|
public_deps += # no-presubmit-check TODO(webrtc:8603)
|
|
|
|
|
[ ":test_renderer_objc" ]
|
2017-08-23 23:55:54 -07:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (is_mac) {
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("test_renderer_objc") {
|
2017-08-23 23:55:54 -07:00
|
|
|
testonly = true
|
2017-09-05 05:11:41 -07:00
|
|
|
visibility = [ ":test_renderer" ]
|
2017-08-23 23:55:54 -07:00
|
|
|
sources = [
|
|
|
|
|
"mac/video_renderer_mac.h",
|
|
|
|
|
"mac/video_renderer_mac.mm",
|
|
|
|
|
]
|
2022-05-04 10:59:56 +02:00
|
|
|
deps = [ ":test_renderer_generic" ]
|
2020-07-03 10:19:30 +02:00
|
|
|
frameworks = [
|
2017-08-23 23:55:54 -07:00
|
|
|
"Cocoa.framework",
|
|
|
|
|
"OpenGL.framework",
|
|
|
|
|
"CoreVideo.framework",
|
|
|
|
|
]
|
2022-11-29 15:43:12 -05:00
|
|
|
defines = [ "GL_SILENCE_DEPRECATION" ]
|
2017-08-23 23:55:54 -07:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("test_renderer_generic") {
|
2017-08-23 23:55:54 -07:00
|
|
|
testonly = true
|
2017-09-05 05:11:41 -07:00
|
|
|
visibility = [
|
|
|
|
|
":test_renderer",
|
|
|
|
|
":test_renderer_objc",
|
|
|
|
|
]
|
2016-06-01 04:48:26 -07:00
|
|
|
libs = []
|
|
|
|
|
sources = [
|
|
|
|
|
"video_renderer.cc",
|
|
|
|
|
"video_renderer.h",
|
|
|
|
|
]
|
2017-08-23 23:55:54 -07:00
|
|
|
deps = [
|
2018-05-11 11:15:30 +02:00
|
|
|
"../api/video:video_frame",
|
2017-08-23 23:55:54 -07:00
|
|
|
"../common_video",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../rtc_base:checks",
|
2017-08-23 23:55:54 -07:00
|
|
|
]
|
2019-10-29 19:39:17 +01:00
|
|
|
if (is_win) {
|
|
|
|
|
sources += [
|
|
|
|
|
"win/d3d_renderer.cc",
|
|
|
|
|
"win/d3d_renderer.h",
|
|
|
|
|
]
|
2019-11-22 13:25:12 +01:00
|
|
|
deps += [ "../api:scoped_refptr" ]
|
2019-10-29 19:39:17 +01:00
|
|
|
}
|
2020-09-10 18:10:11 +09:00
|
|
|
if (!((is_linux || is_chromeos) && rtc_use_x11) && !is_mac && !is_win) {
|
2016-06-01 04:48:26 -07:00
|
|
|
sources += [ "null_platform_renderer.cc" ]
|
|
|
|
|
}
|
2020-09-10 18:10:11 +09:00
|
|
|
if (((is_linux || is_chromeos) && rtc_use_x11) || is_mac) {
|
2016-06-01 04:48:26 -07:00
|
|
|
sources += [
|
|
|
|
|
"gl/gl_renderer.cc",
|
|
|
|
|
"gl/gl_renderer.h",
|
|
|
|
|
]
|
|
|
|
|
}
|
2022-11-29 15:43:12 -05:00
|
|
|
if (is_mac) {
|
|
|
|
|
defines = [ "GL_SILENCE_DEPRECATION" ]
|
|
|
|
|
}
|
2016-06-01 04:48:26 -07:00
|
|
|
|
2020-09-10 18:10:11 +09:00
|
|
|
if ((is_linux || is_chromeos) && rtc_use_x11) {
|
2017-11-07 19:07:31 +01:00
|
|
|
sources += [
|
|
|
|
|
"linux/glx_renderer.cc",
|
|
|
|
|
"linux/glx_renderer.h",
|
|
|
|
|
"linux/video_renderer_linux.cc",
|
|
|
|
|
]
|
2016-06-01 04:48:26 -07:00
|
|
|
libs += [
|
|
|
|
|
"Xext",
|
|
|
|
|
"X11",
|
|
|
|
|
"GL",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
if (is_android) {
|
|
|
|
|
libs += [
|
|
|
|
|
"GLESv2",
|
|
|
|
|
"log",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
2017-04-10 05:15:48 -07:00
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("audio_codec_mocks") {
|
2017-04-10 05:15:48 -07:00
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
2017-06-14 03:31:17 -07:00
|
|
|
"mock_audio_decoder.cc",
|
2017-04-10 05:15:48 -07:00
|
|
|
"mock_audio_decoder.h",
|
|
|
|
|
"mock_audio_decoder_factory.h",
|
2017-05-02 06:46:30 -07:00
|
|
|
"mock_audio_encoder.cc",
|
|
|
|
|
"mock_audio_encoder.h",
|
|
|
|
|
"mock_audio_encoder_factory.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
2017-06-01 04:47:20 -07:00
|
|
|
":test_support",
|
2017-09-04 05:43:17 -07:00
|
|
|
"../api:array_view",
|
2022-06-14 15:48:26 +02:00
|
|
|
"../api:make_ref_counted",
|
2019-01-25 20:26:48 +01:00
|
|
|
"../api:scoped_refptr",
|
2017-05-02 06:46:30 -07:00
|
|
|
"../api/audio_codecs:audio_codecs_api",
|
2017-06-01 04:47:20 -07:00
|
|
|
"../api/audio_codecs:builtin_audio_decoder_factory",
|
2024-07-10 19:22:07 +02:00
|
|
|
"../api/environment",
|
2017-04-10 05:15:48 -07:00
|
|
|
]
|
|
|
|
|
}
|
2017-05-26 01:51:53 -07:00
|
|
|
|
2023-04-26 10:17:19 +02:00
|
|
|
if (!build_with_chromium) {
|
|
|
|
|
rtc_library("copy_to_file_audio_capturer") {
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"testsupport/copy_to_file_audio_capturer.cc",
|
|
|
|
|
"testsupport/copy_to_file_audio_capturer.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
"../api:array_view",
|
|
|
|
|
"../common_audio",
|
|
|
|
|
"../modules/audio_device:test_audio_device_module",
|
|
|
|
|
"../rtc_base:buffer",
|
|
|
|
|
]
|
|
|
|
|
}
|
2019-01-15 14:43:20 +01:00
|
|
|
|
2023-04-26 10:17:19 +02:00
|
|
|
rtc_library("copy_to_file_audio_capturer_unittest") {
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [ "testsupport/copy_to_file_audio_capturer_unittest.cc" ]
|
|
|
|
|
deps = [
|
|
|
|
|
":copy_to_file_audio_capturer",
|
|
|
|
|
":fileutils",
|
|
|
|
|
":test_support",
|
|
|
|
|
"../modules/audio_device:test_audio_device_module",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2023-10-09 16:39:40 +02:00
|
|
|
rtc_library("test_flags") {
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"test_flags.cc",
|
|
|
|
|
"test_flags.h",
|
|
|
|
|
]
|
2024-05-23 11:21:53 +00:00
|
|
|
deps = [ "//third_party/abseil-cpp/absl/flags:flag" ]
|
2023-10-09 16:39:40 +02:00
|
|
|
}
|
|
|
|
|
|
2023-04-26 10:17:19 +02:00
|
|
|
rtc_library("test_common") {
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"call_test.cc",
|
|
|
|
|
"call_test.h",
|
|
|
|
|
"drifting_clock.cc",
|
|
|
|
|
"drifting_clock.h",
|
|
|
|
|
"layer_filtering_transport.cc",
|
|
|
|
|
"layer_filtering_transport.h",
|
|
|
|
|
"rtp_rtcp_observer.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
":direct_transport",
|
|
|
|
|
":encoder_settings",
|
|
|
|
|
":fake_video_codecs",
|
|
|
|
|
":fileutils",
|
|
|
|
|
":frame_generator_capturer",
|
|
|
|
|
":mock_transport",
|
|
|
|
|
":run_loop",
|
|
|
|
|
":scoped_key_value_config",
|
2023-10-09 16:39:40 +02:00
|
|
|
":test_flags",
|
2023-04-26 10:17:19 +02:00
|
|
|
":test_support",
|
2023-06-29 14:56:59 +02:00
|
|
|
":test_video_capturer",
|
2023-04-26 10:17:19 +02:00
|
|
|
":video_test_common",
|
|
|
|
|
":video_test_constants",
|
2024-04-29 08:37:37 +00:00
|
|
|
"..//test/network:simulated_network",
|
2023-04-26 10:17:19 +02:00
|
|
|
"../api:array_view",
|
|
|
|
|
"../api:create_frame_generator",
|
|
|
|
|
"../api:frame_generator_api",
|
|
|
|
|
"../api:rtp_headers",
|
|
|
|
|
"../api:rtp_parameters",
|
|
|
|
|
"../api:simulated_network_api",
|
|
|
|
|
"../api:transport_api",
|
2024-04-19 19:46:03 +00:00
|
|
|
"../api/audio:audio_device",
|
2024-11-01 11:43:08 +01:00
|
|
|
"../api/audio:builtin_audio_processing_builder",
|
2023-04-26 10:17:19 +02:00
|
|
|
"../api/audio_codecs:builtin_audio_decoder_factory",
|
|
|
|
|
"../api/audio_codecs:builtin_audio_encoder_factory",
|
2023-11-29 15:54:32 +01:00
|
|
|
"../api/environment",
|
|
|
|
|
"../api/environment:environment_factory",
|
2023-04-26 10:17:19 +02:00
|
|
|
"../api/rtc_event_log",
|
|
|
|
|
"../api/task_queue",
|
|
|
|
|
"../api/test/video:function_video_factory",
|
|
|
|
|
"../api/transport:field_trial_based_config",
|
|
|
|
|
"../api/units:time_delta",
|
|
|
|
|
"../api/video:builtin_video_bitrate_allocator_factory",
|
|
|
|
|
"../api/video:video_bitrate_allocator_factory",
|
|
|
|
|
"../api/video:video_frame",
|
|
|
|
|
"../api/video_codecs:video_codecs_api",
|
|
|
|
|
"../call",
|
|
|
|
|
"../call:call_interfaces",
|
|
|
|
|
"../call:fake_network",
|
|
|
|
|
"../call:simulated_packet_receiver",
|
2024-10-13 21:08:30 +00:00
|
|
|
"../call:video_send_stream_api",
|
2023-04-26 10:17:19 +02:00
|
|
|
"../modules/audio_device:test_audio_device_module",
|
|
|
|
|
"../modules/audio_mixer:audio_mixer_impl",
|
|
|
|
|
"../modules/rtp_rtcp",
|
|
|
|
|
"../modules/rtp_rtcp:rtp_rtcp_format",
|
|
|
|
|
"../modules/rtp_rtcp:rtp_video_header",
|
|
|
|
|
"../modules/video_coding:codec_globals_headers",
|
|
|
|
|
"../rtc_base:checks",
|
|
|
|
|
"../rtc_base:criticalsection",
|
|
|
|
|
"../rtc_base:rtc_event",
|
|
|
|
|
"../rtc_base:task_queue_for_test",
|
|
|
|
|
"../rtc_base:threading",
|
|
|
|
|
"../rtc_base:timeutils",
|
|
|
|
|
"../system_wrappers",
|
|
|
|
|
"../system_wrappers:field_trial",
|
|
|
|
|
"../video/config:encoder_config",
|
2023-10-09 16:39:40 +02:00
|
|
|
"//third_party/abseil-cpp/absl/flags:flag",
|
|
|
|
|
]
|
2023-04-26 10:17:19 +02:00
|
|
|
if (!is_android && !build_with_chromium) {
|
|
|
|
|
deps += [ "../modules/video_capture:video_capture_internal_impl" ]
|
|
|
|
|
}
|
|
|
|
|
}
|
2019-01-15 14:43:20 +01:00
|
|
|
}
|
|
|
|
|
|
2017-05-26 01:51:53 -07:00
|
|
|
if (!build_with_chromium && is_android) {
|
2017-11-07 15:36:33 +00:00
|
|
|
rtc_android_library("native_test_java") {
|
2017-05-26 01:51:53 -07:00
|
|
|
testonly = true
|
2019-12-23 14:02:25 -08:00
|
|
|
sources = [
|
2024-12-04 15:54:49 +01:00
|
|
|
"android/org/webrtc/native_test/NativeTestWebrtc.java",
|
|
|
|
|
"android/org/webrtc/native_test/RTCNativeTestApplication.java",
|
2017-05-26 01:51:53 -07:00
|
|
|
"android/org/webrtc/native_test/RTCNativeUnitTest.java",
|
|
|
|
|
"android/org/webrtc/native_test/RTCNativeUnitTestActivity.java",
|
2024-12-04 15:54:49 +01:00
|
|
|
"android/org/webrtc/native_test/StrictModeContext.java",
|
2017-05-26 01:51:53 -07:00
|
|
|
]
|
2024-12-04 15:54:49 +01:00
|
|
|
srcjar_deps = [ ":native_test_jni" ]
|
2017-05-26 01:51:53 -07:00
|
|
|
deps = [
|
2024-12-04 15:54:49 +01:00
|
|
|
":native_test_support",
|
2017-07-11 06:20:45 -07:00
|
|
|
"../rtc_base:base_java",
|
2024-12-04 15:54:49 +01:00
|
|
|
"//build/android:build_java",
|
|
|
|
|
"//build/android/gtest_apk:native_test_instrumentation_test_runner_java",
|
|
|
|
|
"//testing/android/reporter:reporter_java",
|
|
|
|
|
"//third_party/jni_zero:jni_zero_java",
|
2017-05-26 01:51:53 -07:00
|
|
|
]
|
|
|
|
|
}
|
2024-12-04 15:54:49 +01:00
|
|
|
|
|
|
|
|
source_set("native_test_support") {
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"android/native_test_launcher.cc",
|
|
|
|
|
"android/native_test_launcher.h",
|
|
|
|
|
"android/native_test_util.cc",
|
|
|
|
|
"android/native_test_util.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":native_test_jni",
|
|
|
|
|
"//testing/gtest",
|
|
|
|
|
"//third_party/abseil-cpp/absl/strings",
|
|
|
|
|
"//third_party/jni_zero:jni_zero",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
generate_jni("native_test_jni") {
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [ "android/org/webrtc/native_test/NativeTestWebrtc.java" ]
|
|
|
|
|
}
|
2017-05-26 01:51:53 -07:00
|
|
|
}
|
2019-01-11 10:48:42 -08:00
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("call_config_utils") {
|
2023-10-25 15:18:25 +02:00
|
|
|
testonly = true
|
|
|
|
|
|
2019-07-15 13:17:48 +02:00
|
|
|
# TODO(bugs.webrtc.org/10814): Remove rtc_json_suppressions as soon as it
|
|
|
|
|
# gets removed upstream.
|
|
|
|
|
public_configs = [ "../rtc_base:rtc_json_suppressions" ]
|
2019-01-11 10:48:42 -08:00
|
|
|
sources = [
|
|
|
|
|
"call_config_utils.cc",
|
|
|
|
|
"call_config_utils.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
2024-10-13 21:08:30 +00:00
|
|
|
"../call:video_receive_stream_api",
|
2019-01-11 10:48:42 -08:00
|
|
|
"../rtc_base:rtc_json",
|
|
|
|
|
]
|
|
|
|
|
}
|
2022-04-26 10:09:04 +02:00
|
|
|
|
|
|
|
|
rtc_library("fake_encoded_frame") {
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"fake_encoded_frame.cc",
|
|
|
|
|
"fake_encoded_frame.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":test_support",
|
|
|
|
|
"../api:rtp_packet_info",
|
|
|
|
|
"../api/video:encoded_frame",
|
2022-05-02 17:46:07 +02:00
|
|
|
"../api/video:encoded_image",
|
|
|
|
|
"../api/video:video_frame_type",
|
2022-04-26 10:09:04 +02:00
|
|
|
"../api/video:video_rtp_headers",
|
|
|
|
|
]
|
|
|
|
|
}
|
2023-11-13 15:48:25 +01:00
|
|
|
|
|
|
|
|
rtc_library("video_codec_tester") {
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"video_codec_tester.cc",
|
|
|
|
|
"video_codec_tester.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
2024-06-26 13:23:44 +02:00
|
|
|
":video_frame_writer",
|
|
|
|
|
":video_test_support",
|
2023-11-13 15:48:25 +01:00
|
|
|
"../api:array_view",
|
2024-06-03 16:16:01 +02:00
|
|
|
"../api:create_frame_generator",
|
|
|
|
|
"../api:frame_generator_api",
|
2024-03-08 14:30:54 +01:00
|
|
|
"../api/environment",
|
2024-06-03 16:16:01 +02:00
|
|
|
"../api/environment:environment_factory",
|
2023-11-13 15:48:25 +01:00
|
|
|
"../api/numerics:numerics",
|
|
|
|
|
"../api/test/metrics:metric",
|
|
|
|
|
"../api/test/metrics:metrics_logger",
|
|
|
|
|
"../api/units:data_rate",
|
|
|
|
|
"../api/units:data_size",
|
|
|
|
|
"../api/units:frequency",
|
|
|
|
|
"../api/units:time_delta",
|
|
|
|
|
"../api/units:timestamp",
|
|
|
|
|
"../api/video:builtin_video_bitrate_allocator_factory",
|
|
|
|
|
"../api/video:encoded_image",
|
|
|
|
|
"../api/video:resolution",
|
|
|
|
|
"../api/video:video_bitrate_allocator",
|
|
|
|
|
"../api/video:video_frame",
|
|
|
|
|
"../api/video_codecs:video_codecs_api",
|
|
|
|
|
"../media:media_constants",
|
|
|
|
|
"../modules/video_coding:video_codec_interface",
|
|
|
|
|
"../modules/video_coding:video_coding_utility",
|
2024-01-19 14:07:20 +01:00
|
|
|
"../modules/video_coding:webrtc_h264",
|
2023-11-13 15:48:25 +01:00
|
|
|
"../modules/video_coding:webrtc_vp9_helpers",
|
|
|
|
|
"../modules/video_coding/codecs/av1:av1_svc_config",
|
|
|
|
|
"../modules/video_coding/svc:scalability_mode_util",
|
|
|
|
|
"../rtc_base:checks",
|
|
|
|
|
"../rtc_base:logging",
|
|
|
|
|
"../rtc_base:rtc_event",
|
2023-11-19 16:02:37 +01:00
|
|
|
"../rtc_base:stringutils",
|
2023-11-13 15:48:25 +01:00
|
|
|
"../rtc_base:task_queue_for_test",
|
|
|
|
|
"../rtc_base:timeutils",
|
|
|
|
|
"../rtc_base/synchronization:mutex",
|
|
|
|
|
"../system_wrappers",
|
|
|
|
|
"../test:fileutils",
|
2023-12-22 09:39:56 +01:00
|
|
|
"../video/config:streams_config",
|
2024-05-23 11:21:53 +00:00
|
|
|
"//third_party/abseil-cpp/absl/strings",
|
|
|
|
|
"//third_party/libyuv",
|
2024-05-03 13:36:09 +00:00
|
|
|
]
|
2023-11-13 15:48:25 +01:00
|
|
|
}
|
2024-12-04 11:36:08 +00:00
|
|
|
|
2024-12-16 11:53:45 +00:00
|
|
|
rtc_library("wait_until") {
|
2024-12-04 11:36:08 +00:00
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
2024-12-16 11:53:45 +00:00
|
|
|
"wait_until.cc",
|
2024-12-04 11:36:08 +00:00
|
|
|
"wait_until.h",
|
|
|
|
|
"wait_until_internal.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":test_support",
|
|
|
|
|
"../api:rtc_error",
|
2024-12-16 11:53:45 +00:00
|
|
|
"../api:time_controller",
|
2024-12-04 11:36:08 +00:00
|
|
|
"../api/units:time_delta",
|
|
|
|
|
"../api/units:timestamp",
|
|
|
|
|
"../rtc_base:checks",
|
2024-12-16 11:53:45 +00:00
|
|
|
"../rtc_base:rtc_base_tests_utils",
|
2024-12-04 11:36:08 +00:00
|
|
|
"../rtc_base:threading",
|
2024-12-16 11:53:45 +00:00
|
|
|
"../rtc_base:timeutils",
|
2024-12-04 11:36:08 +00:00
|
|
|
"../system_wrappers",
|
|
|
|
|
"//third_party/abseil-cpp/absl/base:nullability",
|
2024-12-16 11:53:45 +00:00
|
|
|
"//third_party/abseil-cpp/absl/functional:overload",
|
2024-12-04 11:36:08 +00:00
|
|
|
"//third_party/abseil-cpp/absl/strings:string_view",
|
2024-12-16 11:53:45 +00:00
|
|
|
"//third_party/abseil-cpp/absl/types:variant",
|
2024-12-04 11:36:08 +00:00
|
|
|
]
|
|
|
|
|
}
|