blob: 5c0fee22bd9eaadd56272b0372848f08e390ae6b [file] [log] [blame]
Sebastian Janssoncabe3832018-01-12 10:54:18 +01001# Copyright (c) 2018 The WebRTC project authors. All Rights Reserved.
2#
3# Use of this source code is governed by a BSD-style license
4# that can be found in the LICENSE file in the root of the source
5# tree. An additional intellectual property rights grant can be found
6# in the file PATENTS. All contributing project authors may
7# be found in the AUTHORS file in the root of the source tree.
8
9import("../../webrtc.gni")
10
11rtc_static_library("alr_experiment") {
12 sources = [
13 "alr_experiment.cc",
14 "alr_experiment.h",
15 ]
16 deps = [
17 "../:rtc_base_approved",
Mirko Bonadei17f48782018-09-28 08:51:10 +020018 "../../system_wrappers:field_trial",
Danil Chapovalov0a1d1892018-06-21 11:48:25 +020019 "//third_party/abseil-cpp/absl/types:optional",
Sebastian Janssoncabe3832018-01-12 10:54:18 +010020 ]
21}
Sebastian Jansson2808ae92018-04-09 11:13:04 +020022
Sebastian Jansson9eb38862018-06-14 16:47:42 +020023rtc_static_library("field_trial_parser") {
24 sources = [
25 "field_trial_parser.cc",
26 "field_trial_parser.h",
27 "field_trial_units.cc",
28 "field_trial_units.h",
29 ]
30 deps = [
Sebastian Jansson9eb38862018-06-14 16:47:42 +020031 "../../api/units:data_rate",
32 "../../api/units:data_size",
33 "../../api/units:time_delta",
Sebastian Janssonfea46372018-09-03 10:15:13 +020034 "../../rtc_base:checks",
Sebastian Jansson07536752018-10-16 11:34:04 +020035 "../../rtc_base:logging",
Danil Chapovalov0a1d1892018-06-21 11:48:25 +020036 "//third_party/abseil-cpp/absl/types:optional",
Sebastian Jansson9eb38862018-06-14 16:47:42 +020037 ]
38}
39
Åsa Perssona945aee2018-04-24 16:53:25 +020040rtc_static_library("quality_scaling_experiment") {
41 sources = [
42 "quality_scaling_experiment.cc",
43 "quality_scaling_experiment.h",
44 ]
45 deps = [
46 "../:rtc_base_approved",
Åsa Perssona945aee2018-04-24 16:53:25 +020047 "../../api/video_codecs:video_codecs_api",
Mirko Bonadei17f48782018-09-28 08:51:10 +020048 "../../system_wrappers:field_trial",
Danil Chapovalov0a1d1892018-06-21 11:48:25 +020049 "//third_party/abseil-cpp/absl/types:optional",
Åsa Perssona945aee2018-04-24 16:53:25 +020050 ]
51}
52
Åsa Persson1a35fbd2018-10-12 17:36:57 +020053rtc_static_library("normalize_simulcast_size_experiment") {
54 sources = [
55 "normalize_simulcast_size_experiment.cc",
56 "normalize_simulcast_size_experiment.h",
57 ]
58 deps = [
59 "../:rtc_base_approved",
60 "../../system_wrappers:field_trial",
61 "//third_party/abseil-cpp/absl/types:optional",
62 ]
63}
64
Åsa Perssonf8ba95e2018-11-02 11:38:46 +010065rtc_static_library("cpu_speed_experiment") {
66 sources = [
67 "cpu_speed_experiment.cc",
68 "cpu_speed_experiment.h",
69 ]
70 deps = [
71 "../:rtc_base_approved",
72 "../../system_wrappers:field_trial",
73 "//third_party/abseil-cpp/absl/types:optional",
74 ]
75}
76
“Michaelf9fc1712018-08-27 10:08:58 -050077rtc_static_library("rtt_mult_experiment") {
78 sources = [
79 "rtt_mult_experiment.cc",
80 "rtt_mult_experiment.h",
81 ]
82 deps = [
83 "../:rtc_base_approved",
Mirko Bonadei17f48782018-09-28 08:51:10 +020084 "../../system_wrappers:field_trial",
“Michaelf9fc1712018-08-27 10:08:58 -050085 ]
86}
87
Erik Språngb1e031a2018-11-01 11:20:49 +010088rtc_static_library("jitter_upper_bound_experiment") {
89 sources = [
90 "jitter_upper_bound_experiment.cc",
91 "jitter_upper_bound_experiment.h",
92 ]
93 deps = [
94 "../:rtc_base_approved",
95 "../../system_wrappers:field_trial",
96 "//third_party/abseil-cpp/absl/types:optional",
97 ]
98}
99
Erik Språng71215642019-01-21 16:30:55 +0100100rtc_static_library("rate_control_settings") {
101 sources = [
102 "rate_control_settings.cc",
103 "rate_control_settings.h",
104 ]
105 deps = [
106 ":field_trial_parser",
107 "../:rtc_base_approved",
108 "../../api/transport:field_trial_based_config",
109 "../../api/transport:webrtc_key_value_config",
110 "../../system_wrappers:field_trial",
111 "//third_party/abseil-cpp/absl/memory:memory",
112 "//third_party/abseil-cpp/absl/types:optional",
113 ]
114}
115
Sebastian Jansson2808ae92018-04-09 11:13:04 +0200116if (rtc_include_tests) {
117 rtc_source_set("experiments_unittests") {
118 testonly = true
119
120 sources = [
Åsa Perssonf8ba95e2018-11-02 11:38:46 +0100121 "cpu_speed_experiment_unittest.cc",
Sebastian Jansson9eb38862018-06-14 16:47:42 +0200122 "field_trial_parser_unittest.cc",
123 "field_trial_units_unittest.cc",
Åsa Persson1a35fbd2018-10-12 17:36:57 +0200124 "normalize_simulcast_size_experiment_unittest.cc",
Åsa Perssona945aee2018-04-24 16:53:25 +0200125 "quality_scaling_experiment_unittest.cc",
“Michaelf9fc1712018-08-27 10:08:58 -0500126 "rtt_mult_experiment_unittest.cc",
Sebastian Jansson2808ae92018-04-09 11:13:04 +0200127 ]
128 deps = [
Åsa Perssonf8ba95e2018-11-02 11:38:46 +0100129 ":cpu_speed_experiment",
Sebastian Jansson9eb38862018-06-14 16:47:42 +0200130 ":field_trial_parser",
Åsa Persson1a35fbd2018-10-12 17:36:57 +0200131 ":normalize_simulcast_size_experiment",
Åsa Perssona945aee2018-04-24 16:53:25 +0200132 ":quality_scaling_experiment",
“Michaelf9fc1712018-08-27 10:08:58 -0500133 ":rtt_mult_experiment",
Mirko Bonadeie3abb812018-11-23 13:15:08 +0100134 "..:gunit_helpers",
Sebastian Jansson2808ae92018-04-09 11:13:04 +0200135 "../:rtc_base_tests_main",
136 "../:rtc_base_tests_utils",
Mirko Bonadei17f48782018-09-28 08:51:10 +0200137 "../../system_wrappers:field_trial",
Sebastian Jansson2808ae92018-04-09 11:13:04 +0200138 "../../test:field_trial",
Åsa Perssonf8ba95e2018-11-02 11:38:46 +0100139 "../../test:test_support",
Sebastian Jansson2808ae92018-04-09 11:13:04 +0200140 ]
141 }
142}