OLD | NEW |
1 # Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 # Copyright (c) 2014, 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 import("gypi_contents.gni") | 5 import("gypi_contents.gni") |
6 import("../runtime_args.gni") | 6 import("../runtime_args.gni") |
7 | 7 |
8 # Generate a resources.cc file for the service isolate without Observatory. | 8 # Generate a resources.cc file for the service isolate without Observatory. |
9 action("gen_resources_cc") { | 9 action("gen_resources_cc") { |
10 visibility = [ ":*" ] # Only targets in this file can see this. | 10 visibility = [ ":*" ] # Only targets in this file can see this. |
(...skipping 602 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
613 | 613 |
614 dart_executable("dart") { | 614 dart_executable("dart") { |
615 extra_deps = [ | 615 extra_deps = [ |
616 "..:libdart", | 616 "..:libdart", |
617 ":dart_snapshot_cc", | 617 ":dart_snapshot_cc", |
618 "../observatory:standalone_observatory_archive", | 618 "../observatory:standalone_observatory_archive", |
619 ] | 619 ] |
620 extra_sources = [ "builtin_nolib.cc" ] | 620 extra_sources = [ "builtin_nolib.cc" ] |
621 } | 621 } |
622 | 622 |
623 dart_executable("dart_noopt") { | |
624 extra_configs = [ "..:dart_precompiler_config" ] | |
625 extra_deps = [ | |
626 "..:libdart_noopt", | |
627 ":dart_snapshot_cc", | |
628 "../observatory:standalone_observatory_archive", | |
629 ] | |
630 extra_sources = [ "builtin_nolib.cc" ] | |
631 } | |
632 | |
633 dart_executable("dart_precompiled_runtime") { | 623 dart_executable("dart_precompiled_runtime") { |
634 extra_configs = [ "..:dart_precompiled_runtime_config" ] | 624 extra_configs = [ "..:dart_precompiled_runtime_config" ] |
635 extra_deps = [ | 625 extra_deps = [ |
636 "..:libdart_precompiled_runtime", | 626 "..:libdart_precompiled_runtime", |
637 "../observatory:standalone_observatory_archive", | 627 "../observatory:standalone_observatory_archive", |
638 ] | 628 ] |
639 extra_sources = [ | 629 extra_sources = [ |
640 "builtin_nolib.cc", | 630 "builtin_nolib.cc", |
641 "snapshot_empty.cc", | 631 "snapshot_empty.cc", |
642 ] | 632 ] |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
850 defines = [ | 840 defines = [ |
851 # The only effect of DART_SHARED_LIB is to export the Dart API. | 841 # The only effect of DART_SHARED_LIB is to export the Dart API. |
852 "DART_SHARED_LIB", | 842 "DART_SHARED_LIB", |
853 ] | 843 ] |
854 if (is_win) { | 844 if (is_win) { |
855 libs = [ "dart.lib" ] | 845 libs = [ "dart.lib" ] |
856 abs_root_out_dir = rebase_path(root_out_dir) | 846 abs_root_out_dir = rebase_path(root_out_dir) |
857 ldflags = [ "/LIBPATH:$abs_root_out_dir" ] | 847 ldflags = [ "/LIBPATH:$abs_root_out_dir" ] |
858 } | 848 } |
859 } | 849 } |
OLD | NEW |