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 608 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
619 'Dart_Linux_Base': { | 619 'Dart_Linux_Base': { |
620 # Have the linker add all symbols to the dynamic symbol table | 620 # Have the linker add all symbols to the dynamic symbol table |
621 # so that extensions can look them up dynamically in the binary. | 621 # so that extensions can look them up dynamically in the binary. |
622 'ldflags': [ | 622 'ldflags': [ |
623 '-rdynamic', | 623 '-rdynamic', |
624 ], | 624 ], |
625 }, | 625 }, |
626 }, | 626 }, |
627 }, | 627 }, |
628 { | 628 { |
629 # dart binary for running precompiled snapshots without the compiler. | |
630 'target_name': 'dart_precompiled', | |
631 'type': 'executable', | |
632 'dependencies': [ | |
633 'libdart_precompiled', | |
634 'libdart_builtin', | |
635 'libdart_io', | |
636 'build_observatory#host', | |
637 'generate_snapshot_file#host', | |
rmacnak
2015/11/17 20:51:18
Stub out this not-precompiled snapshot too.
Florian Schneider
2015/11/18 11:44:08
Done.
| |
638 'generate_resources_cc_file#host', | |
639 'generate_observatory_assets_cc_file#host', | |
640 ], | |
641 'include_dirs': [ | |
642 '..', | |
643 ], | |
644 'sources': [ | |
645 'main.cc', | |
646 'builtin_common.cc', | |
647 'builtin_natives.cc', | |
648 'builtin_nolib.cc', | |
649 'builtin.h', | |
650 'io_natives.h', | |
651 'vmservice_impl.cc', | |
652 'vmservice_impl.h', | |
653 '<(snapshot_cc_file)', | |
rmacnak
2015/11/17 20:51:18
Stub out this not-precompiled snapshot too.
Florian Schneider
2015/11/18 11:44:08
Done. Replaced with snapshot_empty.cc. This cuts o
| |
654 '<(resources_cc_file)', | |
655 '<(observatory_assets_cc_file)', | |
656 ], | |
657 'conditions': [ | |
658 ['OS=="win"', { | |
659 'link_settings': { | |
660 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib', '-lwinmm.lib' ], | |
661 }, | |
662 # Generate an import library on Windows, by exporting a function. | |
663 # Extensions use this import library to link to the API in dart.exe. | |
664 'msvs_settings': { | |
665 'VCLinkerTool': { | |
666 'AdditionalOptions': [ '/EXPORT:Dart_True' ], | |
667 }, | |
668 }, | |
669 }], | |
670 ], | |
671 }, | |
672 { | |
629 # dart binary built for the host. It does not use a snapshot | 673 # dart binary built for the host. It does not use a snapshot |
630 # and does not include Observatory. | 674 # and does not include Observatory. |
631 'target_name': 'dart_bootstrap', | 675 'target_name': 'dart_bootstrap', |
632 'type': 'executable', | 676 'type': 'executable', |
633 'toolsets':['host'], | 677 'toolsets':['host'], |
634 'dependencies': [ | 678 'dependencies': [ |
635 'libdart_nosnapshot', | 679 'libdart_nosnapshot', |
636 'libdart_builtin', | 680 'libdart_builtin', |
637 'libdart_io', | 681 'libdart_io', |
638 'generate_bootstrap_resources_cc_file#host', | 682 'generate_bootstrap_resources_cc_file#host', |
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
844 }], | 888 }], |
845 ['OS=="linux"', { | 889 ['OS=="linux"', { |
846 'cflags': [ | 890 'cflags': [ |
847 '-fPIC', | 891 '-fPIC', |
848 ], | 892 ], |
849 }], | 893 }], |
850 ], | 894 ], |
851 }, | 895 }, |
852 ], | 896 ], |
853 } | 897 } |
OLD | NEW |