Fix visibility

PiperOrigin-RevId: 461617454
Change-Id: Id77bfbec2cc095005a434251c056b19c3c6a64c4
This commit is contained in:
Sandboxed API Team 2022-07-18 07:43:53 -07:00 committed by Copybara-Service
parent 1e4cf06f69
commit 4d906e7143

View File

@ -14,10 +14,19 @@
load("//sandboxed_api/bazel:build_defs.bzl", "sapi_platform_copts") load("//sandboxed_api/bazel:build_defs.bzl", "sapi_platform_copts")
package(default_visibility = [ _DEFAULT_VISIBILITY = [
"//sandboxed_api:__subpackages__",
"//security/bedebox:__subpackages__", "//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"]) licenses(["notice"])
@ -35,6 +44,7 @@ cc_library(
srcs = ["minielf.cc"], srcs = ["minielf.cc"],
hdrs = ["minielf.h"], hdrs = ["minielf.h"],
copts = sapi_platform_copts(), copts = sapi_platform_copts(),
visibility = _DEFAULT_VISIBILITY + [":minielf_users"],
deps = [ deps = [
"//sandboxed_api:config", "//sandboxed_api:config",
"//sandboxed_api/sandbox2:util", "//sandboxed_api/sandbox2:util",