Index: base/allocator/allocator.gyp |
diff --git a/base/allocator/allocator.gyp b/base/allocator/allocator.gyp |
index f5bda7370c1b5decbe6fa05eb5a77f51a5fc9543..46861ecdb8d0ccfefdaea2b9b0960c297c92585a 100644 |
--- a/base/allocator/allocator.gyp |
+++ b/base/allocator/allocator.gyp |
@@ -312,10 +312,11 @@ |
# Provide a way to force disable debugallocation in Debug builds, |
# e.g. for profiling (it's more rare to profile Debug builds, |
# but people sometimes need to do that). |
- 'disable_debugallocation%': 1, |
+ 'disable_debugallocation%': 0, |
}, |
'conditions': [ |
- ['disable_debugallocation==0', { |
+ # TODO(phajdan.jr): Also enable on Windows. |
+ ['disable_debugallocation==0 and OS!="win"', { |
'defines': [ |
# Use debugallocation for Debug builds to catch problems early |
# and cleanly, http://crbug.com/30715 . |