See https://cs.chromium.org/chromium/src/third_party/qcms/BUILD.gn?q=use_libfuzzer&dr=C&l=41 That check should probably check for afl as well.
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/d901d1ba5f96a7cf67e4d609bfec584bfcbaa0d3 commit d901d1ba5f96a7cf67e4d609bfec584bfcbaa0d3 Author: Jonathan Metzman <metzman@chromium.org> Date: Mon Oct 09 23:07:28 2017 Add use_fuzzing_engine build variable, refactor code to use it and fix code that erroneously only checked "use_libfuzzer" TBR=dalecurtis@chromium.org,nick@chromium.org,noel@chromium.org,pwnall@chromium.org Bug: 770974, 770968 Change-Id: I16a58edc1a6ef6b7fcb9b779ea9af6c1d2b3320f Reviewed-on: https://chromium-review.googlesource.com/707189 Reviewed-by: Oliver Chang <ochang@chromium.org> Commit-Queue: Jonathan Metzman <metzman@chromium.org> Cr-Commit-Position: refs/heads/master@{#507521} [modify] https://crrev.com/d901d1ba5f96a7cf67e4d609bfec584bfcbaa0d3/build/config/sanitizers/BUILD.gn [modify] https://crrev.com/d901d1ba5f96a7cf67e4d609bfec584bfcbaa0d3/build/config/sanitizers/sanitizers.gni [modify] https://crrev.com/d901d1ba5f96a7cf67e4d609bfec584bfcbaa0d3/media/media_options.gni [modify] https://crrev.com/d901d1ba5f96a7cf67e4d609bfec584bfcbaa0d3/testing/libfuzzer/fuzzer_test.gni [modify] https://crrev.com/d901d1ba5f96a7cf67e4d609bfec584bfcbaa0d3/third_party/expat/BUILD.gn [modify] https://crrev.com/d901d1ba5f96a7cf67e4d609bfec584bfcbaa0d3/third_party/qcms/BUILD.gn [modify] https://crrev.com/d901d1ba5f96a7cf67e4d609bfec584bfcbaa0d3/third_party/sqlite/BUILD.gn
Comment 1 by metzman@chromium.org
, Oct 2 2017