forked from envoyproxy/envoy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUILD
47 lines (42 loc) · 1.17 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
load(
"//bazel:envoy_build_system.bzl",
"envoy_cc_binary",
"envoy_cc_test",
"envoy_contrib_package",
)
load(
"//contrib:all_contrib_extensions.bzl",
"ARM64_SKIP_CONTRIB_TARGETS",
"PPC_SKIP_CONTRIB_TARGETS",
"envoy_all_contrib_extensions",
)
licenses(["notice"]) # Apache 2
envoy_contrib_package()
alias(
name = "envoy",
actual = ":envoy-static",
)
envoy_cc_binary(
name = "envoy-static",
stamped = True,
deps = ["//source/exe:envoy_main_entry_lib"] + envoy_all_contrib_extensions(),
)
envoy_cc_test(
name = "example_configs_test",
size = "large",
data = [
"//examples:contrib_configs",
"//test/config_test:example_configs_test_setup.sh",
],
env = {
"EXAMPLE_CONFIGS_TAR_PATH": "envoy/examples/example_configs.tar",
"DISABLE_TEST_MERGE": "true",
},
deps = [
"//test/config_test:example_configs_test_lib",
] + select({
"//bazel:linux_aarch64": envoy_all_contrib_extensions(ARM64_SKIP_CONTRIB_TARGETS),
"//bazel:linux_ppc": envoy_all_contrib_extensions(PPC_SKIP_CONTRIB_TARGETS),
"//conditions:default": envoy_all_contrib_extensions(),
}),
)