aboutsummaryrefslogtreecommitdiffhomepage
path: root/gRPC-Core.podspec
diff options
context:
space:
mode:
authorGravatar Muxi Yan <muxi@users.noreply.github.com>2018-06-07 10:45:10 -0700
committerGravatar GitHub <noreply@github.com>2018-06-07 10:45:10 -0700
commitd7728cda51ee1249e88f7d20dec92435f8d33d53 (patch)
treeba7438d62547e2f4793498477f7931e5cb5ea0d8 /gRPC-Core.podspec
parenta323b51ece13ee8b28788b7d03cada6daeb215cd (diff)
parent08876dadce36200d191b2d7751c8437aa558d9b2 (diff)
Merge pull request #15069 from muxi/prototype-cfstream
Implementation of CFStream
Diffstat (limited to 'gRPC-Core.podspec')
-rw-r--r--gRPC-Core.podspec18
1 files changed, 18 insertions, 0 deletions
diff --git a/gRPC-Core.podspec b/gRPC-Core.podspec
index f3be7129b5..5a111c2d3f 100644
--- a/gRPC-Core.podspec
+++ b/gRPC-Core.podspec
@@ -1080,6 +1080,24 @@ Pod::Spec.new do |s|
'src/core/ext/filters/workarounds/workaround_utils.h'
end
+ s.subspec 'CFStream-Implementation' do |ss|
+ ss.header_mappings_dir = '.'
+ ss.dependency "#{s.name}/Implementation", version
+ ss.pod_target_xcconfig = {
+ 'GCC_PREPROCESSOR_DEFINITIONS' => 'GRPC_CFSTREAM=1'
+ }
+ ss.source_files = 'src/core/lib/iomgr/cfstream_handle.cc',
+ 'src/core/lib/iomgr/endpoint_cfstream.cc',
+ 'src/core/lib/iomgr/error_cfstream.cc',
+ 'src/core/lib/iomgr/tcp_client_cfstream.cc',
+ 'src/core/lib/iomgr/cfstream_handle.h',
+ 'src/core/lib/iomgr/endpoint_cfstream.h',
+ 'src/core/lib/iomgr/error_cfstream.h'
+ ss.private_header_files = 'src/core/lib/iomgr/cfstream_handle.h',
+ 'src/core/lib/iomgr/endpoint_cfstream.h',
+ 'src/core/lib/iomgr/error_cfstream.h'
+ end
+
s.subspec 'Cronet-Interface' do |ss|
ss.header_mappings_dir = 'include/grpc'
ss.source_files = 'include/grpc/grpc_cronet.h'