blob: 8b2b0621d8f58ddf8c6076a1122107787ba25a79 [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",
18 "../../api:optional",
19 "../../system_wrappers:field_trial_api",
20 ]
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",
32 "../../api:optional",
33 "../../api/units:data_rate",
34 "../../api/units:data_size",
35 "../../api/units:time_delta",
36 "../../system_wrappers:field_trial_api",
37 ]
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",
47 "../../api:optional",
48 "../../system_wrappers:field_trial_api",
49 ]
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",
60 "../../api:optional",
61 "../../api/video_codecs:video_codecs_api",
62 "../../system_wrappers:field_trial_api",
63 ]
64}
65
Sebastian Jansson2808ae92018-04-09 11:13:04 +020066if (rtc_include_tests) {
67 rtc_source_set("experiments_unittests") {
68 testonly = true
69
70 sources = [
71 "congestion_controller_experiment_unittest.cc",
Sebastian Jansson9eb38862018-06-14 16:47:42 +020072 "field_trial_parser_unittest.cc",
73 "field_trial_units_unittest.cc",
Åsa Perssona945aee2018-04-24 16:53:25 +020074 "quality_scaling_experiment_unittest.cc",
Sebastian Jansson2808ae92018-04-09 11:13:04 +020075 ]
76 deps = [
77 ":congestion_controller_experiment",
Sebastian Jansson9eb38862018-06-14 16:47:42 +020078 ":field_trial_parser",
Åsa Perssona945aee2018-04-24 16:53:25 +020079 ":quality_scaling_experiment",
Sebastian Jansson2808ae92018-04-09 11:13:04 +020080 "../:rtc_base_tests_main",
81 "../:rtc_base_tests_utils",
Sebastian Jansson9eb38862018-06-14 16:47:42 +020082 "../../system_wrappers:field_trial_api",
Sebastian Jansson2808ae92018-04-09 11:13:04 +020083 "../../test:field_trial",
84 ]
85 }
86}