Index: base/allocator/allocator.gyp |
diff --git a/base/allocator/allocator.gyp b/base/allocator/allocator.gyp |
index e2c8ac0faeb383fd96b138b1f99b23c830ab21bb..9f1fc599295d9debbdc3edc66a93c40e7154e937 100644 |
--- a/base/allocator/allocator.gyp |
+++ b/base/allocator/allocator.gyp |
@@ -530,5 +530,54 @@ |
}, |
], |
}], |
+ ['clang_profiling_allocated_type==1', { |
+ 'targets': [ |
+ { |
+ 'target_name': 'allocated_type_profiler_tcmalloc', |
+ 'type': 'static_library', |
+ 'include_dirs': [ |
+ '.', |
+ '<(tcmalloc_dir)/src/base', |
+ '<(tcmalloc_dir)/src', |
+ '../..', |
+ ], |
+ 'sources': [ |
+ 'allocated_type_profiler_control.h', |
+ 'allocated_type_profiler.h', |
+ 'allocated_type_profiler_tcmalloc.cc', |
Ryan Sleevi
2012/08/10 04:16:09
nit: sort
Dai Mikurube (NOT FULLTIME)
2012/08/10 07:30:03
Done.
|
+ '<(tcmalloc_dir)/src/allocated_type_map.cc', |
+ '<(tcmalloc_dir)/src/gperftools/allocated_type_map.h', |
+ ], |
+ }, |
+ { |
+ 'target_name': 'allocated_type_profiler_ignore', |
+ 'type': 'static_library', |
+ 'include_dirs': [ |
+ '.', |
+ '<(tcmalloc_dir)/src/base', |
+ '<(tcmalloc_dir)/src', |
+ '../..', |
+ ], |
+ 'sources': [ |
+ 'allocated_type_profiler.h', |
+ 'allocated_type_profiler_ignore.cc', |
+ ], |
+ }, |
+ { |
+ 'target_name': 'allocated_type_profiler_log', |
Ryan Sleevi
2012/08/10 04:16:09
Can you explain why you're using three separate ta
Dai Mikurube (NOT FULLTIME)
2012/08/10 07:30:03
Please read my reply at http://codereview.chromium
|
+ 'type': 'static_library', |
+ 'include_dirs': [ |
+ '.', |
+ '<(tcmalloc_dir)/src/base', |
+ '<(tcmalloc_dir)/src', |
+ '../..', |
+ ], |
+ 'sources': [ |
+ 'allocated_type_profiler.h', |
+ 'allocated_type_profiler_log.cc', |
+ ], |
+ }, |
+ ], |
+ }], |
], |
} |