From ff20c2b46cbe967f73ba02caa87bcdb57417229c Mon Sep 17 00:00:00 2001 From: Rob Earhart <earhart@google.com> Date: Tue, 29 Mar 2016 11:39:04 -0700 Subject: [PATCH] Add protobuf_clib to deps of grpc++_codegen_lib This is required in order to compile grpc++_codegen_lib. --- BUILD | 1 + templates/BUILD.template | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/BUILD b/BUILD index 025878d82a..fc4dfe8d9a 100644 --- a/BUILD +++ b/BUILD @@ -1041,6 +1041,7 @@ cc_library( ".", ], deps = [ + "//external:protobuf_clib", ], ) diff --git a/templates/BUILD.template b/templates/BUILD.template index ebf7ffbf9a..23a656c360 100644 --- a/templates/BUILD.template +++ b/templates/BUILD.template @@ -49,7 +49,9 @@ ] if target_dict.get('build', None) == 'protoc': deps.append("//external:protobuf_compiler") - if target_dict['name'] == 'grpc++_unsecure' or target_dict['name'] == 'grpc++': + if (target_dict['name'] == 'grpc++_unsecure' or + target_dict['name'] == 'grpc++' or + target_dict['name'] == 'grpc++_codegen_lib'): deps.append("//external:protobuf_clib") elif target_dict['name'] == 'grpc': deps.append("//external:zlib") -- GitLab