forked from envoyproxy/envoy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
envoy_mobile_defines.bzl
23 lines (22 loc) · 1.19 KB
/
envoy_mobile_defines.bzl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# DO NOT LOAD THIS FILE. Load envoy_build_system.bzl instead.
load(
":envoy_select.bzl",
"envoy_select_admin_functionality",
"envoy_select_disable_exceptions",
"envoy_select_enable_full_protos",
"envoy_select_enable_http3",
"envoy_select_enable_http_datagrams",
"envoy_select_enable_yaml",
"envoy_select_envoy_mobile_listener",
"envoy_select_google_grpc",
)
# Compute the defines needed for Envoy Mobile libraries that don't use Envoy's main library wrappers.
def envoy_mobile_defines(repository):
return envoy_select_admin_functionality(["ENVOY_ADMIN_FUNCTIONALITY"], repository) + \
envoy_select_enable_http3(["ENVOY_ENABLE_QUIC"], repository) + \
envoy_select_enable_full_protos(["ENVOY_ENABLE_FULL_PROTOS"], repository) + \
envoy_select_enable_yaml(["ENVOY_ENABLE_YAML"], repository) + \
envoy_select_disable_exceptions(["ENVOY_DISABLE_EXCEPTIONS"], repository) + \
envoy_select_enable_http_datagrams(["ENVOY_ENABLE_HTTP_DATAGRAMS"], repository) + \
envoy_select_envoy_mobile_listener(["ENVOY_MOBILE_ENABLE_LISTENER"], repository) + \
envoy_select_google_grpc(["ENVOY_GOOGLE_GRPC"], repository)