oss-fuzz/projects/brotli/build.sh

12 lines
328 B
Bash
Raw Normal View History

#!/bin/bash -eu
cmake . -DBUILD_SHARED_LIBS=OFF -DBUILD_TESTING=OFF
make clean
make -j$(nproc) brotlidec
$CXX $CXXFLAGS -std=c++11 -I. \
fuzz/decode_fuzzer.cc -I./include -o $OUT/decode_fuzzer \
-lFuzzingEngine ./libbrotlidec.a ./libbrotlicommon.a
cp java/integration/fuzz_data.zip $OUT/decode_fuzzer_seed_corpus.zip