Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(74)

Unified Diff: webrtc/BUILD.gn

Issue 2143053002: [AFL] Allow webrtc fuzzers to be used with afl-fuzz. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « setup_links.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/BUILD.gn
diff --git a/webrtc/BUILD.gn b/webrtc/BUILD.gn
index f151f108e7da6aba69f735ae9831c11d2869bfd3..9c87506a30afc0e25f447ed065048afd83d35251 100644
--- a/webrtc/BUILD.gn
+++ b/webrtc/BUILD.gn
@@ -223,7 +223,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" ]
}
@@ -371,7 +371,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") {
« no previous file with comments | « setup_links.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698