-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathBUILD
104 lines (97 loc) · 3.28 KB
/
BUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
package(default_visibility = ["//visibility:public"])
licenses(["notice"]) # BSD
exports_files(["LICENSE"])
cc_library(
name = "pcc_monitor_interval_queue_lib",
srcs = [
"pcc_monitor_interval_queue.cc",
],
hdrs = [
"pcc_monitor_interval_queue.h",
],
deps = [
"//base",
"//third_party/quic/core:quic_bandwidth_lib",
"//third_party/quic/core:quic_connection_stats_lib",
"//third_party/quic/core:quic_time_lib",
"//third_party/quic/core:quic_types_lib",
"//third_party/quic/core/congestion_control:quic_congestion_control_hdrs",
"//third_party/quic/core/congestion_control:rtt_stats_lib",
"//third_party/quic/platform/api:quic_logging_lib",
"//third_party/quic/platform/api:quic_str_cat_lib",
],
)
cc_library(
name = "pcc_utility_manager_lib",
srcs = [
"pcc_utility_manager.cc",
],
hdrs = [
"pcc_utility_manager.h",
],
deps = [
":pcc_monitor_interval_queue_lib",
"//base",
"//third_party/quic/core:quic_bandwidth_lib",
"//third_party/quic/core:quic_time_lib",
"//third_party/quic/core:quic_types_lib",
"//third_party/quic/core/congestion_control:rtt_stats_lib",
],
)
cc_library(
name = "pcc_sender_lib",
srcs = [
"pcc_sender.cc",
],
hdrs = [
"pcc_sender.h",
],
deps = [
":pcc_monitor_interval_queue_lib",
":pcc_utility_manager_lib",
"//base",
"//third_party/quic/core:quic_bandwidth_lib",
"//third_party/quic/core:quic_connection_stats_lib",
"//third_party/quic/core:quic_time_lib",
"//third_party/quic/core:quic_types_lib",
"//third_party/quic/core:quic_unacked_packet_map_lib",
"//third_party/quic/core/congestion_control:bandwidth_sampler_lib",
"//third_party/quic/core/congestion_control:quic_congestion_control_hdrs",
"//third_party/quic/core/congestion_control:rtt_stats_lib",
"//third_party/quic/core/congestion_control:windowed_filter_lib",
"//third_party/quic/platform/api:quic_logging_lib",
"//third_party/quic/platform/api:quic_str_cat_lib",
],
)
cc_test(
name = "pcc_monitor_interval_queue_test",
srcs = [
"pcc_monitor_interval_queue_test.cc",
],
deps = [
":pcc_monitor_interval_queue_lib",
"//testing/base/public:gunit_main",
"//third_party/quic/core:quic_time_lib",
"//third_party/quic/core:quic_types_lib",
"//third_party/quic/platform/api:quic_logging_lib",
"//third_party/quic/platform/api:quic_test_lib",
],
)
cc_test(
name = "pcc_sender_test",
srcs = [
"pcc_sender_test.cc",
],
deps = [
":pcc_sender_lib",
"//testing/base/public:gunit_main",
"//third_party/quic/core/congestion_control:rtt_stats_lib",
"//third_party/quic/platform/api:quic_logging_lib",
"//third_party/quic/platform/api:quic_test_lib",
"//third_party/quic/test_tools:mock_clock",
"//third_party/quic/test_tools:quic_sent_packet_manager_peer",
"//third_party/quic/test_tools:quic_test_utils",
"//third_party/quic/test_tools/simulator:quic_endpoint_lib",
"//third_party/quic/test_tools/simulator:simulator_lib",
],
)