diff options
author | Muxi Yan <mxyan@google.com> | 2018-06-12 16:22:35 -0700 |
---|---|---|
committer | Muxi Yan <mxyan@google.com> | 2018-06-12 16:32:10 -0700 |
commit | 9291e5d4da5721a28ad912d2994e0381ebf15e97 (patch) | |
tree | 97e2de90d9b6d21cbadefde04f75113fb17b4206 /gRPC-Core.podspec | |
parent | 32c04931db9ef88159a59c18b47288c445faa00d (diff) |
Update ObjC build hack
Diffstat (limited to 'gRPC-Core.podspec')
-rw-r--r-- | gRPC-Core.podspec | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gRPC-Core.podspec b/gRPC-Core.podspec index a4d62a76c6..dbebd4ca70 100644 --- a/gRPC-Core.podspec +++ b/gRPC-Core.podspec @@ -1264,6 +1264,7 @@ Pod::Spec.new do |s| # TODO (mxyan): Instead of this hack, add include path "third_party" to C core's include path? s.prepare_command = <<-END_OF_COMMAND - find src/core/ -type f ! -path '*.back*' -exec sed -E -i'.back' 's;#include "third_party/nanopb/(.*)";#include <nanopb/\\1>;g' {} \\\; + find src/core/ -type f ! -path '*.grpc_back' -exec sed -E -i'.grpc_back' 's;#include "(pb(_.*)?\\.h)";#include <nanopb/\\1>;g' {} \\\; + find src/core/ -type f -path '*.grpc_back' | xargs rm END_OF_COMMAND end |