blob: f5f372ff9e5bdbe42fda41b6abb632041ebb39cc [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",
Sebastian Janssoncabe3832018-01-12 10:54:18 +010018 "../../system_wrappers:field_trial_api",
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",
Sebastian Jansson9eb38862018-06-14 16:47:42 +020036 "../../system_wrappers:field_trial_api",
Danil Chapovalov0a1d1892018-06-21 11:48:25 +020037 "//third_party/abseil-cpp/absl/types:optional",
Sebastian Jansson9eb38862018-06-14 16:47:42 +020038 ]
39}
40
Sebastian Jansson2808ae92018-04-09 11:13:04 +020041rtc_static_library("congestion_controller_experiment") {
42 sources = [
43 "congestion_controller_experiment.cc",
44 "congestion_controller_experiment.h",
45 ]
46 deps = [
47 "../:rtc_base_approved",
Sebastian Jansson2808ae92018-04-09 11:13:04 +020048 "../../system_wrappers:field_trial_api",
Danil Chapovalov0a1d1892018-06-21 11:48:25 +020049 "//third_party/abseil-cpp/absl/types:optional",
Sebastian Jansson2808ae92018-04-09 11:13:04 +020050 ]
51}
52
Åsa Perssona945aee2018-04-24 16:53:25 +020053rtc_static_library("quality_scaling_experiment") {
54 sources = [
55 "quality_scaling_experiment.cc",
56 "quality_scaling_experiment.h",
57 ]
58 deps = [
59 "../:rtc_base_approved",
60 "../..:webrtc_common",
Åsa Perssona945aee2018-04-24 16:53:25 +020061 "../../api/video_codecs:video_codecs_api",
62 "../../system_wrappers:field_trial_api",
Danil Chapovalov0a1d1892018-06-21 11:48:25 +020063 "//third_party/abseil-cpp/absl/types:optional",
Åsa Perssona945aee2018-04-24 16:53:25 +020064 ]
65}
66
“Michaelf9fc1712018-08-27 10:08:58 -050067rtc_static_library("rtt_mult_experiment") {
68 sources = [
69 "rtt_mult_experiment.cc",
70 "rtt_mult_experiment.h",
71 ]
72 deps = [
73 "../:rtc_base_approved",
74 "../../system_wrappers:field_trial_api",
75 ]
76}
77
Sebastian Jansson2808ae92018-04-09 11:13:04 +020078if (rtc_include_tests) {
79 rtc_source_set("experiments_unittests") {
80 testonly = true
81
82 sources = [
83 "congestion_controller_experiment_unittest.cc",
Sebastian Jansson9eb38862018-06-14 16:47:42 +020084 "field_trial_parser_unittest.cc",
85 "field_trial_units_unittest.cc",
Åsa Perssona945aee2018-04-24 16:53:25 +020086 "quality_scaling_experiment_unittest.cc",
“Michaelf9fc1712018-08-27 10:08:58 -050087 "rtt_mult_experiment_unittest.cc",
Sebastian Jansson2808ae92018-04-09 11:13:04 +020088 ]
89 deps = [
90 ":congestion_controller_experiment",
Sebastian Jansson9eb38862018-06-14 16:47:42 +020091 ":field_trial_parser",
Åsa Perssona945aee2018-04-24 16:53:25 +020092 ":quality_scaling_experiment",
“Michaelf9fc1712018-08-27 10:08:58 -050093 ":rtt_mult_experiment",
Sebastian Jansson2808ae92018-04-09 11:13:04 +020094 "../:rtc_base_tests_main",
95 "../:rtc_base_tests_utils",
Sebastian Jansson9eb38862018-06-14 16:47:42 +020096 "../../system_wrappers:field_trial_api",
Sebastian Jansson2808ae92018-04-09 11:13:04 +020097 "../../test:field_trial",
98 ]
99 }
100}