Pass a flag to enable fuzzing (#4114)

This commit is contained in:
neildhar 2020-07-11 09:59:06 -07:00 committed by GitHub
parent c8a9c08c09
commit 83451151b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 1 deletions

BIN
.DS_Store vendored Normal file

Binary file not shown.

BIN
projects/.DS_Store vendored Normal file

Binary file not shown.

View File

@ -26,6 +26,6 @@ else
fi
./utils/build/configure.py "${OUT}/build" --build-system "Ninja" ${CONFIGURE_FLAGS} \
--cmake-flags="-DHERMES_USE_STATIC_ICU=ON -DHERMES_FUZZING_FLAG=${LIB_FUZZING_ENGINE}"
--cmake-flags="-DHERMES_USE_STATIC_ICU=ON -DHERMES_FUZZING_FLAG=${LIB_FUZZING_ENGINE} -DHERMES_ENABLE_FUZZING=ON"
cmake --build "$OUT/build" --parallel --target fuzzer-jsi-entry
cp "${OUT}/build/bin/fuzzer-jsi-entry" "${OUT}"