Index: base/allocator/allocator.gyp |
diff --git a/base/allocator/allocator.gyp b/base/allocator/allocator.gyp |
index e2c8ac0faeb383fd96b138b1f99b23c830ab21bb..c5685fd227bcab96761d6fd9659229ef92bf6975 100644 |
--- a/base/allocator/allocator.gyp |
+++ b/base/allocator/allocator.gyp |
@@ -530,5 +530,54 @@ |
}, |
], |
}], |
+ ['clang_use_allocated_type==1', { |
+ 'targets': [ |
+ { |
+ 'target_name': 'allocated_type_tcmalloc', |
+ 'type': 'static_library', |
+ 'include_dirs': [ |
+ '.', |
+ '<(tcmalloc_dir)/src/base', |
+ '<(tcmalloc_dir)/src', |
+ '../..', |
+ ], |
+ 'sources': [ |
+ 'allocated_type_control.h', |
+ 'allocated_type_tcmalloc.cc', |
+ 'allocated_type.h', |
+ '<(tcmalloc_dir)/src/allocated_type_map.cc', |
+ '<(tcmalloc_dir)/src/gperftools/allocated_type_map.h', |
+ ], |
+ }, |
+ { |
+ 'target_name': 'allocated_type_ignore', |
+ 'type': 'static_library', |
+ 'include_dirs': [ |
+ '.', |
+ '<(tcmalloc_dir)/src/base', |
+ '<(tcmalloc_dir)/src', |
+ '../..', |
+ ], |
+ 'sources': [ |
+ 'allocated_type_ignore.cc', |
+ 'allocated_type.h', |
+ ], |
+ }, |
+ { |
+ 'target_name': 'allocated_type_log', |
+ 'type': 'static_library', |
+ 'include_dirs': [ |
+ '.', |
+ '<(tcmalloc_dir)/src/base', |
+ '<(tcmalloc_dir)/src', |
+ '../..', |
+ ], |
+ 'sources': [ |
+ 'allocated_type_log.cc', |
+ 'allocated_type.h', |
+ ], |
+ }, |
+ ], |
+ }], |
], |
} |