From 4d906e714371fea33a2b1192ed60f1b8d79d2566 Mon Sep 17 00:00:00 2001 From: Sandboxed API Team Date: Mon, 18 Jul 2022 07:43:53 -0700 Subject: [PATCH] Fix visibility PiperOrigin-RevId: 461617454 Change-Id: Id77bfbec2cc095005a434251c056b19c3c6a64c4 --- sandboxed_api/sandbox2/util/BUILD.bazel | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/sandboxed_api/sandbox2/util/BUILD.bazel b/sandboxed_api/sandbox2/util/BUILD.bazel index d2a411f..313e6f0 100644 --- a/sandboxed_api/sandbox2/util/BUILD.bazel +++ b/sandboxed_api/sandbox2/util/BUILD.bazel @@ -14,10 +14,19 @@ load("//sandboxed_api/bazel:build_defs.bzl", "sapi_platform_copts") -package(default_visibility = [ - "//sandboxed_api:__subpackages__", +_DEFAULT_VISIBILITY = [ "//security/bedebox:__subpackages__", -]) + "//sandboxed_api:__subpackages__", +] + +package(default_visibility = _DEFAULT_VISIBILITY) + +package_group( + name = "minielf_users", + packages = [ + "//buzz/diffractor/sandbox/...", # mbonadei@ and ossu@ (alternatively rtc-diffractor-eng@) + ], +) licenses(["notice"]) @@ -35,6 +44,7 @@ cc_library( srcs = ["minielf.cc"], hdrs = ["minielf.h"], copts = sapi_platform_copts(), + visibility = _DEFAULT_VISIBILITY + [":minielf_users"], deps = [ "//sandboxed_api:config", "//sandboxed_api/sandbox2:util",