diff options
author | 2018-06-07 10:45:10 -0700 | |
---|---|---|
committer | 2018-06-07 10:45:10 -0700 | |
commit | d7728cda51ee1249e88f7d20dec92435f8d33d53 (patch) | |
tree | ba7438d62547e2f4793498477f7931e5cb5ea0d8 /gRPC-Core.podspec | |
parent | a323b51ece13ee8b28788b7d03cada6daeb215cd (diff) | |
parent | 08876dadce36200d191b2d7751c8437aa558d9b2 (diff) |
Merge pull request #15069 from muxi/prototype-cfstream
Implementation of CFStream
Diffstat (limited to 'gRPC-Core.podspec')
-rw-r--r-- | gRPC-Core.podspec | 18 |
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' |