fuzz: support fuzzers with statically built parameters

Each HAL will have a corresponding static fuzzer. This will simplify use
of fuzzer for both local and continuous tests.

Suggested-by: zhaomingyin@google.com ag/9782114

Test: m android.hardware.light@2.0-vts.fuzzer && \
adb sync data && \
adb shell \
"LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/data/fuzz/arm64/lib \
/data/fuzz/arm64/android.hardware.light@2.0-vts.fuzzer/android.hardware.light@2.0-vts.fuzzer \
--vts_spec_dir=/data/vts_specs/spec/light/2.0/ -- \
-max_len=65536 -max_total_time=1 > /dev/null"
device screen flickers
Change-Id: I23561f8e30e83df99303232bab93f73a4b6b8799
3 files changed