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

Side by Side Diff: tools/gyp/configurations_make.gypi

Issue 2316813002: Use tcmalloc on Linux (Closed)
Patch Set: Don't use tcmalloc in an ASAN build Created 4 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
« no previous file with comments | « tools/gyp/configurations.gypi ('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) 2011, the Dart project authors. Please see the AUTHORS file 1 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 # for details. All rights reserved. Use of this source code is governed by a 2 # for details. All rights reserved. Use of this source code is governed by a
3 # BSD-style license that can be found in the LICENSE file. 3 # BSD-style license that can be found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 'dart_debug_optimization_level%': '2', 7 'dart_debug_optimization_level%': '2',
8 }, 8 },
9 'target_defaults': { 9 'target_defaults': {
10 'configurations': { 10 'configurations': {
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 '-m32', 292 '-m32',
293 '-msse2', 293 '-msse2',
294 '-mfpmath=sse', 294 '-mfpmath=sse',
295 ], 295 ],
296 'ldflags': [ 296 'ldflags': [
297 '-m32', 297 '-m32',
298 ], 298 ],
299 }]] 299 }]]
300 }, 300 },
301 301
302 # These flags are needed for tcmalloc to be able to collect stack traces
303 # for heap profiling on mips.
304 'Dart_Linux_xmips_Debug': {
305 'abstract': 1,
306 'target_conditions': [
307 ['_toolset=="target"', {
308 'cflags!': [
309 '-fno-exceptions',
310 ],
311 'cflags': [
312 '-fexceptions',
313 '-funwind-tables',
314 ],
315 }],
316 ],
317 },
318
319 # These flags are needed for tcmalloc to be able to collect stack traces
320 # for heap profiling on mips.
321 'Dart_Linux_xmips_Release': {
322 'abstract': 1,
323 'target_conditions': [
324 ['_toolset=="target"', {
325 'cflags!': [
326 '-fno-exceptions',
327 ],
328 'cflags': [
329 '-fexceptions',
330 '-funwind-tables',
331 ],
332 }],
333 ],
334 },
335
302 # MIPS native build 336 # MIPS native build
303 'Dart_Linux_mips_Base': { 337 'Dart_Linux_mips_Base': {
304 'abstract': 1, 338 'abstract': 1,
305 'cflags': [ 339 'cflags': [
306 '-march=mips32', 340 '-march=mips32',
307 '-mhard-float', 341 '-mhard-float',
308 '-fno-strict-overflow', 342 '-fno-strict-overflow',
309 ], 343 ],
310 }, 344 },
311 345
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 '-ffunction-sections', 378 '-ffunction-sections',
345 '-fomit-frame-pointer', 379 '-fomit-frame-pointer',
346 ], 380 ],
347 'ldflags': [ 381 'ldflags': [
348 '-Wl,--gc-sections', 382 '-Wl,--gc-sections',
349 ], 383 ],
350 }, 384 },
351 }, 385 },
352 }, 386 },
353 } 387 }
OLDNEW
« no previous file with comments | « tools/gyp/configurations.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698