blob: b2e1302edc7a452605d65de7ec9cdb70bf5cd1d6 [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
Sebastian Jansson2808ae92018-04-09 11:13:04 +020040rtc_static_library("congestion_controller_experiment") {
41 sources = [
42 "congestion_controller_experiment.cc",
43 "congestion_controller_experiment.h",
44 ]
45 deps = [
46 "../:rtc_base_approved",
Mirko Bonadei17f48782018-09-28 08:51:10 +020047 "../../system_wrappers:field_trial",
Danil Chapovalov0a1d1892018-06-21 11:48:25 +020048 "//third_party/abseil-cpp/absl/types:optional",
Sebastian Jansson2808ae92018-04-09 11:13:04 +020049 ]
50}
51
Åsa Perssona945aee2018-04-24 16:53:25 +020052rtc_static_library("quality_scaling_experiment") {
53 sources = [
54 "quality_scaling_experiment.cc",
55 "quality_scaling_experiment.h",
56 ]
57 deps = [
58 "../:rtc_base_approved",
59 "../..:webrtc_common",
Åsa Perssona945aee2018-04-24 16:53:25 +020060 "../../api/video_codecs:video_codecs_api",
Mirko Bonadei17f48782018-09-28 08:51:10 +020061 "../../system_wrappers:field_trial",
Danil Chapovalov0a1d1892018-06-21 11:48:25 +020062 "//third_party/abseil-cpp/absl/types:optional",
Åsa Perssona945aee2018-04-24 16:53:25 +020063 ]
64}
65
Åsa Persson1a35fbd2018-10-12 17:36:57 +020066rtc_static_library("normalize_simulcast_size_experiment") {
67 sources = [
68 "normalize_simulcast_size_experiment.cc",
69 "normalize_simulcast_size_experiment.h",
70 ]
71 deps = [
72 "../:rtc_base_approved",
73 "../../system_wrappers:field_trial",
74 "//third_party/abseil-cpp/absl/types:optional",
75 ]
76}
77
Åsa Perssonf8ba95e2018-11-02 11:38:46 +010078rtc_static_library("cpu_speed_experiment") {
79 sources = [
80 "cpu_speed_experiment.cc",
81 "cpu_speed_experiment.h",
82 ]
83 deps = [
84 "../:rtc_base_approved",
85 "../../system_wrappers:field_trial",
86 "//third_party/abseil-cpp/absl/types:optional",
87 ]
88}
89
“Michaelf9fc1712018-08-27 10:08:58 -050090rtc_static_library("rtt_mult_experiment") {
91 sources = [
92 "rtt_mult_experiment.cc",
93 "rtt_mult_experiment.h",
94 ]
95 deps = [
96 "../:rtc_base_approved",
Mirko Bonadei17f48782018-09-28 08:51:10 +020097 "../../system_wrappers:field_trial",
“Michaelf9fc1712018-08-27 10:08:58 -050098 ]
99}
100
Erik Språngb1e031a2018-11-01 11:20:49 +0100101rtc_static_library("jitter_upper_bound_experiment") {
102 sources = [
103 "jitter_upper_bound_experiment.cc",
104 "jitter_upper_bound_experiment.h",
105 ]
106 deps = [
107 "../:rtc_base_approved",
108 "../../system_wrappers:field_trial",
109 "//third_party/abseil-cpp/absl/types:optional",
110 ]
111}
112
Sebastian Jansson2808ae92018-04-09 11:13:04 +0200113if (rtc_include_tests) {
114 rtc_source_set("experiments_unittests") {
115 testonly = true
116
117 sources = [
118 "congestion_controller_experiment_unittest.cc",
Åsa Perssonf8ba95e2018-11-02 11:38:46 +0100119 "cpu_speed_experiment_unittest.cc",
Sebastian Jansson9eb38862018-06-14 16:47:42 +0200120 "field_trial_parser_unittest.cc",
121 "field_trial_units_unittest.cc",
Åsa Persson1a35fbd2018-10-12 17:36:57 +0200122 "normalize_simulcast_size_experiment_unittest.cc",
Åsa Perssona945aee2018-04-24 16:53:25 +0200123 "quality_scaling_experiment_unittest.cc",
“Michaelf9fc1712018-08-27 10:08:58 -0500124 "rtt_mult_experiment_unittest.cc",
Sebastian Jansson2808ae92018-04-09 11:13:04 +0200125 ]
126 deps = [
127 ":congestion_controller_experiment",
Åsa Perssonf8ba95e2018-11-02 11:38:46 +0100128 ":cpu_speed_experiment",
Sebastian Jansson9eb38862018-06-14 16:47:42 +0200129 ":field_trial_parser",
Åsa Persson1a35fbd2018-10-12 17:36:57 +0200130 ":normalize_simulcast_size_experiment",
Åsa Perssona945aee2018-04-24 16:53:25 +0200131 ":quality_scaling_experiment",
“Michaelf9fc1712018-08-27 10:08:58 -0500132 ":rtt_mult_experiment",
Sebastian Jansson2808ae92018-04-09 11:13:04 +0200133 "../:rtc_base_tests_main",
134 "../:rtc_base_tests_utils",
Mirko Bonadei17f48782018-09-28 08:51:10 +0200135 "../../system_wrappers:field_trial",
Sebastian Jansson2808ae92018-04-09 11:13:04 +0200136 "../../test:field_trial",
Åsa Perssonf8ba95e2018-11-02 11:38:46 +0100137 "../../test:test_support",
Sebastian Jansson2808ae92018-04-09 11:13:04 +0200138 ]
139 }
140}