-
Notifications
You must be signed in to change notification settings - Fork 81
/
BUILD
77 lines (67 loc) · 1.77 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
load(
"@envoy//bazel:envoy_build_system.bzl",
"envoy_cc_binary",
"envoy_package",
)
licenses(["notice"]) # Apache 2
exports_files(["LICENSE"])
envoy_package()
filegroup(
name = "nighthawk",
srcs = [
":nighthawk_adaptive_load_client",
":nighthawk_client",
":nighthawk_output_transform",
":nighthawk_service",
":nighthawk_test_server",
],
)
envoy_cc_binary(
name = "nighthawk_adaptive_load_client",
repository = "@envoy",
deps = [
"//source/exe:adaptive_load_client_entry_lib",
],
)
envoy_cc_binary(
name = "nighthawk_client",
repository = "@envoy",
deps = [
"//source/exe:nighthawk_client_entry_lib",
],
)
# A testonly version of the nighthawk client, intended to be built with any required test plugins
# to enable integration test use cases.
envoy_cc_binary(
name = "nighthawk_client_testonly",
repository = "@envoy",
deps = [
"//source/exe:nighthawk_client_entry_lib",
"//source/user_defined_output:log_response_headers_plugin",
"//test/user_defined_output/fake_plugin:fake_user_defined_output",
],
)
envoy_cc_binary(
name = "nighthawk_test_server",
repository = "@envoy",
deps = [
"//source/server:http_dynamic_delay_filter_config",
"//source/server:http_test_server_filter_config",
"//source/server:http_time_tracking_filter_config",
"@envoy//source/exe:envoy_main_entry_lib",
],
)
envoy_cc_binary(
name = "nighthawk_service",
repository = "@envoy",
deps = [
"//source/exe:nighthawk_service_entry_lib",
],
)
envoy_cc_binary(
name = "nighthawk_output_transform",
repository = "@envoy",
deps = [
"//source/exe:output_transform_main_entry_lib",
],
)