Index: base/allocator/allocator.gyp |
diff --git a/base/allocator/allocator.gyp b/base/allocator/allocator.gyp |
index f1124fce176c1f0dbc9e15e2610d6167678ff054..4059222ee4c9534b9b95fcbb628fb3aa434add6e 100644 |
--- a/base/allocator/allocator.gyp |
+++ b/base/allocator/allocator.gyp |
@@ -93,6 +93,7 @@ |
'<(tcmalloc_dir)/src/central_freelist.h', |
'<(tcmalloc_dir)/src/common.cc', |
'<(tcmalloc_dir)/src/common.h', |
+ '<(tcmalloc_dir)/src/config_hardening.h', |
'<(tcmalloc_dir)/src/debugallocation.cc', |
'<(tcmalloc_dir)/src/free_list.cc', |
'<(tcmalloc_dir)/src/free_list.h', |
@@ -122,6 +123,10 @@ |
'<(tcmalloc_dir)/src/memfs_malloc.cc', |
'<(tcmalloc_dir)/src/memory_region_map.cc', |
'<(tcmalloc_dir)/src/memory_region_map.h', |
+ '<(tcmalloc_dir)/src/metadata_encode.h', |
+ '<(tcmalloc_dir)/src/metadata_encode_disabled.h', |
+ '<(tcmalloc_dir)/src/metadata_encode_posix.cc', |
+ '<(tcmalloc_dir)/src/metadata_encode_posix.h', |
'<(tcmalloc_dir)/src/packed-cache-inl.h', |
'<(tcmalloc_dir)/src/page_heap.cc', |
'<(tcmalloc_dir)/src/page_heap.h', |
@@ -268,7 +273,7 @@ |
'configurations': { |
'Debug': { |
'defines': |
- ['TCMALLOC_USE_DOUBLYLINKED_FREELIST'], |
+ ['TCMALLOC_HARDENED'], |
}, |
'Debug_Base': { |
'msvs_settings': { |