[build] create xds_end2end_test_lib visibility tag (#36187)

As title

Closes #36187

COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/36187 from apolcyn:vis_tag 6ce3930e3f
PiperOrigin-RevId: 619955425
pull/35796/head
apolcyn 10 months ago committed by Craig Tiller
parent 658588a4ed
commit d1287ad07a
  1. 1
      bazel/grpc_build_system.bzl
  2. 2
      test/cpp/end2end/xds/BUILD

@ -120,6 +120,7 @@ def _update_visibility(visibility):
"tsi": PRIVATE, "tsi": PRIVATE,
"xds": PRIVATE, "xds": PRIVATE,
"xds_client_core": PRIVATE, "xds_client_core": PRIVATE,
"xds_end2end_test_utils": PRIVATE,
"grpc_python_observability": PRIVATE, "grpc_python_observability": PRIVATE,
"event_engine_base_hdrs": PRIVATE, "event_engine_base_hdrs": PRIVATE,
"useful": PRIVATE, "useful": PRIVATE,

@ -25,6 +25,7 @@ grpc_cc_library(
name = "xds_server", name = "xds_server",
srcs = ["xds_server.cc"], srcs = ["xds_server.cc"],
hdrs = ["xds_server.h"], hdrs = ["xds_server.h"],
visibility = ["@grpc:xds_end2end_test_utils"],
deps = [ deps = [
"//:gpr", "//:gpr",
"//:grpc", "//:grpc",
@ -45,6 +46,7 @@ grpc_cc_library(
name = "xds_utils", name = "xds_utils",
srcs = ["xds_utils.cc"], srcs = ["xds_utils.cc"],
hdrs = ["xds_utils.h"], hdrs = ["xds_utils.h"],
visibility = ["@grpc:xds_end2end_test_utils"],
deps = [ deps = [
":xds_server", ":xds_server",
"//src/proto/grpc/testing/xds/v3:cluster_proto", "//src/proto/grpc/testing/xds/v3:cluster_proto",

Loading…
Cancel
Save