From 687b66527ee5d298c04766d1756d820c669c56e8 Mon Sep 17 00:00:00 2001 From: Mike Kruskal Date: Wed, 2 Nov 2022 13:38:57 -0700 Subject: [PATCH] Add visibility exemption for kythe C++ protoc plugin This is similar to the exemption added to the python generator for gRPC. We don't want to expose these internal implementations in general, but we also don't want to block the adopting of our main branch for existing uses within Google. PiperOrigin-RevId: 485682767 --- src/google/protobuf/compiler/cpp/BUILD.bazel | 1 + 1 file changed, 1 insertion(+) diff --git a/src/google/protobuf/compiler/cpp/BUILD.bazel b/src/google/protobuf/compiler/cpp/BUILD.bazel index 7f0ef6a27d..2f2b709cd8 100644 --- a/src/google/protobuf/compiler/cpp/BUILD.bazel +++ b/src/google/protobuf/compiler/cpp/BUILD.bazel @@ -79,6 +79,7 @@ cc_library( visibility = [ "//pkg:__pkg__", "//src/google/protobuf/compiler:__pkg__", + "@io_kythe//kythe/cxx/tools:__subpackages__", ], deps = [ ":names_internal",