Fix gRPC-C++ Cronet subspec

pull/20988/head
Muxi Yan 5 years ago
parent 574b846103
commit 37cce16d86
  1. 12
      templates/gRPC-C++.podspec.template

@ -199,13 +199,19 @@
ss.source_files = ${ruby_multiline_list(grpcpp_proto_files(filegroups), 22)} ss.source_files = ${ruby_multiline_list(grpcpp_proto_files(filegroups), 22)}
end end
s.subspec 'Cronet' do |ss| s.subspec 'Cronet-Interface' do |ss|
ss.header_mappings_dir = 'include/grpcpp'
ss.public_header_files = "include/grpcpp/security/cronet_credentials.h",
"include/grpcpp/security/cronet_credentials_impl.h"
ss.source_files = "include/grpcpp/security/cronet_credentials.h",
"include/grpcpp/security/cronet_credentials_impl.h"
end
s.subspec 'Cronet-Implementation' do |ss|
ss.header_mappings_dir = 'include/grpcpp' ss.header_mappings_dir = 'include/grpcpp'
ss.dependency 'gRPC-Core/Cronet-Implementation', version ss.dependency 'gRPC-Core/Cronet-Implementation', version
ss.dependency "#{s.name}/Implementation", version ss.dependency "#{s.name}/Implementation", version
ss.public_header_files = "include/grpcpp/security/cronet_credentials.h",
"include/grpcpp/security/cronet_credentials_impl.h"
ss.source_files = "src/cpp/client/cronet_credentials.cc" ss.source_files = "src/cpp/client/cronet_credentials.cc"
end end

Loading…
Cancel
Save