From 1ca042464ff2bf651dc25073764733197e5f4cc7 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Mon, 5 Feb 2018 19:48:17 +0100 Subject: Move FUZZING definition from toolkit to js. --- toolkit/moz.configure | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'toolkit/moz.configure') diff --git a/toolkit/moz.configure b/toolkit/moz.configure index 1a8c5b1bb..85a01e658 100644 --- a/toolkit/moz.configure +++ b/toolkit/moz.configure @@ -825,27 +825,3 @@ def skia_includes(skia, skia_gpu): return includes set_config('SKIA_INCLUDES', skia_includes) - -# Support various fuzzing options -# ============================================================== -with only_when('--enable-compile-environment'): - option('--enable-fuzzing', help='Enable fuzzing support') - - @depends('--enable-fuzzing') - def enable_fuzzing(value): - if value: - return True - - @depends(enable_fuzzing, - try_compile(body='__AFL_COMPILER;', - check_msg='for AFL compiler', - when='--enable-fuzzing')) - def enable_libfuzzer(fuzzing, afl): - if fuzzing and not afl: - return True - - set_config('FUZZING', enable_fuzzing) - set_define('FUZZING', enable_fuzzing) - - set_config('LIBFUZZER', enable_libfuzzer) - set_define('LIBFUZZER', enable_libfuzzer) -- cgit v1.2.3