Merge pull request #2924 from mzhaom/zlib-dep

Let grpc target depend on //external:zlib
pull/2925/head
Nicolas Noble 9 years ago
commit b55b74072b
  1. 1
      BUILD
  2. 2
      templates/BUILD.template

@ -400,6 +400,7 @@ cc_library(
],
deps = [
"//external:libssl",
"//external:zlib",
":gpr",
],
)

@ -49,6 +49,8 @@ def get_deps(target_dict):
deps.append("//external:protobuf_compiler")
if target_dict['name'] == 'grpc++_unsecure' or target_dict['name'] == 'grpc++':
deps.append("//external:protobuf_clib")
elif target_dict['name'] == 'grpc':
deps.append("//external:zlib")
for d in target_dict.get('deps', []):
if d.find('//') == 0 or d[0] == ':':
deps.append(d)

Loading…
Cancel
Save