From dc7c50e6a442d3877d649b9277a56761a86f6b77 Mon Sep 17 00:00:00 2001 From: Vijay Pai Date: Fri, 3 Nov 2017 14:46:42 -0700 Subject: [PATCH] Switch PB dependence to PB headers dependence --- BUILD | 2 +- WORKSPACE | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/BUILD b/BUILD index f2848fdfc8b..bcb75af0321 100644 --- a/BUILD +++ b/BUILD @@ -1545,7 +1545,7 @@ grpc_cc_library( grpc_cc_library( name = "grpc++_config_proto", external_deps = [ - "protobuf", + "protobuf_headers", ], language = "c++", public_hdrs = [ diff --git a/WORKSPACE b/WORKSPACE index 907cef1fcae..5f87d68a2fb 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -23,6 +23,11 @@ bind( actual = "@com_google_protobuf//:protoc_lib", ) +bind( + name = "protobuf_headers", + actual = "@com_google_protobuf//:protobuf_headers", +) + bind( name = "protocol_compiler", actual = "@com_google_protobuf//:protoc",