aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates
diff options
context:
space:
mode:
authorGravatar Jorge Canizales <jcanizales@google.com>2015-06-28 23:48:30 -0700
committerGravatar Jorge Canizales <jcanizales@google.com>2015-06-29 17:05:52 -0700
commit50f198260e350a6f875a2ae94ad496d28f711bf2 (patch)
treed7fa0cc6c1e895d231b7d86c6eb2523702b74325 /templates
parentc60868622d61969416ea440aaecec21e2ebf265b (diff)
Add Bazel target for ObjC gRPC runtime
Diffstat (limited to 'templates')
-rw-r--r--templates/BUILD.template18
1 files changed, 18 insertions, 0 deletions
diff --git a/templates/BUILD.template b/templates/BUILD.template
index 4d2bf7db28..dffdc1dddd 100644
--- a/templates/BUILD.template
+++ b/templates/BUILD.template
@@ -205,3 +205,21 @@ objc_bundle_library(
name = "gRPCCertificates",
resources = ["etc/roots.pem"],
)
+
+proto_objc_rpc_path = objc_path + "/ProtoRPC"
+
+objc_library(
+ name = "proto_objc_rpc",
+ hdrs = glob([
+ proto_objc_rpc_path + "/*.h",
+ ]),
+ srcs = glob([
+ proto_objc_rpc_path + "/*.m",
+ ]),
+ includes = [objc_path],
+ deps = [
+ ":grpc_client",
+ ":rx_library",
+ "//external:protobuf_objc",
+ ],
+)