From c37654cb3befae1706d749e8752e79e82bdf0652 Mon Sep 17 00:00:00 2001 From: Yun Peng Date: Thu, 16 Jul 2020 13:10:11 +0000 Subject: [PATCH] Replace grpc-java-plugin with Debian system bin --- third_party/grpc/BUILD | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/third_party/grpc/BUILD b/third_party/grpc/BUILD index 4ebb842f4eaeec..71fc09eec21b44 100644 --- a/third_party/grpc/BUILD +++ b/third_party/grpc/BUILD @@ -14,7 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -load("//tools/distributions:distribution_rules.bzl", "distrib_java_import", "distrib_jar_filegroup") +load("//tools/distributions:distribution_rules.bzl", "distrib_java_import", "distrib_jar_filegroup", "distrib_cc_binary") licenses(["notice"]) # Apache v2 @@ -58,8 +58,9 @@ distrib_java_import( enable_distributions = ["debian"], ) -cc_binary( +distrib_cc_binary( name = "grpc-java-plugin", + enable_distributions = ["debian"], srcs = [ "compiler/src/java_plugin/cpp/java_generator.cpp", "compiler/src/java_plugin/cpp/java_generator.h",