diff --git a/tcmalloc/BUILD b/tcmalloc/BUILD index 7ab03b66a..3f910da14 100644 --- a/tcmalloc/BUILD +++ b/tcmalloc/BUILD @@ -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(