Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'jemalloc_dir': '../../third_party/jemalloc/chromium', | 7 'jemalloc_dir': '../../third_party/jemalloc/chromium', |
| 8 'tcmalloc_dir': '../../third_party/tcmalloc/chromium', | 8 'tcmalloc_dir': '../../third_party/tcmalloc/chromium', |
| 9 }, | 9 }, |
| 10 'targets': [ | 10 'targets': [ |
| 11 { | 11 { |
| 12 'target_name': 'allocator', | 12 'target_name': 'allocator', |
| 13 'type': 'static_library', | 13 'type': 'static_library', |
| 14 'defines' : ["TCMALLOC_SPAN_ENCRYPT"], | |
|
jschuh
2011/09/13 16:37:12
You'll probably want a flag in a main TCMalloc hea
bxx
2011/09/13 19:36:09
Done.
| |
| 14 'include_dirs': [ | 15 'include_dirs': [ |
| 15 '.', | 16 '.', |
| 16 '<(tcmalloc_dir)/src/base', | 17 '<(tcmalloc_dir)/src/base', |
| 17 '<(tcmalloc_dir)/src', | 18 '<(tcmalloc_dir)/src', |
| 18 '../..', | 19 '../..', |
| 19 ], | 20 ], |
| 20 'direct_dependent_settings': { | 21 'direct_dependent_settings': { |
| 21 'configurations': { | 22 'configurations': { |
| 22 'Common_Base': { | 23 'Common_Base': { |
| 23 'msvs_settings': { | 24 'msvs_settings': { |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 113 '<(tcmalloc_dir)/src/internal_logging.h', | 114 '<(tcmalloc_dir)/src/internal_logging.h', |
| 114 '<(tcmalloc_dir)/src/linked_list.h', | 115 '<(tcmalloc_dir)/src/linked_list.h', |
| 115 '<(tcmalloc_dir)/src/malloc_extension.cc', | 116 '<(tcmalloc_dir)/src/malloc_extension.cc', |
| 116 '<(tcmalloc_dir)/src/malloc_hook-inl.h', | 117 '<(tcmalloc_dir)/src/malloc_hook-inl.h', |
| 117 '<(tcmalloc_dir)/src/malloc_hook.cc', | 118 '<(tcmalloc_dir)/src/malloc_hook.cc', |
| 118 '<(tcmalloc_dir)/src/maybe_threads.cc', | 119 '<(tcmalloc_dir)/src/maybe_threads.cc', |
| 119 '<(tcmalloc_dir)/src/maybe_threads.h', | 120 '<(tcmalloc_dir)/src/maybe_threads.h', |
| 120 '<(tcmalloc_dir)/src/memfs_malloc.cc', | 121 '<(tcmalloc_dir)/src/memfs_malloc.cc', |
| 121 '<(tcmalloc_dir)/src/memory_region_map.cc', | 122 '<(tcmalloc_dir)/src/memory_region_map.cc', |
| 122 '<(tcmalloc_dir)/src/memory_region_map.h', | 123 '<(tcmalloc_dir)/src/memory_region_map.h', |
| 124 '<(tcmalloc_dir)/src/metadata_encrypt.h', | |
| 125 '<(tcmalloc_dir)/src/metadata_encrypt_disabled.h', | |
| 126 '<(tcmalloc_dir)/src/metadata_encrypt_generic.h', | |
| 123 '<(tcmalloc_dir)/src/packed-cache-inl.h', | 127 '<(tcmalloc_dir)/src/packed-cache-inl.h', |
| 124 '<(tcmalloc_dir)/src/page_heap.cc', | 128 '<(tcmalloc_dir)/src/page_heap.cc', |
| 125 '<(tcmalloc_dir)/src/page_heap.h', | 129 '<(tcmalloc_dir)/src/page_heap.h', |
| 126 '<(tcmalloc_dir)/src/page_heap_allocator.h', | 130 '<(tcmalloc_dir)/src/page_heap_allocator.h', |
| 127 '<(tcmalloc_dir)/src/pagemap.h', | 131 '<(tcmalloc_dir)/src/pagemap.h', |
| 128 '<(tcmalloc_dir)/src/profile-handler.cc', | 132 '<(tcmalloc_dir)/src/profile-handler.cc', |
| 129 '<(tcmalloc_dir)/src/profile-handler.h', | 133 '<(tcmalloc_dir)/src/profile-handler.h', |
| 130 '<(tcmalloc_dir)/src/profiledata.cc', | 134 '<(tcmalloc_dir)/src/profiledata.cc', |
| 131 '<(tcmalloc_dir)/src/profiledata.h', | 135 '<(tcmalloc_dir)/src/profiledata.h', |
| 132 '<(tcmalloc_dir)/src/profiler.cc', | 136 '<(tcmalloc_dir)/src/profiler.cc', |
| (...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 430 '$(VCInstallDir)lib', | 434 '$(VCInstallDir)lib', |
| 431 '<(SHARED_INTERMEDIATE_DIR)/allocator', | 435 '<(SHARED_INTERMEDIATE_DIR)/allocator', |
| 432 ], | 436 ], |
| 433 }, | 437 }, |
| 434 ], | 438 ], |
| 435 }, | 439 }, |
| 436 ], | 440 ], |
| 437 }], | 441 }], |
| 438 ], | 442 ], |
| 439 } | 443 } |
| OLD | NEW |