From 9a71ce8e677cdd1bff4c8fd21666a074d1e893b7 Mon Sep 17 00:00:00 2001 From: Rich Gowman Date: Fri, 2 Feb 2018 13:54:39 -0500 Subject: Import "well-known" protos (and generated nanopb files) For use by nanopb (which otherwise doesn't know what to do with these.) --- Firestore/Protos/build-protos.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Firestore/Protos/build-protos.sh') diff --git a/Firestore/Protos/build-protos.sh b/Firestore/Protos/build-protos.sh index 5c3aa53..ced0ee5 100755 --- a/Firestore/Protos/build-protos.sh +++ b/Firestore/Protos/build-protos.sh @@ -27,6 +27,10 @@ pod update --nanopb_out="--options-file=protos/%s.options:nanopb" \ `find protos -name *.proto -print | xargs` +# Remove "well-known" protos from objc. (We get these for free. We only need +# them for nanopb.) +rm -rf objc/google/protobuf/ + # If a proto uses a field named 'delete', nanopb happily uses that in the # message definition. Works fine for C; not so much for C++. Rename uses of this # to delete_ (which is how protoc does it for c++ files.) -- cgit v1.2.3