From 58580359a452cb7c3b9580edc0843c3ab3d158df Mon Sep 17 00:00:00 2001 From: "brettw@chromium.org" Date: Tue, 26 Oct 2010 04:07:50 +0000 Subject: Move debug-related stuff from base to the base/debug directory and use the base::debug namespace. This splits apart debug_util into base/debugger and base/stack_trace There are still two functions in debug_util that I'm not sure what to do with. Since this uses the base::debug namespace, I removed the functions in debugger.h from the static class and just made them free functions in the namespace. TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/3945002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63859 0039d316-1c4b-4281-b951-d872f2087c98 --- base/base.gypi | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) (limited to 'base/base.gypi') diff --git a/base/base.gypi b/base/base.gypi index d0fa20b..9a32325 100644 --- a/base/base.gypi +++ b/base/base.gypi @@ -58,8 +58,19 @@ 'debug_util.cc', 'debug_util.h', 'debug_util_mac.cc', - 'debug_util_posix.cc', - 'debug_util_win.cc', + 'debug/debugger.cc', + 'debug/debugger.h', + 'debug/debugger_posix.cc', + 'debug/debugger_win.cc', + 'debug/leak_annotations.h', + 'debug/leak_tracker.h', + 'debug/stack_trace.cc', + 'debug/stack_trace.h', + 'debug/stack_trace_posix.cc', + 'debug/stack_trace_win.cc', + 'debug/trace_event_win.cc', + 'debug/trace_event.cc', + 'debug/trace_event.h', 'dir_reader_fallback.h', 'dir_reader_linux.h', 'dir_reader_posix.h', @@ -104,8 +115,6 @@ 'json/string_escape.h', 'lazy_instance.cc', 'lazy_instance.h', - 'leak_annotations.h', - 'leak_tracker.h', 'linked_list.h', 'linked_ptr.h', 'lock.cc', @@ -259,9 +268,6 @@ 'time_win.cc', 'timer.cc', 'timer.h', - 'trace_event_win.cc', - 'trace_event.cc', - 'trace_event.h', 'tracked.cc', 'tracked.h', 'tracked_objects.cc', @@ -378,7 +384,7 @@ # regression to page cycler moz. 'sha1_win.cc', 'string16.cc', - 'trace_event.cc', + 'debug/trace_event.cc', ], },], ], -- cgit v1.1