aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/gRPC-Core.podspec.template
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2018-06-05 09:42:33 -0700
committerGravatar Muxi Yan <mxyan@google.com>2018-06-05 16:44:20 -0700
commitc512b4f039f0c5cb503b9aa130c617969dd741ce (patch)
tree608f01c4efa40e4e0be820e138cc09b6100a51ed /templates/gRPC-Core.podspec.template
parent72f7159546fb1e993151935f6eef1eaade2c9126 (diff)
revert -framework CoreFoundation
Make error CFStream only
Diffstat (limited to 'templates/gRPC-Core.podspec.template')
-rw-r--r--templates/gRPC-Core.podspec.template10
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/gRPC-Core.podspec.template b/templates/gRPC-Core.podspec.template
index 8704a8a138..a767a612a6 100644
--- a/templates/gRPC-Core.podspec.template
+++ b/templates/gRPC-Core.podspec.template
@@ -68,6 +68,14 @@
excl = grpc_private_files(libs)
return [file for file in out if not file in excl]
+ def cfstream_private_headers(libs):
+ out = grpc_lib_files(libs, ("grpc_cfstream",), ("own_headers",))
+ return out
+
+ def cfstream_private_files(libs):
+ out = grpc_lib_files(libs, ("grpc_cfstream",), ("own_src", "own_headers"))
+ return out
+
def ruby_multiline_list(files, indent):
return (',\n' + indent*' ').join('\'%s\'' % f for f in files)
%>
@@ -181,6 +189,8 @@
ss.pod_target_xcconfig = {
'GCC_PREPROCESSOR_DEFINITIONS' => 'GRPC_CFSTREAM=1'
}
+ ss.source_files = ${ruby_multiline_list(cfstream_private_files(filegroups), 22)}
+ ss.private_header_files = ${ruby_multiline_list(cfstream_private_headers(filegroups), 30)}
end
s.subspec 'Cronet-Interface' do |ss|