forked from envoyproxy/envoy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
all_contrib_extensions.bzl
38 lines (33 loc) · 1.15 KB
/
all_contrib_extensions.bzl
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
load(":contrib_build_config.bzl", "CONTRIB_EXTENSIONS")
# linter requires indirection for @bazel_tools definitions
def envoy_contrib_linux_x86_64_constraints():
return [
"@platforms//os:linux",
"@platforms//cpu:x86_64",
]
def envoy_contrib_linux_aarch64_constraints():
return [
"@platforms//os:linux",
"@platforms//cpu:aarch64",
]
ARM64_SKIP_CONTRIB_TARGETS = [
"envoy.tls.key_providers.cryptomb",
"envoy.tls.key_providers.qat",
"envoy.network.connection_balance.dlb",
"envoy.compression.qatzip.compressor",
"envoy.compression.qatzstd.compressor",
]
PPC_SKIP_CONTRIB_TARGETS = [
"envoy.tls.key_providers.cryptomb",
"envoy.tls.key_providers.qat",
"envoy.matching.input_matchers.hyperscan",
"envoy.network.connection_balance.dlb",
"envoy.regex_engines.hyperscan",
"envoy.compression.qatzip.compressor",
"envoy.compression.qatzstd.compressor",
]
FIPS_LINUX_X86_SKIP_CONTRIB_TARGETS = [
"envoy.compression.qatzip.compressor",
]
def envoy_all_contrib_extensions(denylist = []):
return [v + "_envoy_extension" for k, v in CONTRIB_EXTENSIONS.items() if not k in denylist]