aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/BUILD.template
diff options
context:
space:
mode:
authorGravatar Ming Zhao <mzhao@luminatewireless.com>2015-08-13 12:38:35 -0700
committerGravatar Ming Zhao <mzhao@luminatewireless.com>2015-08-13 12:38:35 -0700
commitf2f24e2f93bba8ae939beb53980ac8e042c372c0 (patch)
treebd1c4bcb687d8b3aca48dc218fb81a9bba9e4282 /templates/BUILD.template
parent30bc5d3fa96e87cc41036fe71749450375937dd6 (diff)
Let grpc target depend on //external:zlib so that "-lz" or a real zlib
Diffstat (limited to 'templates/BUILD.template')
-rw-r--r--templates/BUILD.template2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/BUILD.template b/templates/BUILD.template
index 4e9d8c376a..8b565a0dc0 100644
--- a/templates/BUILD.template
+++ b/templates/BUILD.template
@@ -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)