Skip to content

Commit

Permalink
Due to bazelbuild/bazel@cac82cf, future Bazel version will enforce
Browse files Browse the repository at this point in the history
visibility check on keys of select(). This PR fixes visibilty of
//tcmalloc:llvm so that projects depending on tcmalloc can still be able
to build with Bazel@HEAD.

Related: bazelbuild/bazel#12925
PiperOrigin-RevId: 354571704
Change-Id: I3414fefc543996ce4090fb5be4385d6e69d0c4b7
  • Loading branch information
TCMalloc Team authored and copybara-github committed Jan 29, 2021
1 parent 8e0435d commit 4c76466
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tcmalloc/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ config_setting(
flag_values = {
"@bazel_tools//tools/cpp:compiler": "clang",
},
visibility = ["//visibility:private"],
visibility = [
"//tcmalloc/internal:__subpackages__",
"//tcmalloc/testing:__subpackages__",
],
)

cc_library(
Expand Down

0 comments on commit 4c76466

Please sign in to comment.