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