diff --git a/BUILD b/BUILD index 934146f57e0..8a827ff54e1 100644 --- a/BUILD +++ b/BUILD @@ -1259,3 +1259,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", + ], +) diff --git a/templates/BUILD.template b/templates/BUILD.template index 4d2bf7db283..dffdc1dddde 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", + ], +)