BUILD.gn (2969B)
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 9 import("../../../webrtc.gni") 10 11 rtc_library("control_handler") { 12 visibility = [ "*" ] 13 sources = [ 14 "control_handler.cc", 15 "control_handler.h", 16 ] 17 18 deps = [ 19 "../../../api:sequence_checker", 20 "../../../api/transport:network_control", 21 "../../../api/units:data_rate", 22 "../../../api/units:data_size", 23 "../../../api/units:time_delta", 24 "../../../rtc_base:checks", 25 "../../../rtc_base:logging", 26 "../../../rtc_base:safe_conversions", 27 "../../../rtc_base:safe_minmax", 28 "../../../rtc_base/system:no_unique_address", 29 "../../pacing", 30 ] 31 } 32 rtc_library("transport_feedback") { 33 visibility = [ "*" ] 34 sources = [ 35 "transport_feedback_adapter.cc", 36 "transport_feedback_adapter.h", 37 "transport_feedback_demuxer.cc", 38 "transport_feedback_demuxer.h", 39 ] 40 41 deps = [ 42 "../..:module_api_public", 43 "../../../api:sequence_checker", 44 "../../../api/transport:ecn_marking", 45 "../../../api/transport:network_control", 46 "../../../api/units:data_size", 47 "../../../api/units:time_delta", 48 "../../../api/units:timestamp", 49 "../../../rtc_base:checks", 50 "../../../rtc_base:logging", 51 "../../../rtc_base:macromagic", 52 "../../../rtc_base:network_route", 53 "../../../rtc_base:rtc_numerics", 54 "../../../rtc_base/network:sent_packet", 55 "../../../rtc_base/synchronization:mutex", 56 "../../../rtc_base/system:no_unique_address", 57 "../../../system_wrappers", 58 "../../rtp_rtcp:ntp_time_util", 59 "../../rtp_rtcp:rtp_rtcp_format", 60 "//third_party/abseil-cpp/absl/algorithm:container", 61 ] 62 } 63 64 if (rtc_include_tests) { 65 rtc_library("congestion_controller_unittests") { 66 testonly = true 67 68 sources = [ 69 "transport_feedback_adapter_unittest.cc", 70 "transport_feedback_demuxer_unittest.cc", 71 ] 72 deps = [ 73 ":transport_feedback", 74 "../:congestion_controller", 75 "../../../api:array_view", 76 "../../../api/transport:ecn_marking", 77 "../../../api/transport:network_control", 78 "../../../api/units:data_size", 79 "../../../api/units:time_delta", 80 "../../../api/units:timestamp", 81 "../../../logging:mocks", 82 "../../../rtc_base:buffer", 83 "../../../rtc_base:checks", 84 "../../../rtc_base:logging", 85 "../../../rtc_base:safe_conversions", 86 "../../../rtc_base/network:sent_packet", 87 "../../../system_wrappers", 88 "../../../test:test_support", 89 "../../pacing", 90 "../../remote_bitrate_estimator", 91 "../../rtp_rtcp:ntp_time_util", 92 "../../rtp_rtcp:rtp_rtcp_format", 93 "//testing/gmock", 94 ] 95 } 96 }