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

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

Issue 173387: Linux: add gyp flag for enabling tcmalloc. (Closed)
Patch Set: Disable tc_mallinfo since it breaks windows. Created 11 years, 4 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
« no previous file with comments | « third_party/tcmalloc/google/tcmalloc.h ('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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 'link_settings': { 228 'link_settings': {
229 'ldflags': [ 229 'ldflags': [
230 # Don't let linker rip this symbol out, otherwise the heap&cpu 230 # Don't let linker rip this symbol out, otherwise the heap&cpu
231 # profilers will not initialize properly on startup. 231 # profilers will not initialize properly on startup.
232 '-Wl,-uIsHeapProfilerRunning,-uProfilerStart', 232 '-Wl,-uIsHeapProfilerRunning,-uProfilerStart',
233 ], 233 ],
234 }, 234 },
235 }], 235 }],
236 ], 236 ],
237 }, 237 },
238 { 238 ],
239 'target_name': 'libcmt', 239 'conditions': [
240 'type': 'none', 240 ['OS=="win"', {
241 'actions': [ 241 'targets': [
242 { 242 {
243 'action_name': 'libcmt', 243 'target_name': 'libcmt',
244 'inputs': [ 244 'type': 'none',
245 'prep_libc.sh', 245 'actions': [
246 ], 246 {
247 'outputs': [ 247 'action_name': 'libcmt',
248 '<(SHARED_INTERMEDIATE_DIR)/tcmalloc/libcmt.lib', 248 'inputs': [
249 ], 249 'prep_libc.sh',
250 'action': [ 250 ],
251 './prep_libc.sh', 251 'outputs': [
252 '$(VCInstallDir)lib', 252 '<(SHARED_INTERMEDIATE_DIR)/tcmalloc/libcmt.lib',
253 '<(SHARED_INTERMEDIATE_DIR)/tcmalloc', 253 ],
254 'action': [
255 './prep_libc.sh',
256 '$(VCInstallDir)lib',
257 '<(SHARED_INTERMEDIATE_DIR)/tcmalloc',
258 ],
259 },
254 ], 260 ],
255 }, 261 },
256 ], 262 ],
257 }, 263 }],
258 ], 264 ],
259 } 265 }
OLDNEW
« no previous file with comments | « third_party/tcmalloc/google/tcmalloc.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698