From 782c148f5af5d59377148720293408b24d79c7ac Mon Sep 17 00:00:00 2001 From: "phajdan.jr@chromium.org" Date: Thu, 10 Jan 2013 20:16:28 +0000 Subject: GTTF: Enable debugallocation by default (try 3 or so). Also remove invalid ANNOTATE_LEAKING_OBJECT_PTR annotation for an object that _does_ get deleted. This is for now disabled on Windows because of tsan compile issues. TBR=jar BUG=30715 Review URL: https://codereview.chromium.org/11826062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176138 0039d316-1c4b-4281-b951-d872f2087c98 --- base/allocator/allocator.gyp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'base/allocator') diff --git a/base/allocator/allocator.gyp b/base/allocator/allocator.gyp index f5bda73..46861ec 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 . -- cgit v1.1