aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates
diff options
context:
space:
mode:
authorGravatar Rob Earhart <earhart@google.com>2016-03-29 11:39:04 -0700
committerGravatar Rob Earhart <earhart@google.com>2016-03-29 13:02:25 -0700
commitff20c2b46cbe967f73ba02caa87bcdb57417229c (patch)
tree7912b2cd3605d836cfb3c87ec192580a68120bf6 /templates
parentb7b8d05f25974c1cf14718d23ca67192f63d41c0 (diff)
Add protobuf_clib to deps of grpc++_codegen_lib
This is required in order to compile grpc++_codegen_lib.
Diffstat (limited to 'templates')
-rw-r--r--templates/BUILD.template4
1 files changed, 3 insertions, 1 deletions
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")