From f8e918a9f15c2971ab01b7cb511bb5f808c2b479 Mon Sep 17 00:00:00 2001 From: Janne Grunau Date: Tue, 23 Oct 2018 18:46:46 +0200 Subject: fuzzer: add a standalone fuzzing engine 'none' Replaces the boolean 'build_libfuzzer' meson option with 'fuzzing_engine'. This allows reproducing fuzzing test cases on systems without libfuzzer. Also prevents regressions in the fuzzing test target since it will be build by default. --- meson_options.txt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'meson_options.txt') diff --git a/meson_options.txt b/meson_options.txt index e351da7..d39c61d 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -20,7 +20,8 @@ option('build_tests', value: true, description: 'Build dav1d tests') -option('build_libfuzzer', - type: 'boolean', - value: false, - description: 'Build dav1d libFuzzer target') +option('fuzzing_engine', + type: 'combo', + choices : ['none', 'libfuzzer', 'oss-fuzz'], + value: 'none', + description: 'Select the fuzzing engine') -- cgit v1.2.3