summaryrefslogtreecommitdiff
path: root/absl
diff options
context:
space:
mode:
authorGravatar Abseil Team <absl-team@google.com>2024-03-14 08:00:02 -0700
committerGravatar Copybara-Service <copybara-worker@google.com>2024-03-14 08:01:09 -0700
commit2f0591010da73a6157f515170b0ef349d9338003 (patch)
treedda6db00e8d80a6ad64a276664a3d0d10a3743a9 /absl
parent1c233c55171af9101962ba9a5c2bda7ace18fcfe (diff)
Replace //visibility:private with :__pkg__ for certain targets
This will allow us to give visibility to other Google-internal libraries. The change is necessary since //visibility:private cannot be combined with other specifications. PiperOrigin-RevId: 615779561 Change-Id: I82b1edfa4e1ca280e429cf2a5e4003a1cc316a60
Diffstat (limited to 'absl')
-rw-r--r--absl/crc/BUILD.bazel8
1 files changed, 6 insertions, 2 deletions
diff --git a/absl/crc/BUILD.bazel b/absl/crc/BUILD.bazel
index 9dc81819..890d637c 100644
--- a/absl/crc/BUILD.bazel
+++ b/absl/crc/BUILD.bazel
@@ -121,7 +121,9 @@ cc_library(
hdrs = ["internal/non_temporal_arm_intrinsics.h"],
copts = ABSL_DEFAULT_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS,
- visibility = ["//visibility:private"],
+ visibility = [
+ ":__pkg__",
+ ],
deps = [
"//absl/base:config",
],
@@ -132,7 +134,9 @@ cc_library(
hdrs = ["internal/non_temporal_memcpy.h"],
copts = ABSL_DEFAULT_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS,
- visibility = ["//visibility:private"],
+ visibility = [
+ ":__pkg__",
+ ],
deps = [
":non_temporal_arm_intrinsics",
"//absl/base:config",