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", |
| 18 | "../../api:optional", |
| 19 | "../../system_wrappers:field_trial_api", |
| 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", |
| 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 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", |
| 47 | "../../api:optional", |
| 48 | "../../system_wrappers:field_trial_api", |
| 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", |
| 60 | "../../api:optional", |
| 61 | "../../api/video_codecs:video_codecs_api", |
| 62 | "../../system_wrappers:field_trial_api", |
| 63 | ] |
| 64 | } |
| 65 | |
Sebastian Jansson | 2808ae9 | 2018-04-09 11:13:04 +0200 | [diff] [blame] | 66 | if (rtc_include_tests) { |
| 67 | rtc_source_set("experiments_unittests") { |
| 68 | testonly = true |
| 69 | |
| 70 | sources = [ |
| 71 | "congestion_controller_experiment_unittest.cc", |
Sebastian Jansson | 9eb3886 | 2018-06-14 16:47:42 +0200 | [diff] [blame] | 72 | "field_trial_parser_unittest.cc", |
| 73 | "field_trial_units_unittest.cc", |
Åsa Persson | a945aee | 2018-04-24 16:53:25 +0200 | [diff] [blame] | 74 | "quality_scaling_experiment_unittest.cc", |
Sebastian Jansson | 2808ae9 | 2018-04-09 11:13:04 +0200 | [diff] [blame] | 75 | ] |
| 76 | deps = [ |
| 77 | ":congestion_controller_experiment", |
Sebastian Jansson | 9eb3886 | 2018-06-14 16:47:42 +0200 | [diff] [blame] | 78 | ":field_trial_parser", |
Åsa Persson | a945aee | 2018-04-24 16:53:25 +0200 | [diff] [blame] | 79 | ":quality_scaling_experiment", |
Sebastian Jansson | 2808ae9 | 2018-04-09 11:13:04 +0200 | [diff] [blame] | 80 | "../:rtc_base_tests_main", |
| 81 | "../:rtc_base_tests_utils", |
Sebastian Jansson | 9eb3886 | 2018-06-14 16:47:42 +0200 | [diff] [blame] | 82 | "../../system_wrappers:field_trial_api", |
Sebastian Jansson | 2808ae9 | 2018-04-09 11:13:04 +0200 | [diff] [blame] | 83 | "../../test:field_trial", |
| 84 | ] |
| 85 | } |
| 86 | } |