diff --git a/src/google/protobuf/BUILD.bazel b/src/google/protobuf/BUILD.bazel index 0578e6681c..ef898dda03 100644 --- a/src/google/protobuf/BUILD.bazel +++ b/src/google/protobuf/BUILD.bazel @@ -546,6 +546,7 @@ proto_library( visibility = [ "//:__pkg__", "//conformance:__pkg__", + "@upb//:__subpackages__", ], ) @@ -556,6 +557,7 @@ proto_library( visibility = [ "//:__pkg__", "//conformance:__pkg__", + "@upb//:__subpackages__", ], deps = [ ":any_proto",