blob: b10d0c154592062671a9f2ac9d8a92f5036826da [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 = [
31 "../:rtc_base_approved",
Sebastian Jansson9eb38862018-06-14 16:47:42 +020032 "../../api/units:data_rate",
33 "../../api/units:data_size",
34 "../../api/units:time_delta",
Sebastian Janssonfea46372018-09-03 10:15:13 +020035 "../../rtc_base:checks",
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
“Michaelf9fc1712018-08-27 10:08:58 -050066rtc_static_library("rtt_mult_experiment") {
67 sources = [
68 "rtt_mult_experiment.cc",
69 "rtt_mult_experiment.h",
70 ]
71 deps = [
72 "../:rtc_base_approved",
Mirko Bonadei17f48782018-09-28 08:51:10 +020073 "../../system_wrappers:field_trial",
“Michaelf9fc1712018-08-27 10:08:58 -050074 ]
75}
76
Sebastian Jansson2808ae92018-04-09 11:13:04 +020077if (rtc_include_tests) {
78 rtc_source_set("experiments_unittests") {
79 testonly = true
80
81 sources = [
82 "congestion_controller_experiment_unittest.cc",
Sebastian Jansson9eb38862018-06-14 16:47:42 +020083 "field_trial_parser_unittest.cc",
84 "field_trial_units_unittest.cc",
Åsa Perssona945aee2018-04-24 16:53:25 +020085 "quality_scaling_experiment_unittest.cc",
“Michaelf9fc1712018-08-27 10:08:58 -050086 "rtt_mult_experiment_unittest.cc",
Sebastian Jansson2808ae92018-04-09 11:13:04 +020087 ]
88 deps = [
89 ":congestion_controller_experiment",
Sebastian Jansson9eb38862018-06-14 16:47:42 +020090 ":field_trial_parser",
Åsa Perssona945aee2018-04-24 16:53:25 +020091 ":quality_scaling_experiment",
“Michaelf9fc1712018-08-27 10:08:58 -050092 ":rtt_mult_experiment",
Sebastian Jansson2808ae92018-04-09 11:13:04 +020093 "../:rtc_base_tests_main",
94 "../:rtc_base_tests_utils",
Mirko Bonadei17f48782018-09-28 08:51:10 +020095 "../../system_wrappers:field_trial",
Sebastian Jansson2808ae92018-04-09 11:13:04 +020096 "../../test:field_trial",
97 ]
98 }
99}