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

Unified Diff: build/config/allocator.gni

Issue 1681263003: metrics: Add leak detector controller in Chrome OS metrics system (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove frame ptr flag, add thread checker, add #define flag locally (gn build only) Created 4 years, 10 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
Index: build/config/allocator.gni
diff --git a/build/config/allocator.gni b/build/config/allocator.gni
index 5b6d963d41cfb455c03dc95d61a350af94e6a268..b8f4fe7edb7448d62390e30671c0a63978b0bca2 100644
--- a/build/config/allocator.gni
+++ b/build/config/allocator.gni
@@ -14,6 +14,9 @@ if (is_android || current_cpu == "mipsel" || is_mac || is_ios || is_asan ||
declare_args() {
# Memory allocator to use. Set to "none" to use default allocator.
use_allocator = _default_allocator
+
+ # Build runtime memory leak detector.
+ enable_leak_detector = false
brettw 2016/02/18 21:14:58 This is still global in the sense that it's in the
Simon Que 2016/02/19 02:13:02 Done.
}
assert(use_allocator == "none" || use_allocator == "tcmalloc")

Powered by Google App Engine
This is Rietveld 408576698