aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/gRPC-Core.podspec.template
diff options
context:
space:
mode:
authorGravatar kkm <kkm@smartaction.com>2018-10-07 00:07:30 -0700
committerGravatar kkm <kkm@smartaction.com>2018-10-07 00:07:30 -0700
commit51e41ae7d5f513d948a4b38fdb0914f8f1bf4773 (patch)
treefec64dff9787b8c549c8af009e9a73549ac41ec5 /templates/gRPC-Core.podspec.template
parente3e7e32a7e1698c7937e5bf0bde4914e13131362 (diff)
parent3b26fe7262a9db90dfb69f84ad582d9f71871a5c (diff)
Merge remote-tracking branch 'golden/master' into package-grpc-tools
Diffstat (limited to 'templates/gRPC-Core.podspec.template')
-rw-r--r--templates/gRPC-Core.podspec.template4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/gRPC-Core.podspec.template b/templates/gRPC-Core.podspec.template
index 5098f351db..98b6344a4b 100644
--- a/templates/gRPC-Core.podspec.template
+++ b/templates/gRPC-Core.podspec.template
@@ -174,8 +174,9 @@
ss.header_mappings_dir = '.'
ss.libraries = 'z'
ss.dependency "#{s.name}/Interface", version
- ss.dependency 'BoringSSL', '~> 10.0'
+ ss.dependency 'BoringSSL-GRPC', '0.0.2'
ss.dependency 'nanopb', '~> 0.3'
+ ss.compiler_flags = '-DGRPC_SHADOW_BORINGSSL_SYMBOLS'
# To save you from scrolling, this is the last part of the podspec.
ss.source_files = ${ruby_multiline_list(grpc_private_files(libs), 22)}
@@ -222,5 +223,6 @@
s.prepare_command = <<-END_OF_COMMAND
find src/core/ -type f ! -path '*.grpc_back' -print0 | xargs -0 -L1 sed -E -i'.grpc_back' 's;#include "(pb(_.*)?\\.h)";#include <nanopb/\\1>;g'
find src/core/ -type f -path '*.grpc_back' -print0 | xargs -0 rm
+ find src/core/ -type f \\( -path '*.h' -or -path '*.cc' \\) -print0 | xargs -0 -L1 sed -E -i'.grpc_back' 's;#include <openssl/;#include <openssl_grpc/;g'
END_OF_COMMAND
end