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

Unified Diff: webrtc/build/webrtc.gni

Issue 2144273002: Add minimal LLVM sanity coverage (sancov) reporting for unittests. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Add minimal LLVM sanity coverage (sancov) reporting for unittests. 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 | « webrtc/build/common.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/build/webrtc.gni
diff --git a/webrtc/build/webrtc.gni b/webrtc/build/webrtc.gni
index 6370f0e8f66a09e2923433aeb770694b7b400970..30e505d1d796a7852f3d9d9115d7c6018afa0b95 100644
--- a/webrtc/build/webrtc.gni
+++ b/webrtc/build/webrtc.gni
@@ -64,6 +64,13 @@ declare_args() {
rtc_restrict_logging = true
+ # Set to "func", "block", "edge" for coverage generation.
+ # At unit test runtime set UBSAN_OPTIONS="coverage=1".
+ # It is recommend to set include_examples=0.
+ # Use llvm's sancov -html-report for human readable reports.
+ # See http://clang.llvm.org/docs/SanitizerCoverage.html .
+ rtc_sanitize_coverage = ""
+
# Enable libevent task queues on platforms that support it.
if (is_win || is_mac || is_ios || is_nacl) {
rtc_enable_libevent = false
« no previous file with comments | « webrtc/build/common.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698