-
Notifications
You must be signed in to change notification settings - Fork 55
/
BUILD
62 lines (53 loc) · 1.21 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
load(
"@envoy//bazel:envoy_build_system.bzl",
"envoy_cc_binary",
"envoy_package",
)
licenses(["notice"]) # Apache 2
envoy_package()
exports_files([
"linux/bpf.h",
"linux/bpf_common.h",
"linux/type_mapper.h",
])
cc_binary(
name = "cilium-envoy-starter",
deps = [
"//starter:main_entry_lib",
],
)
envoy_cc_binary(
name = "cilium-envoy",
repository = "@envoy",
deps = [
# Cilium filters.
"//cilium:health_check_sink_lib",
"//cilium:bpf_metadata_lib",
"//cilium:network_filter_lib",
"//cilium:l7policy_lib",
"//cilium:websocket_lib",
"//cilium:tls_wrapper_lib",
"@envoy//source/exe:envoy_main_entry_lib",
],
)
sh_test(
name = "envoy_binary_test",
srcs = ["envoy_binary_test.sh"],
data = [":cilium-envoy"],
)
sh_binary(
name = "check_format.py",
srcs = ["@envoy//tools/code_format:check_format.py"],
data = [
":envoy_build_fixer.py",
":header_order.py",
],
)
sh_binary(
name = "header_order.py",
srcs = ["@envoy//tools/code_format:header_order.py"],
)
sh_binary(
name = "envoy_build_fixer.py",
srcs = ["@envoy//tools/code_format:envoy_build_fixer.py"],
)