aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firestore/Example/FuzzTests/FuzzingResources/Serializer/Corpus/ConvertTextToBinary.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Firestore/Example/FuzzTests/FuzzingResources/Serializer/Corpus/ConvertTextToBinary.sh')
-rwxr-xr-xFirestore/Example/FuzzTests/FuzzingResources/Serializer/Corpus/ConvertTextToBinary.sh5
1 files changed, 1 insertions, 4 deletions
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