aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/gRPC-Core.podspec.template
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2016-07-27 15:10:22 -0700
committerGravatar Muxi Yan <mxyan@google.com>2016-07-27 15:10:22 -0700
commit2a5072e80f80a4a668ddc89180b6e1b344cb3a6b (patch)
treed701d43e4916f78e3aa013e2b3c558730f2c581f /templates/gRPC-Core.podspec.template
parent39e151b0f86d768b8e6718961466015065736d37 (diff)
Fix Objective-C test pods for Cronet tests
Diffstat (limited to 'templates/gRPC-Core.podspec.template')
-rw-r--r--templates/gRPC-Core.podspec.template10
1 files changed, 7 insertions, 3 deletions
diff --git a/templates/gRPC-Core.podspec.template b/templates/gRPC-Core.podspec.template
index 12d06a7c8d..6dd73414b6 100644
--- a/templates/gRPC-Core.podspec.template
+++ b/templates/gRPC-Core.podspec.template
@@ -162,12 +162,16 @@
ss.source_files = 'include/grpc/grpc_cronet.h'
end
+ s.subspec 'Cronet-Implement' do |ss|
+ ss.header_mappings_dir = '.'
+ ss.source_files = 'src/core/ext/transport/cronet/client/secure/cronet_channel_create.c',
+ 'src/core/ext/transport/cronet/transport/cronet_transport.c'
+ end
+
s.subspec 'Cronet-Tests' do |ss|
ss.header_mappings_dir = '.'
- ss.source_files = 'src/core/ext/transport/cronet/client/secure/cronet_channel_create.c',
- 'src/core/ext/transport/cronet/transport/cronet_transport.c',
- 'test/core/end2end/cq_verifier.{c,h}',
+ ss.source_files = 'test/core/end2end/cq_verifier.{c,h}',
'test/core/end2end/end2end_tests.{c,h}',
'test/core/end2end/tests/*.{c,h}',
'test/core/end2end/data/*.{c,h}',