forked from envoyproxy/nighthawk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUILD
116 lines (110 loc) · 3.88 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
105
106
107
108
109
110
111
112
113
114
115
116
load(
"@envoy//bazel:envoy_build_system.bzl",
"envoy_cc_library",
"envoy_package",
)
licenses(["notice"]) # Apache 2
envoy_package()
envoy_cc_library(
name = "request_impl_lib",
hdrs = [
"request_impl.h",
],
repository = "@envoy",
visibility = ["//visibility:public"],
deps = [
":nighthawk_common_lib",
"//include/nighthawk/common:request_lib",
],
)
envoy_cc_library(
name = "request_stream_grpc_client_lib",
srcs = ["request_stream_grpc_client_impl.cc"],
hdrs = ["request_stream_grpc_client_impl.h"],
repository = "@envoy",
deps = [
":request_impl_lib",
"//api/client:base_cc_proto",
"//api/request_source:grpc_request_source_service_lib",
"//include/nighthawk/common:base_includes",
"//include/nighthawk/common:request_lib",
"@envoy//include/envoy/grpc:async_client_interface_with_external_headers",
"@envoy//include/envoy/grpc:async_client_manager_interface_with_external_headers",
"@envoy//include/envoy/upstream:cluster_manager_interface_with_external_headers",
"@envoy//source/common/common:assert_lib_with_external_headers",
"@envoy//source/common/common:minimal_logger_lib_with_external_headers",
"@envoy//source/common/grpc:typed_async_client_lib_with_external_headers",
"@envoy//source/common/http:header_map_lib_with_external_headers",
"@envoy//source/common/http:headers_lib_with_external_headers",
],
)
envoy_cc_library(
name = "request_source_impl_lib",
srcs = [
"request_source_impl.cc",
],
hdrs = [
"request_source_impl.h",
],
repository = "@envoy",
visibility = ["//visibility:public"],
deps = [
":nighthawk_common_lib",
":request_impl_lib",
":request_stream_grpc_client_lib",
"//include/nighthawk/common:request_source_lib",
],
)
envoy_cc_library(
name = "nighthawk_common_lib",
srcs = [
"phase_impl.cc",
"rate_limiter_impl.cc",
"sequencer_impl.cc",
"signal_handler.cc",
"statistic_impl.cc",
"termination_predicate_impl.cc",
"uri_impl.cc",
"utility.cc",
"version_info.cc",
"worker_impl.cc",
],
hdrs = [
"cached_time_source_impl.h",
"frequency.h",
"phase_impl.h",
"platform_util_impl.h",
"rate_limiter_impl.h",
"sequencer_impl.h",
"signal_handler.h",
"statistic_impl.h",
"termination_predicate_impl.h",
"uri_impl.h",
"utility.h",
"version_info.h",
"worker_impl.h",
],
repository = "@envoy",
visibility = ["//visibility:public"],
deps = [
"//api/client:base_cc_proto",
"//api/client:grpc_service_lib",
"//include/nighthawk/client:client_includes",
"//include/nighthawk/common:base_includes",
"@com_google_absl//absl/random",
"@com_google_absl//absl/strings",
"@dep_hdrhistogram_c//:hdrhistogram_c",
"@envoy//source/common/common:assert_lib_with_external_headers",
"@envoy//source/common/common:lock_guard_lib_with_external_headers",
"@envoy//source/common/common:macros_with_external_headers",
"@envoy//source/common/common:minimal_logger_lib_with_external_headers",
"@envoy//source/common/common:thread_lib_with_external_headers",
"@envoy//source/common/common:version_includes_with_external_headers",
"@envoy//source/common/http:utility_lib_with_external_headers",
"@envoy//source/common/network:utility_lib_with_external_headers",
"@envoy//source/common/protobuf:utility_lib_with_external_headers",
"@envoy//source/common/stats:stats_lib_with_external_headers",
"@envoy//source/exe:envoy_common_lib_with_external_headers",
"@envoy//source/server/config_validation:server_lib_with_external_headers",
],
)