blob: 4b3f2a96e505e34ae81f5b16b45177a862a91ae0 [file] [log] [blame]
# 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")
rtc_static_library("alr_experiment") {
sources = [
"alr_experiment.cc",
"alr_experiment.h",
]
deps = [
"../:rtc_base_approved",
"../../system_wrappers:field_trial",
"//third_party/abseil-cpp/absl/types:optional",
]
}
rtc_static_library("field_trial_parser") {
sources = [
"field_trial_parser.cc",
"field_trial_parser.h",
"field_trial_units.cc",
"field_trial_units.h",
]
deps = [
"../../api/units:data_rate",
"../../api/units:data_size",
"../../api/units:time_delta",
"../../rtc_base:checks",
"../../rtc_base:logging",
"//third_party/abseil-cpp/absl/types:optional",
]
}
rtc_static_library("quality_scaling_experiment") {
sources = [
"quality_scaling_experiment.cc",
"quality_scaling_experiment.h",
]
deps = [
"../:rtc_base_approved",
"../../api/video_codecs:video_codecs_api",
"../../system_wrappers:field_trial",
"//third_party/abseil-cpp/absl/types:optional",
]
}
rtc_static_library("normalize_simulcast_size_experiment") {
sources = [
"normalize_simulcast_size_experiment.cc",
"normalize_simulcast_size_experiment.h",
]
deps = [
"../:rtc_base_approved",
"../../system_wrappers:field_trial",
"//third_party/abseil-cpp/absl/types:optional",
]
}
rtc_static_library("cpu_speed_experiment") {
sources = [
"cpu_speed_experiment.cc",
"cpu_speed_experiment.h",
]
deps = [
"../:rtc_base_approved",
"../../system_wrappers:field_trial",
"//third_party/abseil-cpp/absl/types:optional",
]
}
rtc_static_library("rtt_mult_experiment") {
sources = [
"rtt_mult_experiment.cc",
"rtt_mult_experiment.h",
]
deps = [
"../:rtc_base_approved",
"../../system_wrappers:field_trial",
]
}
rtc_static_library("jitter_upper_bound_experiment") {
sources = [
"jitter_upper_bound_experiment.cc",
"jitter_upper_bound_experiment.h",
]
deps = [
"../:rtc_base_approved",
"../../system_wrappers:field_trial",
"//third_party/abseil-cpp/absl/types:optional",
]
}
if (rtc_include_tests) {
rtc_source_set("experiments_unittests") {
testonly = true
sources = [
"cpu_speed_experiment_unittest.cc",
"field_trial_parser_unittest.cc",
"field_trial_units_unittest.cc",
"normalize_simulcast_size_experiment_unittest.cc",
"quality_scaling_experiment_unittest.cc",
"rtt_mult_experiment_unittest.cc",
]
deps = [
":cpu_speed_experiment",
":field_trial_parser",
":normalize_simulcast_size_experiment",
":quality_scaling_experiment",
":rtt_mult_experiment",
"..:gunit_helpers",
"../:rtc_base_tests_main",
"../:rtc_base_tests_utils",
"../../system_wrappers:field_trial",
"../../test:field_trial",
"../../test:test_support",
]
}
}