Add protobuf_clib to deps of grpc++_codegen_lib

This is required in order to compile grpc++_codegen_lib.
pull/5976/head
Rob Earhart 9 years ago
parent b7b8d05f25
commit ff20c2b46c
  1. 1
      BUILD
  2. 4
      templates/BUILD.template

@ -1041,6 +1041,7 @@ cc_library(
".",
],
deps = [
"//external:protobuf_clib",
],
)

@ -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")

Loading…
Cancel
Save