aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Jorge Canizales <jcanizales@google.com>2015-06-26 22:12:02 -0700
committerGravatar Jorge Canizales <jcanizales@google.com>2015-06-26 22:12:02 -0700
commit4dc4e3dffb9cfab2e077545d29e7b3c9bd786264 (patch)
treedcbbe339ea808803fcc0a031118a4990a0472e8b
parent7b1a0ca2dd14fbbb99923b5c68534d890c3bb8f9 (diff)
Blaze dependency on //external:libssl_objc
-rw-r--r--BUILD1
-rw-r--r--templates/BUILD.template3
2 files changed, 4 insertions, 0 deletions
diff --git a/BUILD b/BUILD
index 9263918880..83130eabb3 100644
--- a/BUILD
+++ b/BUILD
@@ -1134,6 +1134,7 @@ objc_library(
],
deps = [
":gpr_objc",
+ "//external:libssl_objc",
],
sdk_dylibs = ["libz"],
)
diff --git a/templates/BUILD.template b/templates/BUILD.template
index fcfaef0d48..76f06c2caa 100644
--- a/templates/BUILD.template
+++ b/templates/BUILD.template
@@ -127,6 +127,9 @@ objc_library(
% for dep in lib.get("deps", []):
":${dep}_objc",
% endfor
+% if lib.get('secure', 'no') == 'yes':
+ "//external:libssl_objc",
+% endif
],
% if lib.get("baselib", false):
sdk_dylibs = ["libz"],