From 22562f49ebd39bb7f3d3b00f020841eb1f545934 Mon Sep 17 00:00:00 2001 From: Mina Farid Date: Mon, 16 Jul 2018 13:55:10 -0400 Subject: Fuzz testing uses protoc from a pod dependency (#1538) --- .../FuzzingResources/Serializer/Corpus/ConvertTextToBinary.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'Firestore/Example/FuzzTests/FuzzingResources/Serializer/Corpus/ConvertTextToBinary.sh') diff --git a/Firestore/Example/FuzzTests/FuzzingResources/Serializer/Corpus/ConvertTextToBinary.sh b/Firestore/Example/FuzzTests/FuzzingResources/Serializer/Corpus/ConvertTextToBinary.sh index 772e858..3d499c6 100755 --- a/Firestore/Example/FuzzTests/FuzzingResources/Serializer/Corpus/ConvertTextToBinary.sh +++ b/Firestore/Example/FuzzTests/FuzzingResources/Serializer/Corpus/ConvertTextToBinary.sh @@ -49,13 +49,10 @@ for text_proto_file in "${text_protos_dir}"/*; do fi # Run the conversion. - # TODO(minafarid): This conversion relies on protoc as built by the cmake - # build. Switch this to using a pod dependency of protoc. echo "Converting file: ${file_name} (type: ${message_type})" echo "${file_content}" \ - | "${SRCROOT}/../../build/external/protobuf/src/protobuf-build/src/protoc" \ + | "${SRCROOT}/Pods/!ProtoCompiler/protoc" \ -I"${SRCROOT}/../../Firestore/Protos/protos" \ - -I"${SRCROOT}/../../build/external/protobuf/src/protobuf/src" \ --encode=google.firestore.v1beta1."${message_type}" \ google/firestore/v1beta1/document.proto > "${binary_protos_dir}/${file_name}" done -- cgit v1.2.3