fix mobile builds to properly exclude xDS (#27855)

reviewable/pr27570/r13
Mark D. Roth 3 years ago committed by GitHub
parent 9e1970acd6
commit 64d026e234
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      BUILD

@ -440,6 +440,7 @@ grpc_cc_library(
public_hdrs = GRPCXX_PUBLIC_HDRS,
select_deps = {
"grpc_no_xds": [],
"grpc_mobile": [],
"//conditions:default": [
"grpc++_xds_client",
"grpc++_xds_server",
@ -4036,6 +4037,7 @@ grpc_cc_library(
hdrs = [],
defines = select({
"grpc_no_xds": ["GRPC_NO_XDS"],
"grpc_mobile": ["GRPC_NO_XDS"],
"//conditions:default": [],
}),
external_deps = [
@ -4047,6 +4049,7 @@ grpc_cc_library(
],
select_deps = {
"grpc_no_xds": [],
"grpc_mobile": [],
"//conditions:default": ["//:grpcpp_csds"],
},
deps = [

Loading…
Cancel
Save