OLD | NEW |
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 Loading... |
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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1338 'conditions': [ | 1341 'conditions': [ |
1339 ['OS=="win"', { | 1342 ['OS=="win"', { |
1340 'link_settings': { | 1343 'link_settings': { |
1341 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib', '-lwinmm.lib' ], | 1344 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib', '-lwinmm.lib' ], |
1342 }, | 1345 }, |
1343 }], | 1346 }], |
1344 ['OS == "linux" and asan == 0 and msan == 0 and tsan == 0', { | 1347 ['OS == "linux" and asan == 0 and msan == 0 and tsan == 0', { |
1345 'dependencies': [ | 1348 'dependencies': [ |
1346 '../third_party/tcmalloc/tcmalloc.gypi:tcmalloc', | 1349 '../third_party/tcmalloc/tcmalloc.gypi:tcmalloc', |
1347 ], | 1350 ], |
| 1351 'defines': [ |
| 1352 'DART_USE_TCMALLOC' |
| 1353 ], |
1348 }], | 1354 }], |
1349 ], | 1355 ], |
1350 'configurations': { | 1356 'configurations': { |
1351 'Dart_Linux_Base': { | 1357 'Dart_Linux_Base': { |
1352 # Have the linker add all symbols to the dynamic symbol table | 1358 # Have the linker add all symbols to the dynamic symbol table |
1353 # so that extensions can look them up dynamically in the binary. | 1359 # so that extensions can look them up dynamically in the binary. |
1354 'ldflags': [ | 1360 'ldflags': [ |
1355 '-rdynamic', | 1361 '-rdynamic', |
1356 ], | 1362 ], |
1357 }, | 1363 }, |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1397 }], | 1403 }], |
1398 ['OS=="linux"', { | 1404 ['OS=="linux"', { |
1399 'cflags': [ | 1405 'cflags': [ |
1400 '-fPIC', | 1406 '-fPIC', |
1401 ], | 1407 ], |
1402 }], | 1408 }], |
1403 ], | 1409 ], |
1404 }, | 1410 }, |
1405 ], | 1411 ], |
1406 } | 1412 } |
OLD | NEW |