2018-01-12 10:54:18 +01:00
|
|
|
# Copyright (c) 2018 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("../../webrtc.gni")
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("alr_experiment") {
|
2018-01-12 10:54:18 +01:00
|
|
|
sources = [
|
|
|
|
|
"alr_experiment.cc",
|
|
|
|
|
"alr_experiment.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
2022-04-04 15:06:30 +02:00
|
|
|
"..:logging",
|
2022-03-29 11:04:48 +02:00
|
|
|
"../../api:field_trials_view",
|
2023-12-06 18:23:20 +00:00
|
|
|
"//third_party/abseil-cpp/absl/strings:string_view",
|
2022-04-13 12:55:15 +02:00
|
|
|
]
|
2018-01-12 10:54:18 +01:00
|
|
|
}
|
2018-04-09 11:13:04 +02:00
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("field_trial_parser") {
|
2018-06-14 16:47:42 +02:00
|
|
|
sources = [
|
2019-04-11 11:53:26 +02:00
|
|
|
"field_trial_list.cc",
|
|
|
|
|
"field_trial_list.h",
|
2018-06-14 16:47:42 +02:00
|
|
|
"field_trial_parser.cc",
|
|
|
|
|
"field_trial_parser.h",
|
|
|
|
|
"field_trial_units.cc",
|
|
|
|
|
"field_trial_units.h",
|
2019-08-08 11:14:51 +02:00
|
|
|
"struct_parameters_parser.cc",
|
|
|
|
|
"struct_parameters_parser.h",
|
2018-06-14 16:47:42 +02:00
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
"../../api/units:data_rate",
|
|
|
|
|
"../../api/units:data_size",
|
|
|
|
|
"../../api/units:time_delta",
|
2018-09-03 10:15:13 +02:00
|
|
|
"../../rtc_base:checks",
|
2018-10-16 11:34:04 +02:00
|
|
|
"../../rtc_base:logging",
|
2019-08-30 09:39:31 +02:00
|
|
|
"../../rtc_base:safe_conversions",
|
2019-04-11 11:53:26 +02:00
|
|
|
"../../rtc_base:stringutils",
|
2019-09-17 17:06:18 +02:00
|
|
|
"//third_party/abseil-cpp/absl/memory",
|
2024-05-23 11:21:53 +00:00
|
|
|
"//third_party/abseil-cpp/absl/strings:string_view",
|
2018-06-14 16:47:42 +02:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("quality_scaler_settings") {
|
2019-05-06 14:17:35 +02:00
|
|
|
sources = [
|
|
|
|
|
"quality_scaler_settings.cc",
|
|
|
|
|
"quality_scaler_settings.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":field_trial_parser",
|
2022-04-04 15:06:30 +02:00
|
|
|
"..:logging",
|
2022-03-29 11:04:48 +02:00
|
|
|
"../../api:field_trials_view",
|
2019-05-06 14:17:35 +02:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("quality_scaling_experiment") {
|
2018-04-24 16:53:25 +02:00
|
|
|
sources = [
|
|
|
|
|
"quality_scaling_experiment.cc",
|
|
|
|
|
"quality_scaling_experiment.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
2022-04-04 15:06:30 +02:00
|
|
|
"..:logging",
|
2023-10-10 15:21:29 +02:00
|
|
|
"../../api:field_trials_view",
|
|
|
|
|
"../../api/transport:field_trial_based_config",
|
2018-04-24 16:53:25 +02:00
|
|
|
"../../api/video_codecs:video_codecs_api",
|
2024-05-23 11:21:53 +00:00
|
|
|
"//third_party/abseil-cpp/absl/strings",
|
2023-10-10 15:21:29 +02:00
|
|
|
]
|
2018-04-24 16:53:25 +02:00
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("normalize_simulcast_size_experiment") {
|
2018-10-12 17:36:57 +02:00
|
|
|
sources = [
|
|
|
|
|
"normalize_simulcast_size_experiment.cc",
|
|
|
|
|
"normalize_simulcast_size_experiment.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
2022-04-04 15:06:30 +02:00
|
|
|
"..:logging",
|
2024-03-20 15:41:27 +01:00
|
|
|
"../../api:field_trials_view",
|
2018-10-12 17:36:57 +02:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("balanced_degradation_settings") {
|
2019-05-06 12:22:49 +02:00
|
|
|
sources = [
|
|
|
|
|
"balanced_degradation_settings.cc",
|
|
|
|
|
"balanced_degradation_settings.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":field_trial_parser",
|
2022-04-04 15:06:30 +02:00
|
|
|
"..:logging",
|
2022-03-29 11:04:48 +02:00
|
|
|
"../../api:field_trials_view",
|
2019-06-20 15:45:07 +02:00
|
|
|
"../../api/video_codecs:video_codecs_api",
|
2019-05-06 12:22:49 +02:00
|
|
|
"../../system_wrappers:field_trial",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2021-01-20 15:36:13 +01:00
|
|
|
rtc_library("encoder_info_settings") {
|
|
|
|
|
sources = [
|
|
|
|
|
"encoder_info_settings.cc",
|
|
|
|
|
"encoder_info_settings.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":field_trial_parser",
|
2022-04-04 15:06:30 +02:00
|
|
|
"..:logging",
|
2024-04-25 12:02:27 +02:00
|
|
|
"../../api:field_trials_view",
|
2021-01-20 15:36:13 +01:00
|
|
|
"../../api/video_codecs:video_codecs_api",
|
2024-05-23 11:21:53 +00:00
|
|
|
"//third_party/abseil-cpp/absl/strings:string_view",
|
2022-03-17 15:47:49 +01:00
|
|
|
]
|
2021-01-20 15:36:13 +01:00
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("rate_control_settings") {
|
2019-01-21 16:30:55 +01:00
|
|
|
sources = [
|
|
|
|
|
"rate_control_settings.cc",
|
|
|
|
|
"rate_control_settings.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":field_trial_parser",
|
2022-04-04 15:06:30 +02:00
|
|
|
"..:logging",
|
2022-04-04 17:04:37 +02:00
|
|
|
"..:safe_conversions",
|
2022-03-29 11:04:48 +02:00
|
|
|
"../../api:field_trials_view",
|
2019-12-06 13:13:40 +01:00
|
|
|
"../../api/units:data_size",
|
2019-02-04 11:09:46 +01:00
|
|
|
"../../api/video_codecs:video_codecs_api",
|
2022-09-29 10:28:24 +02:00
|
|
|
"../../video/config:encoder_config",
|
2020-04-01 13:43:08 +02:00
|
|
|
"//third_party/abseil-cpp/absl/strings",
|
2019-01-21 16:30:55 +01:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("keyframe_interval_settings_experiment") {
|
2019-03-21 11:46:17 +01:00
|
|
|
sources = [
|
|
|
|
|
"keyframe_interval_settings.cc",
|
|
|
|
|
"keyframe_interval_settings.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":field_trial_parser",
|
2022-03-29 11:04:48 +02:00
|
|
|
"../../api:field_trials_view",
|
2019-03-21 11:46:17 +01:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("stable_target_rate_experiment") {
|
2019-08-23 20:02:13 +02:00
|
|
|
sources = [
|
|
|
|
|
"stable_target_rate_experiment.cc",
|
|
|
|
|
"stable_target_rate_experiment.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":field_trial_parser",
|
2022-03-29 11:04:48 +02:00
|
|
|
"../../api:field_trials_view",
|
2019-08-23 20:02:13 +02:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("min_video_bitrate_experiment") {
|
2019-10-11 16:19:43 +02:00
|
|
|
sources = [
|
|
|
|
|
"min_video_bitrate_experiment.cc",
|
|
|
|
|
"min_video_bitrate_experiment.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":field_trial_parser",
|
2024-04-09 10:53:39 +02:00
|
|
|
"../../api:field_trials_view",
|
2019-10-11 16:19:43 +02:00
|
|
|
"../../api/units:data_rate",
|
|
|
|
|
"../../api/video:video_frame",
|
|
|
|
|
"../../rtc_base:checks",
|
|
|
|
|
"../../rtc_base:logging",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
if (rtc_include_tests && !build_with_chromium) {
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("experiments_unittests") {
|
2018-04-09 11:13:04 +02:00
|
|
|
testonly = true
|
|
|
|
|
|
|
|
|
|
sources = [
|
2019-05-06 12:22:49 +02:00
|
|
|
"balanced_degradation_settings_unittest.cc",
|
2021-01-20 15:36:13 +01:00
|
|
|
"encoder_info_settings_unittest.cc",
|
2019-04-11 11:53:26 +02:00
|
|
|
"field_trial_list_unittest.cc",
|
2018-06-14 16:47:42 +02:00
|
|
|
"field_trial_parser_unittest.cc",
|
|
|
|
|
"field_trial_units_unittest.cc",
|
2019-03-21 11:46:17 +01:00
|
|
|
"keyframe_interval_settings_unittest.cc",
|
2019-10-11 16:19:43 +02:00
|
|
|
"min_video_bitrate_experiment_unittest.cc",
|
2018-10-12 17:36:57 +02:00
|
|
|
"normalize_simulcast_size_experiment_unittest.cc",
|
2019-05-06 14:17:35 +02:00
|
|
|
"quality_scaler_settings_unittest.cc",
|
2018-04-24 16:53:25 +02:00
|
|
|
"quality_scaling_experiment_unittest.cc",
|
2019-02-04 11:09:46 +01:00
|
|
|
"rate_control_settings_unittest.cc",
|
2019-08-23 20:02:13 +02:00
|
|
|
"stable_target_rate_experiment_unittest.cc",
|
2019-08-08 11:14:51 +02:00
|
|
|
"struct_parameters_parser_unittest.cc",
|
2018-04-09 11:13:04 +02:00
|
|
|
]
|
|
|
|
|
deps = [
|
2019-05-06 12:22:49 +02:00
|
|
|
":balanced_degradation_settings",
|
2021-01-20 15:36:13 +01:00
|
|
|
":encoder_info_settings",
|
2018-06-14 16:47:42 +02:00
|
|
|
":field_trial_parser",
|
2019-03-21 11:46:17 +01:00
|
|
|
":keyframe_interval_settings_experiment",
|
2019-10-11 16:19:43 +02:00
|
|
|
":min_video_bitrate_experiment",
|
2018-10-12 17:36:57 +02:00
|
|
|
":normalize_simulcast_size_experiment",
|
2019-05-06 14:17:35 +02:00
|
|
|
":quality_scaler_settings",
|
2018-04-24 16:53:25 +02:00
|
|
|
":quality_scaling_experiment",
|
2019-02-04 11:09:46 +01:00
|
|
|
":rate_control_settings",
|
2019-08-23 20:02:13 +02:00
|
|
|
":stable_target_rate_experiment",
|
2018-11-23 13:15:08 +01:00
|
|
|
"..:gunit_helpers",
|
2018-04-09 11:13:04 +02:00
|
|
|
"../:rtc_base_tests_utils",
|
2019-10-11 16:19:43 +02:00
|
|
|
"../../api/units:data_rate",
|
|
|
|
|
"../../api/video:video_frame",
|
2019-02-04 11:09:46 +01:00
|
|
|
"../../api/video_codecs:video_codecs_api",
|
2018-09-28 08:51:10 +02:00
|
|
|
"../../system_wrappers:field_trial",
|
2024-03-20 15:41:27 +01:00
|
|
|
"../../test:explicit_key_value_config",
|
2018-04-09 11:13:04 +02:00
|
|
|
"../../test:field_trial",
|
2022-03-09 15:12:07 +01:00
|
|
|
"../../test:scoped_key_value_config",
|
2019-05-21 13:01:58 +02:00
|
|
|
"../../test:test_main",
|
2018-11-02 11:38:46 +01:00
|
|
|
"../../test:test_support",
|
2022-09-29 10:28:24 +02:00
|
|
|
"../../video/config:encoder_config",
|
2024-05-23 11:21:53 +00:00
|
|
|
"//third_party/abseil-cpp/absl/strings:string_view",
|
2022-03-17 15:47:49 +01:00
|
|
|
]
|
2018-04-09 11:13:04 +02:00
|
|
|
}
|
|
|
|
|
}
|