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

Unified Diff: base/allocator/allocator.gyp

Issue 10411047: Type profiler by intercepting 'new' and 'delete' expressions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Support operator delete[]. Created 8 years, 6 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
« no previous file with comments | « no previous file | base/allocator/new_delete_type.h » ('j') | build/common.gypi » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/allocator/allocator.gyp
diff --git a/base/allocator/allocator.gyp b/base/allocator/allocator.gyp
index e2c8ac0faeb383fd96b138b1f99b23c830ab21bb..5b829d9a9ca28a475a276e410f4536271db1fc54 100644
--- a/base/allocator/allocator.gyp
+++ b/base/allocator/allocator.gyp
@@ -530,5 +530,39 @@
},
],
}],
+ ['clang==1 and clang_allocated_type==1', {
+ 'targets': [
+ {
+ 'target_name': 'new_delete_type_tcmalloc',
+ 'type': 'static_library',
+ 'include_dirs': [
+ '.',
+ '<(tcmalloc_dir)/src/base',
+ '<(tcmalloc_dir)/src',
+ '../..',
+ ],
+ 'sources': [
+ 'new_delete_type_tcmalloc.cc',
+ 'new_delete_type.h',
+ '<(tcmalloc_dir)/src/allocated_type_map.cc',
+ '<(tcmalloc_dir)/src/gperftools/allocated_type_map.h',
+ ],
+ },
+ {
+ 'target_name': 'new_delete_type_ignore',
+ 'type': 'static_library',
+ 'include_dirs': [
+ '.',
+ '<(tcmalloc_dir)/src/base',
+ '<(tcmalloc_dir)/src',
+ '../..',
+ ],
+ 'sources': [
+ 'new_delete_type_ignore.cc',
+ 'new_delete_type.h',
+ ],
+ },
+ ],
+ }],
],
}
« no previous file with comments | « no previous file | base/allocator/new_delete_type.h » ('j') | build/common.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698