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

Side by Side Diff: third_party/tcmalloc/tcmalloc.gyp

Issue 206017: Issue 172109: Enable scavenging in RenderThread::IdleHandler.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « third_party/tcmalloc/tcmalloc.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 'includes': [ 6 'includes': [
7 '../../build/common.gypi', 7 '../../build/common.gypi',
8 ], 8 ],
9 'targets': [ 9 'targets': [
10 { 10 {
(...skipping 26 matching lines...) Expand all
37 'msvs_settings': { 37 'msvs_settings': {
38 'VCLinkerTool': { 38 'VCLinkerTool': {
39 'IgnoreDefaultLibraryNames': ['libcmtd.lib', 'libcmt.lib'], 39 'IgnoreDefaultLibraryNames': ['libcmtd.lib', 'libcmt.lib'],
40 'AdditionalDependencies': [ 40 'AdditionalDependencies': [
41 '<(SHARED_INTERMEDIATE_DIR)/tcmalloc/libcmt.lib' 41 '<(SHARED_INTERMEDIATE_DIR)/tcmalloc/libcmt.lib'
42 ], 42 ],
43 }, 43 },
44 }, 44 },
45 }, 45 },
46 }, 46 },
47 'conditions': [
48 ['OS=="win"', {
49 'defines': [
50 ['PERFTOOLS_DLL_DECL', '']
51 ],
52 }],
53 ],
47 }, 54 },
48 'sources': [ 55 'sources': [
49 'config.h', 56 'config.h',
50 'config_linux.h', 57 'config_linux.h',
51 'config_win.h', 58 'config_win.h',
52 59
53 # tcmalloc files 60 # tcmalloc files
54 'tcmalloc/src/base/dynamic_annotations.cc', 61 'tcmalloc/src/base/dynamic_annotations.cc',
55 'tcmalloc/src/base/dynamic_annotations.h', 62 'tcmalloc/src/base/dynamic_annotations.h',
56 'tcmalloc/src/base/logging.cc', 63 'tcmalloc/src/base/logging.cc',
57 'tcmalloc/src/base/logging.h', 64 'tcmalloc/src/base/logging.h',
58 'tcmalloc/src/base/low_level_alloc.cc', 65 'tcmalloc/src/base/low_level_alloc.cc',
59 'tcmalloc/src/base/low_level_alloc.h', 66 'tcmalloc/src/base/low_level_alloc.h',
60 'tcmalloc/src/base/spinlock.cc', 67 'tcmalloc/src/base/spinlock.cc',
61 'tcmalloc/src/base/spinlock.h', 68 'tcmalloc/src/base/spinlock.h',
62 'tcmalloc/src/base/sysinfo.cc', 69 'tcmalloc/src/base/sysinfo.cc',
63 'tcmalloc/src/base/sysinfo.h', 70 'tcmalloc/src/base/sysinfo.h',
64 'tcmalloc/src/central_freelist.cc', 71 'tcmalloc/src/central_freelist.cc',
65 'tcmalloc/src/central_freelist.h', 72 'tcmalloc/src/central_freelist.h',
66 'tcmalloc/src/common.cc', 73 'tcmalloc/src/common.cc',
67 'tcmalloc/src/common.h', 74 'tcmalloc/src/common.h',
68 'tcmalloc/src/heap-profile-table.cc', 75 'tcmalloc/src/heap-profile-table.cc',
69 'tcmalloc/src/heap-profile-table.h', 76 'tcmalloc/src/heap-profile-table.h',
70 'tcmalloc/src/internal_logging.cc', 77 'tcmalloc/src/internal_logging.cc',
71 'tcmalloc/src/internal_logging.h', 78 'tcmalloc/src/internal_logging.h',
72 'tcmalloc/src/linked_list.h', 79 'tcmalloc/src/linked_list.h',
73 'tcmalloc/src/malloc_extension.cc',
74 'tcmalloc/src/malloc_hook.cc', 80 'tcmalloc/src/malloc_hook.cc',
75 'tcmalloc/src/malloc_hook-inl.h', 81 'tcmalloc/src/malloc_hook-inl.h',
76 'tcmalloc/src/page_heap.cc', 82 'tcmalloc/src/page_heap.cc',
77 'tcmalloc/src/page_heap.h', 83 'tcmalloc/src/page_heap.h',
78 'tcmalloc/src/port.h', 84 'tcmalloc/src/port.h',
79 'tcmalloc/src/sampler.cc', 85 'tcmalloc/src/sampler.cc',
80 'tcmalloc/src/sampler.h', 86 'tcmalloc/src/sampler.h',
81 'tcmalloc/src/span.cc', 87 'tcmalloc/src/span.cc',
82 'tcmalloc/src/span.h', 88 'tcmalloc/src/span.h',
83 'tcmalloc/src/stack_trace_table.cc', 89 'tcmalloc/src/stack_trace_table.cc',
(...skipping 29 matching lines...) Expand all
113 'tcmalloc/src/profiledata.h', 119 'tcmalloc/src/profiledata.h',
114 'tcmalloc/src/profile-handler.cc', 120 'tcmalloc/src/profile-handler.cc',
115 'tcmalloc/src/profile-handler.h', 121 'tcmalloc/src/profile-handler.h',
116 'tcmalloc/src/profiler.cc', 122 'tcmalloc/src/profiler.cc',
117 'tcmalloc/src/raw_printer.cc', 123 'tcmalloc/src/raw_printer.cc',
118 'tcmalloc/src/raw_printer.h', 124 'tcmalloc/src/raw_printer.h',
119 125
120 # tcmalloc forked files 126 # tcmalloc forked files
121 'allocator_shim.cc', 127 'allocator_shim.cc',
122 'generic_allocators.cc', 128 'generic_allocators.cc',
129 'malloc_extension.cc',
130 'google/malloc_extension.h',
123 'page_heap.cc', 131 'page_heap.cc',
124 'page_heap.h', 132 'page_heap.h',
125 'port.cc', 133 'port.cc',
126 'system-alloc.h', 134 'system-alloc.h',
127 'tcmalloc.cc', 135 'tcmalloc.cc',
128 'win_allocator.cc', 136 'win_allocator.cc',
129 137
130 'malloc_hook.cc', 138 'malloc_hook.cc',
131 139
132 # jemalloc files 140 # jemalloc files
133 'jemalloc/jemalloc.c', 141 'jemalloc/jemalloc.c',
134 'jemalloc/jemalloc.h', 142 'jemalloc/jemalloc.h',
135 'jemalloc/ql.h', 143 'jemalloc/ql.h',
136 'jemalloc/qr.h', 144 'jemalloc/qr.h',
137 'jemalloc/rb.h', 145 'jemalloc/rb.h',
138 ], 146 ],
139 # sources! means that these are not compiled directly. 147 # sources! means that these are not compiled directly.
140 'sources!': [ 148 'sources!': [
141 'generic_allocators.cc', 149 'generic_allocators.cc',
142 'tcmalloc.cc', 150 'tcmalloc.cc',
143 'win_allocator.cc', 151 'win_allocator.cc',
152 'tcmalloc/src/malloc_extension.cc',
153 'tcmalloc/src/google/malloc_extension.h',
144 ], 154 ],
145 'msvs_settings': { 155 'msvs_settings': {
146 # TODO(sgk): merge this with build/common.gypi settings 156 # TODO(sgk): merge this with build/common.gypi settings
147 'VCLibrarianTool=': { 157 'VCLibrarianTool=': {
148 'AdditionalOptions': '/ignore:4006,4221', 158 'AdditionalOptions': '/ignore:4006,4221',
149 'AdditionalLibraryDirectories': 159 'AdditionalLibraryDirectories':
150 ['<(DEPTH)/third_party/platformsdk_win2008_6_1/files/Lib'], 160 ['<(DEPTH)/third_party/platformsdk_win2008_6_1/files/Lib'],
151 }, 161 },
152 'VCLinkerTool': { 162 'VCLinkerTool': {
153 'AdditionalOptions': '/ignore:4006', 163 'AdditionalOptions': '/ignore:4006',
154 }, 164 },
155 }, 165 },
156 'configurations': { 166 'configurations': {
157 'Debug': { 167 'Debug': {
158 'msvs_settings': { 168 'msvs_settings': {
159 'VCCLCompilerTool': { 169 'VCCLCompilerTool': {
160 'RuntimeLibrary': '0', 170 'RuntimeLibrary': '0',
161 }, 171 },
162 }, 172 },
163 }, 173 },
164 }, 174 },
165 'conditions': [ 175 'conditions': [
166 ['OS=="win"', { 176 ['OS=="win"', {
177 'defines': [
178 ['PERFTOOLS_DLL_DECL', '']
179 ],
167 'dependencies': [ 180 'dependencies': [
168 'libcmt', 181 'libcmt',
169 ], 182 ],
170 'include_dirs': [ 183 'include_dirs': [
171 'tcmalloc/src/windows', 184 'tcmalloc/src/windows',
172 ], 185 ],
173 'sources!': [ 186 'sources!': [
174 'tcmalloc/src/base/linuxthreads.cc', 187 'tcmalloc/src/base/linuxthreads.cc',
175 'tcmalloc/src/base/linuxthreads.h', 188 'tcmalloc/src/base/linuxthreads.h',
176 'tcmalloc/src/base/vdso_support.cc', 189 'tcmalloc/src/base/vdso_support.cc',
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 '$(VCInstallDir)lib', 270 '$(VCInstallDir)lib',
258 '<(SHARED_INTERMEDIATE_DIR)/tcmalloc', 271 '<(SHARED_INTERMEDIATE_DIR)/tcmalloc',
259 ], 272 ],
260 }, 273 },
261 ], 274 ],
262 }, 275 },
263 ], 276 ],
264 }], 277 }],
265 ], 278 ],
266 } 279 }
OLDNEW
« no previous file with comments | « third_party/tcmalloc/tcmalloc.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698