blob: 1ba8827b6bba43a784983db03030ad5c6acd899b [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
23rtc_static_library("congestion_controller_experiment") {
24 sources = [
25 "congestion_controller_experiment.cc",
26 "congestion_controller_experiment.h",
27 ]
28 deps = [
29 "../:rtc_base_approved",
30 "../../api:optional",
31 "../../system_wrappers:field_trial_api",
32 ]
33}
34
Åsa Perssona945aee2018-04-24 16:53:25 +020035rtc_static_library("quality_scaling_experiment") {
36 sources = [
37 "quality_scaling_experiment.cc",
38 "quality_scaling_experiment.h",
39 ]
40 deps = [
41 "../:rtc_base_approved",
42 "../..:webrtc_common",
43 "../../api:optional",
44 "../../api/video_codecs:video_codecs_api",
45 "../../system_wrappers:field_trial_api",
46 ]
47}
48
Sebastian Jansson2808ae92018-04-09 11:13:04 +020049if (rtc_include_tests) {
50 rtc_source_set("experiments_unittests") {
51 testonly = true
52
53 sources = [
54 "congestion_controller_experiment_unittest.cc",
Åsa Perssona945aee2018-04-24 16:53:25 +020055 "quality_scaling_experiment_unittest.cc",
Sebastian Jansson2808ae92018-04-09 11:13:04 +020056 ]
57 deps = [
58 ":congestion_controller_experiment",
Åsa Perssona945aee2018-04-24 16:53:25 +020059 ":quality_scaling_experiment",
Sebastian Jansson2808ae92018-04-09 11:13:04 +020060 "../:rtc_base_tests_main",
61 "../:rtc_base_tests_utils",
62 "../../test:field_trial",
63 ]
64 }
65}