You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

255 lines
6.9 KiB

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  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. import("../../webrtc.gni")
  9. rtc_library("alr_experiment") {
  10. sources = [
  11. "alr_experiment.cc",
  12. "alr_experiment.h",
  13. ]
  14. deps = [
  15. "../:rtc_base_approved",
  16. "../../api/transport:field_trial_based_config",
  17. "../../api/transport:webrtc_key_value_config",
  18. "//third_party/abseil-cpp/absl/types:optional",
  19. ]
  20. }
  21. rtc_library("field_trial_parser") {
  22. sources = [
  23. "field_trial_list.cc",
  24. "field_trial_list.h",
  25. "field_trial_parser.cc",
  26. "field_trial_parser.h",
  27. "field_trial_units.cc",
  28. "field_trial_units.h",
  29. "struct_parameters_parser.cc",
  30. "struct_parameters_parser.h",
  31. ]
  32. deps = [
  33. "../../api/units:data_rate",
  34. "../../api/units:data_size",
  35. "../../api/units:time_delta",
  36. "../../rtc_base:checks",
  37. "../../rtc_base:logging",
  38. "../../rtc_base:safe_conversions",
  39. "../../rtc_base:stringutils",
  40. "//third_party/abseil-cpp/absl/memory",
  41. "//third_party/abseil-cpp/absl/strings:strings",
  42. "//third_party/abseil-cpp/absl/types:optional",
  43. ]
  44. }
  45. rtc_library("quality_scaler_settings") {
  46. sources = [
  47. "quality_scaler_settings.cc",
  48. "quality_scaler_settings.h",
  49. ]
  50. deps = [
  51. ":field_trial_parser",
  52. "../:rtc_base_approved",
  53. "../../api/transport:field_trial_based_config",
  54. "../../api/transport:webrtc_key_value_config",
  55. "../../system_wrappers:field_trial",
  56. "//third_party/abseil-cpp/absl/types:optional",
  57. ]
  58. }
  59. rtc_library("quality_scaling_experiment") {
  60. sources = [
  61. "quality_scaling_experiment.cc",
  62. "quality_scaling_experiment.h",
  63. ]
  64. deps = [
  65. "../:rtc_base_approved",
  66. "../../api/video_codecs:video_codecs_api",
  67. "../../system_wrappers:field_trial",
  68. "//third_party/abseil-cpp/absl/types:optional",
  69. ]
  70. }
  71. rtc_library("normalize_simulcast_size_experiment") {
  72. sources = [
  73. "normalize_simulcast_size_experiment.cc",
  74. "normalize_simulcast_size_experiment.h",
  75. ]
  76. deps = [
  77. "../:rtc_base_approved",
  78. "../../system_wrappers:field_trial",
  79. "//third_party/abseil-cpp/absl/types:optional",
  80. ]
  81. }
  82. rtc_library("balanced_degradation_settings") {
  83. sources = [
  84. "balanced_degradation_settings.cc",
  85. "balanced_degradation_settings.h",
  86. ]
  87. deps = [
  88. ":field_trial_parser",
  89. "../:rtc_base_approved",
  90. "../../api/video_codecs:video_codecs_api",
  91. "../../system_wrappers:field_trial",
  92. "//third_party/abseil-cpp/absl/types:optional",
  93. ]
  94. }
  95. rtc_library("cpu_speed_experiment") {
  96. sources = [
  97. "cpu_speed_experiment.cc",
  98. "cpu_speed_experiment.h",
  99. ]
  100. deps = [
  101. "../:rtc_base_approved",
  102. "../../system_wrappers:field_trial",
  103. "//third_party/abseil-cpp/absl/types:optional",
  104. ]
  105. }
  106. rtc_library("rtt_mult_experiment") {
  107. sources = [
  108. "rtt_mult_experiment.cc",
  109. "rtt_mult_experiment.h",
  110. ]
  111. deps = [
  112. "../:rtc_base_approved",
  113. "../../system_wrappers:field_trial",
  114. "//third_party/abseil-cpp/absl/types:optional",
  115. ]
  116. }
  117. rtc_library("jitter_upper_bound_experiment") {
  118. sources = [
  119. "jitter_upper_bound_experiment.cc",
  120. "jitter_upper_bound_experiment.h",
  121. ]
  122. deps = [
  123. "../:rtc_base_approved",
  124. "../../system_wrappers:field_trial",
  125. "//third_party/abseil-cpp/absl/types:optional",
  126. ]
  127. }
  128. rtc_library("rate_control_settings") {
  129. sources = [
  130. "rate_control_settings.cc",
  131. "rate_control_settings.h",
  132. ]
  133. deps = [
  134. ":field_trial_parser",
  135. "../:rtc_base_approved",
  136. "../../api/transport:field_trial_based_config",
  137. "../../api/transport:webrtc_key_value_config",
  138. "../../api/video_codecs:video_codecs_api",
  139. "../../system_wrappers:field_trial",
  140. "//third_party/abseil-cpp/absl/types:optional",
  141. ]
  142. }
  143. rtc_library("keyframe_interval_settings_experiment") {
  144. sources = [
  145. "keyframe_interval_settings.cc",
  146. "keyframe_interval_settings.h",
  147. ]
  148. deps = [
  149. ":field_trial_parser",
  150. "../../api/transport:field_trial_based_config",
  151. "../../api/transport:webrtc_key_value_config",
  152. "//third_party/abseil-cpp/absl/types:optional",
  153. ]
  154. }
  155. rtc_library("experimental_screenshare_settings") {
  156. sources = [
  157. "experimental_screenshare_settings.cc",
  158. "experimental_screenshare_settings.h",
  159. ]
  160. deps = [
  161. ":field_trial_parser",
  162. "../../api/transport:field_trial_based_config",
  163. "../../api/transport:webrtc_key_value_config",
  164. "//third_party/abseil-cpp/absl/types:optional",
  165. ]
  166. }
  167. rtc_library("stable_target_rate_experiment") {
  168. sources = [
  169. "stable_target_rate_experiment.cc",
  170. "stable_target_rate_experiment.h",
  171. ]
  172. deps = [
  173. ":field_trial_parser",
  174. ":rate_control_settings",
  175. "../../api/transport:field_trial_based_config",
  176. "../../api/transport:webrtc_key_value_config",
  177. "//third_party/abseil-cpp/absl/types:optional",
  178. ]
  179. }
  180. rtc_library("min_video_bitrate_experiment") {
  181. sources = [
  182. "min_video_bitrate_experiment.cc",
  183. "min_video_bitrate_experiment.h",
  184. ]
  185. deps = [
  186. ":field_trial_parser",
  187. "../../api/units:data_rate",
  188. "../../api/video:video_frame",
  189. "../../rtc_base:checks",
  190. "../../rtc_base:logging",
  191. "../../system_wrappers:field_trial",
  192. "//third_party/abseil-cpp/absl/types:optional",
  193. ]
  194. }
  195. if (rtc_include_tests) {
  196. rtc_library("experiments_unittests") {
  197. testonly = true
  198. sources = [
  199. "balanced_degradation_settings_unittest.cc",
  200. "cpu_speed_experiment_unittest.cc",
  201. "field_trial_list_unittest.cc",
  202. "field_trial_parser_unittest.cc",
  203. "field_trial_units_unittest.cc",
  204. "keyframe_interval_settings_unittest.cc",
  205. "min_video_bitrate_experiment_unittest.cc",
  206. "normalize_simulcast_size_experiment_unittest.cc",
  207. "quality_scaler_settings_unittest.cc",
  208. "quality_scaling_experiment_unittest.cc",
  209. "rate_control_settings_unittest.cc",
  210. "rtt_mult_experiment_unittest.cc",
  211. "stable_target_rate_experiment_unittest.cc",
  212. "struct_parameters_parser_unittest.cc",
  213. ]
  214. deps = [
  215. ":balanced_degradation_settings",
  216. ":cpu_speed_experiment",
  217. ":field_trial_parser",
  218. ":keyframe_interval_settings_experiment",
  219. ":min_video_bitrate_experiment",
  220. ":normalize_simulcast_size_experiment",
  221. ":quality_scaler_settings",
  222. ":quality_scaling_experiment",
  223. ":rate_control_settings",
  224. ":rtt_mult_experiment",
  225. ":stable_target_rate_experiment",
  226. "..:gunit_helpers",
  227. "../:rtc_base_tests_utils",
  228. "../../api/units:data_rate",
  229. "../../api/video:video_frame",
  230. "../../api/video_codecs:video_codecs_api",
  231. "../../system_wrappers:field_trial",
  232. "../../test:field_trial",
  233. "../../test:test_main",
  234. "../../test:test_support",
  235. "//third_party/abseil-cpp/absl/types:optional",
  236. ]
  237. }
  238. }