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

Side by Side Diff: runtime/bin/bin.gypi

Issue 2619443002: Created placeholders for MallocHooks implementation and added define DART_USE_TCMALLOC to specifiy … (Closed)
Patch Set: Removed extra dependencies and corrected some code style issues. Created 3 years, 11 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 | « runtime/bin/BUILD.gn ('k') | runtime/runtime_args.gni » ('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 1133 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 and msan == 0 and tsan == 0', { 1150 ['OS == "linux" and asan == 0 and msan == 0 and tsan == 0', {
1151 'dependencies': [ 1151 'dependencies': [
1152 '../third_party/tcmalloc/tcmalloc.gypi:tcmalloc', 1152 '../third_party/tcmalloc/tcmalloc.gypi:tcmalloc',
1153 ], 1153 ],
1154 'defines': [
1155 'DART_USE_TCMALLOC'
1156 ],
1154 }], 1157 }],
1155 ], 1158 ],
1156 'configurations': { 1159 'configurations': {
1157 'Dart_Linux_Base': { 1160 'Dart_Linux_Base': {
1158 # Have the linker add all symbols to the dynamic symbol table 1161 # Have the linker add all symbols to the dynamic symbol table
1159 # so that extensions can look them up dynamically in the binary. 1162 # so that extensions can look them up dynamically in the binary.
1160 'ldflags': [ 1163 'ldflags': [
1161 '-rdynamic', 1164 '-rdynamic',
1162 ], 1165 ],
1163 }, 1166 },
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
1395 'conditions': [ 1398 'conditions': [
1396 ['OS=="win"', { 1399 ['OS=="win"', {
1397 'link_settings': { 1400 'link_settings': {
1398 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib', '-lwinmm.lib' ], 1401 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib', '-lwinmm.lib' ],
1399 }, 1402 },
1400 }], 1403 }],
1401 ['OS == "linux" and asan == 0 and msan == 0 and tsan == 0', { 1404 ['OS == "linux" and asan == 0 and msan == 0 and tsan == 0', {
1402 'dependencies': [ 1405 'dependencies': [
1403 '../third_party/tcmalloc/tcmalloc.gypi:tcmalloc', 1406 '../third_party/tcmalloc/tcmalloc.gypi:tcmalloc',
1404 ], 1407 ],
1408 'defines': [
1409 'DART_USE_TCMALLOC'
1410 ],
1405 }], 1411 }],
1406 ], 1412 ],
1407 'configurations': { 1413 'configurations': {
1408 'Dart_Linux_Base': { 1414 'Dart_Linux_Base': {
1409 # Have the linker add all symbols to the dynamic symbol table 1415 # Have the linker add all symbols to the dynamic symbol table
1410 # so that extensions can look them up dynamically in the binary. 1416 # so that extensions can look them up dynamically in the binary.
1411 'ldflags': [ 1417 'ldflags': [
1412 '-rdynamic', 1418 '-rdynamic',
1413 ], 1419 ],
1414 }, 1420 },
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
1454 }], 1460 }],
1455 ['OS=="linux"', { 1461 ['OS=="linux"', {
1456 'cflags': [ 1462 'cflags': [
1457 '-fPIC', 1463 '-fPIC',
1458 ], 1464 ],
1459 }], 1465 }],
1460 ], 1466 ],
1461 }, 1467 },
1462 ], 1468 ],
1463 } 1469 }
OLDNEW
« no previous file with comments | « runtime/bin/BUILD.gn ('k') | runtime/runtime_args.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698