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 1310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1321 'libdart_io', | 1321 'libdart_io', |
1322 'generate_snapshot_file#host', | 1322 'generate_snapshot_file#host', |
1323 'generate_snapshot_test_dat_file#host', | 1323 'generate_snapshot_test_dat_file#host', |
1324 ], | 1324 ], |
1325 'include_dirs': [ | 1325 'include_dirs': [ |
1326 '..', | 1326 '..', |
1327 '<(gen_source_dir)', | 1327 '<(gen_source_dir)', |
1328 ], | 1328 ], |
1329 'sources': [ | 1329 'sources': [ |
1330 'run_vm_tests.cc', | 1330 'run_vm_tests.cc', |
| 1331 'error_exit.cc', |
| 1332 'error_exit.h', |
1331 'builtin_common.cc', | 1333 'builtin_common.cc', |
1332 'builtin_natives.cc', | 1334 'builtin_natives.cc', |
1333 'builtin_nolib.cc', | 1335 'builtin_nolib.cc', |
1334 'builtin.h', | 1336 'builtin.h', |
1335 'io_natives.h', | 1337 'io_natives.h', |
1336 'loader.cc', | 1338 'loader.cc', |
1337 'loader.h', | 1339 'loader.h', |
| 1340 'snapshot_utils.cc', |
| 1341 'snapshot_utils.h', |
1338 # Include generated source files. | 1342 # Include generated source files. |
1339 '<(snapshot_cc_file)', | 1343 '<(snapshot_cc_file)', |
1340 '<(builtin_cc_file)', | 1344 '<(builtin_cc_file)', |
1341 '<(io_cc_file)', | 1345 '<(io_cc_file)', |
1342 '<(io_patch_cc_file)', | 1346 '<(io_patch_cc_file)', |
1343 ], | 1347 ], |
1344 'includes': [ | 1348 'includes': [ |
1345 'builtin_impl_sources.gypi', | 1349 'builtin_impl_sources.gypi', |
1346 '../platform/platform_sources.gypi', | 1350 '../platform/platform_sources.gypi', |
1347 '../vm/vm_sources.gypi', | 1351 '../vm/vm_sources.gypi', |
1348 ], | 1352 ], |
1349 'defines': [ | 1353 'defines': [ |
1350 'TESTING', | 1354 'TESTING', |
1351 ], | 1355 ], |
1352 # Only include _test.[cc|h] files. | 1356 # Only include _test.[cc|h] files. |
1353 'sources/': [ | 1357 'sources/': [ |
1354 ['exclude', '\\.(cc|h)$'], | 1358 ['exclude', '\\.(cc|h)$'], |
1355 ['include', 'run_vm_tests.cc'], | 1359 ['include', 'run_vm_tests.cc'], |
| 1360 ['include', 'error_exit.cc'], |
1356 ['include', 'builtin_nolib.cc'], | 1361 ['include', 'builtin_nolib.cc'], |
1357 ['include', 'builtin_natives.cc'], | 1362 ['include', 'builtin_natives.cc'], |
| 1363 ['include', 'snapshot_utils.cc'], |
1358 ['include', '_gen\\.cc$'], | 1364 ['include', '_gen\\.cc$'], |
1359 ['include', '_test\\.(cc|h)$'], | 1365 ['include', '_test\\.(cc|h)$'], |
1360 ], | 1366 ], |
1361 'conditions': [ | 1367 'conditions': [ |
1362 ['OS=="win"', { | 1368 ['OS=="win"', { |
1363 'link_settings': { | 1369 'link_settings': { |
1364 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib', '-lwinmm.lib' ], | 1370 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib', '-lwinmm.lib' ], |
1365 }, | 1371 }, |
1366 }], | 1372 }], |
1367 ['OS == "linux" and asan == 0 and msan == 0 and tsan == 0', { | 1373 ['OS == "linux" and asan == 0 and msan == 0 and tsan == 0', { |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1420 }], | 1426 }], |
1421 ['OS=="linux"', { | 1427 ['OS=="linux"', { |
1422 'cflags': [ | 1428 'cflags': [ |
1423 '-fPIC', | 1429 '-fPIC', |
1424 ], | 1430 ], |
1425 }], | 1431 }], |
1426 ], | 1432 ], |
1427 }, | 1433 }, |
1428 ], | 1434 ], |
1429 } | 1435 } |
OLD | NEW |