Sebastian Jansson | cabe383 | 2018-01-12 10:54:18 +0100 | [diff] [blame] | 1 | # 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 | |
| 9 | import("../../webrtc.gni") |
| 10 | |
| 11 | rtc_static_library("alr_experiment") { |
| 12 | sources = [ |
| 13 | "alr_experiment.cc", |
| 14 | "alr_experiment.h", |
| 15 | ] |
| 16 | deps = [ |
| 17 | "../:rtc_base_approved", |
Mirko Bonadei | 17f4878 | 2018-09-28 08:51:10 +0200 | [diff] [blame] | 18 | "../../system_wrappers:field_trial", |
Danil Chapovalov | 0a1d189 | 2018-06-21 11:48:25 +0200 | [diff] [blame] | 19 | "//third_party/abseil-cpp/absl/types:optional", |
Sebastian Jansson | cabe383 | 2018-01-12 10:54:18 +0100 | [diff] [blame] | 20 | ] |
| 21 | } |
Sebastian Jansson | 2808ae9 | 2018-04-09 11:13:04 +0200 | [diff] [blame] | 22 | |
Sebastian Jansson | 9eb3886 | 2018-06-14 16:47:42 +0200 | [diff] [blame] | 23 | rtc_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 Jansson | 9eb3886 | 2018-06-14 16:47:42 +0200 | [diff] [blame] | 32 | "../../api/units:data_rate", |
| 33 | "../../api/units:data_size", |
| 34 | "../../api/units:time_delta", |
Sebastian Jansson | fea4637 | 2018-09-03 10:15:13 +0200 | [diff] [blame] | 35 | "../../rtc_base:checks", |
Danil Chapovalov | 0a1d189 | 2018-06-21 11:48:25 +0200 | [diff] [blame] | 36 | "//third_party/abseil-cpp/absl/types:optional", |
Sebastian Jansson | 9eb3886 | 2018-06-14 16:47:42 +0200 | [diff] [blame] | 37 | ] |
| 38 | } |
| 39 | |
Sebastian Jansson | 2808ae9 | 2018-04-09 11:13:04 +0200 | [diff] [blame] | 40 | rtc_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 Bonadei | 17f4878 | 2018-09-28 08:51:10 +0200 | [diff] [blame] | 47 | "../../system_wrappers:field_trial", |
Danil Chapovalov | 0a1d189 | 2018-06-21 11:48:25 +0200 | [diff] [blame] | 48 | "//third_party/abseil-cpp/absl/types:optional", |
Sebastian Jansson | 2808ae9 | 2018-04-09 11:13:04 +0200 | [diff] [blame] | 49 | ] |
| 50 | } |
| 51 | |
Åsa Persson | a945aee | 2018-04-24 16:53:25 +0200 | [diff] [blame] | 52 | rtc_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 Persson | a945aee | 2018-04-24 16:53:25 +0200 | [diff] [blame] | 60 | "../../api/video_codecs:video_codecs_api", |
Mirko Bonadei | 17f4878 | 2018-09-28 08:51:10 +0200 | [diff] [blame] | 61 | "../../system_wrappers:field_trial", |
Danil Chapovalov | 0a1d189 | 2018-06-21 11:48:25 +0200 | [diff] [blame] | 62 | "//third_party/abseil-cpp/absl/types:optional", |
Åsa Persson | a945aee | 2018-04-24 16:53:25 +0200 | [diff] [blame] | 63 | ] |
| 64 | } |
| 65 | |
Åsa Persson | 1a35fbd | 2018-10-12 17:36:57 +0200 | [diff] [blame] | 66 | rtc_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 | |
“Michael | f9fc171 | 2018-08-27 10:08:58 -0500 | [diff] [blame] | 78 | rtc_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 Bonadei | 17f4878 | 2018-09-28 08:51:10 +0200 | [diff] [blame] | 85 | "../../system_wrappers:field_trial", |
“Michael | f9fc171 | 2018-08-27 10:08:58 -0500 | [diff] [blame] | 86 | ] |
| 87 | } |
| 88 | |
Sebastian Jansson | 2808ae9 | 2018-04-09 11:13:04 +0200 | [diff] [blame] | 89 | if (rtc_include_tests) { |
| 90 | rtc_source_set("experiments_unittests") { |
| 91 | testonly = true |
| 92 | |
| 93 | sources = [ |
| 94 | "congestion_controller_experiment_unittest.cc", |
Sebastian Jansson | 9eb3886 | 2018-06-14 16:47:42 +0200 | [diff] [blame] | 95 | "field_trial_parser_unittest.cc", |
| 96 | "field_trial_units_unittest.cc", |
Åsa Persson | 1a35fbd | 2018-10-12 17:36:57 +0200 | [diff] [blame] | 97 | "normalize_simulcast_size_experiment_unittest.cc", |
Åsa Persson | a945aee | 2018-04-24 16:53:25 +0200 | [diff] [blame] | 98 | "quality_scaling_experiment_unittest.cc", |
“Michael | f9fc171 | 2018-08-27 10:08:58 -0500 | [diff] [blame] | 99 | "rtt_mult_experiment_unittest.cc", |
Sebastian Jansson | 2808ae9 | 2018-04-09 11:13:04 +0200 | [diff] [blame] | 100 | ] |
| 101 | deps = [ |
| 102 | ":congestion_controller_experiment", |
Sebastian Jansson | 9eb3886 | 2018-06-14 16:47:42 +0200 | [diff] [blame] | 103 | ":field_trial_parser", |
Åsa Persson | 1a35fbd | 2018-10-12 17:36:57 +0200 | [diff] [blame] | 104 | ":normalize_simulcast_size_experiment", |
Åsa Persson | a945aee | 2018-04-24 16:53:25 +0200 | [diff] [blame] | 105 | ":quality_scaling_experiment", |
“Michael | f9fc171 | 2018-08-27 10:08:58 -0500 | [diff] [blame] | 106 | ":rtt_mult_experiment", |
Sebastian Jansson | 2808ae9 | 2018-04-09 11:13:04 +0200 | [diff] [blame] | 107 | "../:rtc_base_tests_main", |
| 108 | "../:rtc_base_tests_utils", |
Mirko Bonadei | 17f4878 | 2018-09-28 08:51:10 +0200 | [diff] [blame] | 109 | "../../system_wrappers:field_trial", |
Sebastian Jansson | 2808ae9 | 2018-04-09 11:13:04 +0200 | [diff] [blame] | 110 | "../../test:field_trial", |
| 111 | ] |
| 112 | } |
| 113 | } |