blob: 924b490eb63f27d5b881adb4ef867829fbe29e76 [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
“Michaelf9fc1712018-08-27 10:08:58 -050078rtc_static_library("rtt_mult_experiment") {
79 sources = [
80 "rtt_mult_experiment.cc",
81 "rtt_mult_experiment.h",
82 ]
83 deps = [
84 "../:rtc_base_approved",
Mirko Bonadei17f48782018-09-28 08:51:10 +020085 "../../system_wrappers:field_trial",
“Michaelf9fc1712018-08-27 10:08:58 -050086 ]
87}
88
Erik Språngb1e031a2018-11-01 11:20:49 +010089rtc_static_library("jitter_upper_bound_experiment") {
90 sources = [
91 "jitter_upper_bound_experiment.cc",
92 "jitter_upper_bound_experiment.h",
93 ]
94 deps = [
95 "../:rtc_base_approved",
96 "../../system_wrappers:field_trial",
97 "//third_party/abseil-cpp/absl/types:optional",
98 ]
99}
100
Sebastian Jansson2808ae92018-04-09 11:13:04 +0200101if (rtc_include_tests) {
102 rtc_source_set("experiments_unittests") {
103 testonly = true
104
105 sources = [
106 "congestion_controller_experiment_unittest.cc",
Sebastian Jansson9eb38862018-06-14 16:47:42 +0200107 "field_trial_parser_unittest.cc",
108 "field_trial_units_unittest.cc",
Åsa Persson1a35fbd2018-10-12 17:36:57 +0200109 "normalize_simulcast_size_experiment_unittest.cc",
Åsa Perssona945aee2018-04-24 16:53:25 +0200110 "quality_scaling_experiment_unittest.cc",
“Michaelf9fc1712018-08-27 10:08:58 -0500111 "rtt_mult_experiment_unittest.cc",
Sebastian Jansson2808ae92018-04-09 11:13:04 +0200112 ]
113 deps = [
114 ":congestion_controller_experiment",
Sebastian Jansson9eb38862018-06-14 16:47:42 +0200115 ":field_trial_parser",
Åsa Persson1a35fbd2018-10-12 17:36:57 +0200116 ":normalize_simulcast_size_experiment",
Åsa Perssona945aee2018-04-24 16:53:25 +0200117 ":quality_scaling_experiment",
“Michaelf9fc1712018-08-27 10:08:58 -0500118 ":rtt_mult_experiment",
Sebastian Jansson2808ae92018-04-09 11:13:04 +0200119 "../:rtc_base_tests_main",
120 "../:rtc_base_tests_utils",
Mirko Bonadei17f48782018-09-28 08:51:10 +0200121 "../../system_wrappers:field_trial",
Sebastian Jansson2808ae92018-04-09 11:13:04 +0200122 "../../test:field_trial",
123 ]
124 }
125}