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

Unified Diff: webrtc/BUILD.gn

Issue 2000173002: If building a fuzzer, define WEBRTC_UNSAFE_FUZZER_MODE. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Comment on use location Created 4 years, 7 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 | « no previous file | 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 01fa042af36da554506a0b82da03fd219b4575dd..11020300f37edabfb50b91fa6c92c425fe42aa53 100644
--- a/webrtc/BUILD.gn
+++ b/webrtc/BUILD.gn
@@ -169,6 +169,11 @@ config("common_config") {
"-fno-builtin-sinf",
]
}
+
+ if (use_libfuzzer || use_drfuzz) {
+ # Used in Chromium's overrides to disable logging
+ defines += [ "WEBRTC_UNSAFE_FUZZER_MODE" ]
+ }
}
source_set("webrtc") {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698