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

Side by Side Diff: runtime/bin/bin.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 | « DEPS ('k') | runtime/tools/gyp/runtime-configurations.gypi » ('j') | 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) 2012, the Dart project authors. Please see the AUTHORS file 1 # Copyright (c) 2012, 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 'gen_source_dir': '<(SHARED_INTERMEDIATE_DIR)', 7 'gen_source_dir': '<(SHARED_INTERMEDIATE_DIR)',
8 8
9 'io_cc_file': '<(gen_source_dir)/io_gen.cc', 9 'io_cc_file': '<(gen_source_dir)/io_gen.cc',
10 'io_patch_cc_file': '<(gen_source_dir)/io_patch_gen.cc', 10 'io_patch_cc_file': '<(gen_source_dir)/io_patch_gen.cc',
(...skipping 1129 matching lines...) Expand 10 before | Expand all | Expand 10 after
1140 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib', '-lwinmm.lib' ], 1140 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib', '-lwinmm.lib' ],
1141 }, 1141 },
1142 # Generate an import library on Windows, by exporting a function. 1142 # Generate an import library on Windows, by exporting a function.
1143 # Extensions use this import library to link to the API in dart.exe. 1143 # Extensions use this import library to link to the API in dart.exe.
1144 'msvs_settings': { 1144 'msvs_settings': {
1145 'VCLinkerTool': { 1145 'VCLinkerTool': {
1146 'AdditionalOptions': [ '/EXPORT:Dart_True' ], 1146 'AdditionalOptions': [ '/EXPORT:Dart_True' ],
1147 }, 1147 },
1148 }, 1148 },
1149 }], 1149 }],
1150 ['OS == "linux" and asan == 0', {
1151 'dependencies': [
1152 '../third_party/tcmalloc/tcmalloc.gypi:tcmalloc',
1153 ],
1154 }],
1150 ], 1155 ],
1151 'configurations': { 1156 'configurations': {
1152 'Dart_Linux_Base': { 1157 'Dart_Linux_Base': {
1153 # Have the linker add all symbols to the dynamic symbol table 1158 # Have the linker add all symbols to the dynamic symbol table
1154 # so that extensions can look them up dynamically in the binary. 1159 # so that extensions can look them up dynamically in the binary.
1155 'ldflags': [ 1160 'ldflags': [
1156 '-rdynamic', 1161 '-rdynamic',
1157 ], 1162 ],
1158 }, 1163 },
1159 }, 1164 },
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
1386 ['include', 'builtin_natives.cc'], 1391 ['include', 'builtin_natives.cc'],
1387 ['include', '_gen\\.cc$'], 1392 ['include', '_gen\\.cc$'],
1388 ['include', '_test\\.(cc|h)$'], 1393 ['include', '_test\\.(cc|h)$'],
1389 ], 1394 ],
1390 'conditions': [ 1395 'conditions': [
1391 ['OS=="win"', { 1396 ['OS=="win"', {
1392 'link_settings': { 1397 'link_settings': {
1393 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib', '-lwinmm.lib' ], 1398 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib', '-lwinmm.lib' ],
1394 }, 1399 },
1395 }], 1400 }],
1401 ['OS == "linux" and asan == 0', {
1402 'dependencies': [
1403 '../third_party/tcmalloc/tcmalloc.gypi:tcmalloc',
1404 ],
1405 }],
1396 ], 1406 ],
1397 'configurations': { 1407 'configurations': {
1398 'Dart_Linux_Base': { 1408 'Dart_Linux_Base': {
1399 # Have the linker add all symbols to the dynamic symbol table 1409 # Have the linker add all symbols to the dynamic symbol table
1400 # so that extensions can look them up dynamically in the binary. 1410 # so that extensions can look them up dynamically in the binary.
1401 'ldflags': [ 1411 'ldflags': [
1402 '-rdynamic', 1412 '-rdynamic',
1403 ], 1413 ],
1404 }, 1414 },
1405 }, 1415 },
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
1444 }], 1454 }],
1445 ['OS=="linux"', { 1455 ['OS=="linux"', {
1446 'cflags': [ 1456 'cflags': [
1447 '-fPIC', 1457 '-fPIC',
1448 ], 1458 ],
1449 }], 1459 }],
1450 ], 1460 ],
1451 }, 1461 },
1452 ], 1462 ],
1453 } 1463 }
OLDNEW
« no previous file with comments | « DEPS ('k') | runtime/tools/gyp/runtime-configurations.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698