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 521 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
532 ], | 532 ], |
533 'conditions': [ | 533 'conditions': [ |
534 ['OS=="win"', { | 534 ['OS=="win"', { |
535 'link_settings': { | 535 'link_settings': { |
536 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib', '-lwinmm.lib' ], | 536 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib', '-lwinmm.lib' ], |
537 }, | 537 }, |
538 }], | 538 }], |
539 ], | 539 ], |
540 }, | 540 }, |
541 { | 541 { |
542 'target_name': 'run_vm_tests.host', | |
543 'type': 'executable', | |
544 'toolsets':['host'], | |
545 'dependencies': [ | |
546 'libdart_withcore', | |
547 'libdart_builtin', | |
548 'generate_snapshot_file#host', | |
549 'generate_snapshot_test_dat_file#host', | |
550 ], | |
551 'include_dirs': [ | |
552 '..', | |
553 '<(gen_source_dir)', | |
554 ], | |
555 'sources': [ | |
556 'run_vm_tests.cc', | |
557 'builtin_natives.cc', | |
558 'builtin_nolib.cc', | |
559 'builtin.h', | |
560 'io_natives.h', | |
561 # Include generated source files. | |
562 '<(snapshot_cc_file)', | |
563 '<(builtin_cc_file)', | |
564 '<(io_cc_file)', | |
565 '<(io_patch_cc_file)', | |
566 ], | |
567 'includes': [ | |
568 'builtin_impl_sources.gypi', | |
569 '../platform/platform_sources.gypi', | |
570 '../vm/vm_sources.gypi', | |
571 ], | |
572 'defines': [ | |
573 'TESTING', | |
574 ], | |
575 # Only include _test.[cc|h] files. | |
576 'sources/': [ | |
577 ['exclude', '\\.(cc|h)$'], | |
578 ['include', 'run_vm_tests.cc'], | |
579 ['include', 'builtin_nolib.cc'], | |
580 ['include', 'builtin_natives.cc'], | |
581 ['include', '_gen\\.cc$'], | |
582 ['include', '_test\\.(cc|h)$'], | |
583 ], | |
584 'conditions': [ | |
585 ['OS=="win"', { | |
586 'link_settings': { | |
587 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib', '-lwinmm.lib' ], | |
588 }, | |
589 }], | |
590 ], | |
591 }, | |
592 { | |
593 'target_name': 'test_extension', | 542 'target_name': 'test_extension', |
594 'type': 'shared_library', | 543 'type': 'shared_library', |
595 'dependencies': [ | 544 'dependencies': [ |
596 'dart', | 545 'dart', |
597 ], | 546 ], |
598 'include_dirs': [ | 547 'include_dirs': [ |
599 '..', | 548 '..', |
600 ], | 549 ], |
601 'cflags!': [ | 550 'cflags!': [ |
602 '-Wnon-virtual-dtor', | 551 '-Wnon-virtual-dtor', |
(...skipping 26 matching lines...) Expand all Loading... |
629 }], | 578 }], |
630 ['OS=="linux"', { | 579 ['OS=="linux"', { |
631 'cflags': [ | 580 'cflags': [ |
632 '-fPIC', | 581 '-fPIC', |
633 ], | 582 ], |
634 }], | 583 }], |
635 ], | 584 ], |
636 }, | 585 }, |
637 ], | 586 ], |
638 } | 587 } |
OLD | NEW |