aboutsummaryrefslogtreecommitdiffhomepage
path: root/gRPC.podspec
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2018-04-25 14:20:56 -0700
committerGravatar Muxi Yan <mxyan@google.com>2018-05-15 12:39:51 -0700
commit588b2243e6312f499022b98e5edf39cccd2e81f9 (patch)
tree03c65dc6d5e73d7e0927e8beeb12e50a2e47eda4 /gRPC.podspec
parent1aedfa862805c297d44cae5f719149c0e44a90dd (diff)
build_project
Diffstat (limited to 'gRPC.podspec')
-rw-r--r--gRPC.podspec10
1 files changed, 10 insertions, 0 deletions
diff --git a/gRPC.podspec b/gRPC.podspec
index bf73ffd22e..672c9d2649 100644
--- a/gRPC.podspec
+++ b/gRPC.podspec
@@ -63,6 +63,16 @@ Pod::Spec.new do |s|
ss.dependency 'gRPC-Core', version
end
+ s.subspec 'CFStream' do |ss|
+ ss.header_mappings_dir = "#{src_dir}"
+ ss.dependency 'gRPC-Core/CFStream-Implementation', version
+ ss.dependency "#{s.name}/Main", version
+
+ ss.pod_target_xcconfig = {
+ 'GCC_PREPROCESSOR_DEFINITIONS' => 'GRPC_CFSTREAM=1'
+ }
+ end
+
s.subspec 'GID' do |ss|
ss.ios.deployment_target = '7.0'