[AFL] Allow webrtc fuzzers to be used with afl-fuzz.
BUG=chromium:611337 Review-Url: https://codereview.webrtc.org/2143053002 Cr-Commit-Position: refs/heads/master@{#13519}
This commit is contained in:
parent
2638c6fad8
commit
f89a571fcb
@ -33,6 +33,7 @@ DIRECTORIES = [
|
||||
'buildtools',
|
||||
'mojo', # TODO(kjellander): Remove, see webrtc:5629.
|
||||
'testing',
|
||||
'third_party/afl',
|
||||
'third_party/binutils',
|
||||
'third_party/boringssl',
|
||||
'third_party/colorama',
|
||||
|
||||
@ -227,7 +227,7 @@ config("common_config") {
|
||||
]
|
||||
}
|
||||
|
||||
if (use_libfuzzer || use_drfuzz) {
|
||||
if (use_libfuzzer || use_drfuzz || use_afl) {
|
||||
# Used in Chromium's overrides to disable logging
|
||||
defines += [ "WEBRTC_UNSAFE_FUZZER_MODE" ]
|
||||
}
|
||||
@ -375,7 +375,7 @@ if (rtc_enable_protobuf) {
|
||||
}
|
||||
}
|
||||
|
||||
if (use_libfuzzer || use_drfuzz) {
|
||||
if (use_libfuzzer || use_drfuzz || use_afl) {
|
||||
# This target is only here for gn to discover fuzzer build targets under
|
||||
# webrtc/test/fuzzers/.
|
||||
group("webrtc_fuzzers_dummy") {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user