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.

92 lines
2.6 KiB

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. # Copyright (c) 2014 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. config("bwe_test_logging") {
  10. if (rtc_enable_bwe_test_logging) {
  11. defines = [ "BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=1" ]
  12. } else {
  13. defines = [ "BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0" ]
  14. }
  15. }
  16. rtc_library("control_handler") {
  17. visibility = [ "*" ]
  18. sources = [
  19. "control_handler.cc",
  20. "control_handler.h",
  21. ]
  22. deps = [
  23. "../../../api/transport:network_control",
  24. "../../../api/units:data_rate",
  25. "../../../api/units:data_size",
  26. "../../../api/units:time_delta",
  27. "../../../rtc_base:checks",
  28. "../../../rtc_base:safe_minmax",
  29. "../../../rtc_base/synchronization:sequence_checker",
  30. "../../../system_wrappers:field_trial",
  31. "../../pacing",
  32. "//third_party/abseil-cpp/absl/types:optional",
  33. ]
  34. if (!build_with_mozilla) {
  35. deps += [ "../../../rtc_base" ]
  36. }
  37. }
  38. rtc_library("transport_feedback") {
  39. visibility = [ "*" ]
  40. sources = [
  41. "transport_feedback_adapter.cc",
  42. "transport_feedback_adapter.h",
  43. ]
  44. deps = [
  45. "../..:module_api_public",
  46. "../../../api/transport:network_control",
  47. "../../../api/units:data_size",
  48. "../../../api/units:timestamp",
  49. "../../../rtc_base:checks",
  50. "../../../rtc_base:rtc_base_approved",
  51. "../../../rtc_base/network:sent_packet",
  52. "../../../system_wrappers",
  53. "../../../system_wrappers:field_trial",
  54. "../../rtp_rtcp:rtp_rtcp_format",
  55. "//third_party/abseil-cpp/absl/types:optional",
  56. ]
  57. }
  58. if (rtc_include_tests) {
  59. rtc_library("congestion_controller_unittests") {
  60. testonly = true
  61. sources = [
  62. "congestion_controller_unittests_helper.cc",
  63. "congestion_controller_unittests_helper.h",
  64. "transport_feedback_adapter_unittest.cc",
  65. ]
  66. deps = [
  67. ":transport_feedback",
  68. "../:congestion_controller",
  69. "../../../api/transport:network_control",
  70. "../../../logging:mocks",
  71. "../../../rtc_base",
  72. "../../../rtc_base:checks",
  73. "../../../rtc_base:rtc_base_approved",
  74. "../../../rtc_base/network:sent_packet",
  75. "../../../system_wrappers",
  76. "../../../test:field_trial",
  77. "../../../test:test_support",
  78. "../../pacing",
  79. "../../remote_bitrate_estimator",
  80. "../../rtp_rtcp:rtp_rtcp_format",
  81. "//testing/gmock",
  82. ]
  83. }
  84. }