Skip to content

Commit

Permalink
Replace //visibility:private with :__pkg__ for certain targets
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Abseil Team authored and copybara-github committed Mar 14, 2024
1 parent 1c233c5 commit 2f05910
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions absl/crc/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -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",
],
Expand All @@ -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",
Expand Down

0 comments on commit 2f05910

Please sign in to comment.