[libvpx] Remove depencency on tools_common.c.o (#2131)

vpx_dec_fuzzer.cc now builds without any dependency on tools_common.c.o
Hence disable examples while configuring libvpx and remove
tools_common.c.o when linking fuzzer binaries
This commit is contained in:
Harish Mahendrakar 2019-02-04 12:45:51 -08:00 committed by Max Moroz
parent 11f4aaee07
commit 3c7d71eb98
1 changed files with 2 additions and 1 deletions

View File

@ -32,6 +32,7 @@ fi
LDFLAGS="$CXXFLAGS" LD=$CXX $SRC/libvpx/configure \
--disable-unit-tests \
--disable-examples \
--size-limit=12288x12288 \
--extra-cflags="${extra_c_flags}" \
--disable-webm-io \
@ -54,7 +55,7 @@ for decoder in "${fuzzer_decoders[@]}"; do
-Wl,--start-group \
-lFuzzingEngine \
$SRC/libvpx/examples/${fuzzer_src_name}.cc -o $OUT/${fuzzer_name} \
${build_dir}/libvpx.a ${build_dir}/tools_common.c.o \
${build_dir}/libvpx.a \
-Wl,--end-group
cp $SRC/vpx_fuzzer_seed_corpus.zip $OUT/${fuzzer_name}_seed_corpus.zip
cp $SRC/vpx_dec_fuzzer.dict $OUT/${fuzzer_name}.dict