Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(102)

Side by Side Diff: net/quic/core/congestion_control/simulation/BUILD

Issue 2323963002: Implement an event-based simulator for QuicConnection (Closed)
Patch Set: Adding missing files. Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 # Description:
2 # Code for simulating a network. Used in QUIC tests. Shared with Chrome.
3
4 package(default_visibility = [":internal"])
5
6 package_group(
7 name = "internal",
8 packages = [
9 "//gfe/gfe2/...",
10 "//gfe/quic/...",
11 ],
12 )
13
14 cc_library(
15 name = "simulator_lib",
16 srcs = [
17 "actor.cc",
18 "alarm_factory.cc",
19 "link.cc",
20 "port.cc",
21 "queue.cc",
22 "simulator.cc",
23 "switch.cc",
24 ],
25 hdrs = [
26 "actor.h",
27 "alarm_factory.h",
28 "link.h",
29 "port.h",
30 "queue.h",
31 "simulator.h",
32 "switch.h",
33 ],
34 deps = [
35 "//base",
36 "//gfe/quic/core:quic_alarm_factory_lib",
37 "//gfe/quic/core:quic_alarm_lib",
38 "//gfe/quic/core:quic_bug_tracker",
39 "//gfe/quic/core:quic_clock_lib",
40 "//gfe/quic/core:quic_connection_lib",
41 "//gfe/quic/core:quic_protocol_lib",
42 "//gfe/quic/core:quic_simple_buffer_allocator_lib",
43 "//gfe/quic/core:quic_time_lib",
44 "//gfe/quic/core/crypto:quic_random_lib",
45 "//util/gtl:ptr_util",
46 ],
47 )
48
49 cc_test(
50 name = "simulator_test",
51 srcs = ["simulator_test.cc"],
52 deps = [
53 ":simulator_lib",
54 "//testing/base/public:gunit_main",
55 "//util/gtl:ptr_util",
56 ],
57 )
58
59 cc_library(
60 name = "quic_endpoint_lib",
61 srcs = [
62 "quic_endpoint.cc",
63 ],
64 hdrs = [
65 "quic_endpoint.h",
66 ],
67 deps = [
68 ":simulator_lib",
69 "//gfe/quic/core:quic_connection_lib",
70 "//gfe/quic/core:quic_packet_writer_lib",
71 "//gfe/quic/core:quic_protocol_lib",
72 "//gfe/quic/core/crypto:crypto_handshake_lib",
73 "//gfe/quic/core/crypto:quic_encryption_hdrs",
74 "//util/gtl:ptr_util",
75 "//util/sig",
76 ],
77 )
78
79 cc_test(
80 name = "quic_endpoint_test",
81 srcs = ["quic_endpoint_test.cc"],
82 deps = [
83 ":quic_endpoint_lib",
84 ":simulator_lib",
85 "//testing/base/public:gunit_main",
86 "//util/gtl:ptr_util",
87 ],
88 )
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698