Chromium Code Reviews| 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") |