| 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 | 6 |
| 7 declare_args() { | 7 declare_args() { |
| 8 # Whether to fall back to built-in root certificates when they cannot be | 8 # Whether to fall back to built-in root certificates when they cannot be |
| 9 # verified at the operating system level. | 9 # verified at the operating system level. |
| 10 dart_use_fallback_root_certificates = false | 10 dart_use_fallback_root_certificates = false |
| (...skipping 589 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 600 "iphlpapi.lib", | 600 "iphlpapi.lib", |
| 601 "psapi.lib", | 601 "psapi.lib", |
| 602 "ws2_32.lib", | 602 "ws2_32.lib", |
| 603 "Rpcrt4.lib", | 603 "Rpcrt4.lib", |
| 604 "winmm.lib", | 604 "winmm.lib", |
| 605 ] | 605 ] |
| 606 } | 606 } |
| 607 } | 607 } |
| 608 } | 608 } |
| 609 | 609 |
| 610 if (!defined(is_fuchsia) || !is_fuchsia) { | 610 dart_executable("dart") { |
| 611 dart_executable("dart") { | 611 extra_deps = [ |
| 612 extra_deps = [ | 612 "..:libdart", |
| 613 "..:libdart", | 613 ":dart_snapshot_cc", |
| 614 ":dart_snapshot_cc", | 614 "../observatory:standalone_observatory_archive", |
| 615 "../observatory:standalone_observatory_archive", | 615 ] |
| 616 ] | 616 extra_sources = [ "builtin_nolib.cc" ] |
| 617 extra_sources = [ "builtin_nolib.cc" ] | 617 } |
| 618 } | |
| 619 | 618 |
| 620 dart_executable("dart_noopt") { | 619 dart_executable("dart_noopt") { |
| 621 extra_configs = [ "..:dart_precompiler_config" ] | 620 extra_configs = [ "..:dart_precompiler_config" ] |
| 622 extra_deps = [ | 621 extra_deps = [ |
| 623 "..:libdart_noopt", | 622 "..:libdart_noopt", |
| 624 ":dart_snapshot_cc", | 623 ":dart_snapshot_cc", |
| 625 "../observatory:standalone_observatory_archive", | 624 "../observatory:standalone_observatory_archive", |
| 626 ] | 625 ] |
| 627 extra_sources = [ "builtin_nolib.cc" ] | 626 extra_sources = [ "builtin_nolib.cc" ] |
| 628 } | 627 } |
| 629 | 628 |
| 630 dart_executable("dart_precompiled_runtime") { | 629 dart_executable("dart_precompiled_runtime") { |
| 631 extra_configs = [ "..:dart_precompiled_runtime_config" ] | 630 extra_configs = [ "..:dart_precompiled_runtime_config" ] |
| 632 extra_deps = [ | 631 extra_deps = [ |
| 633 "..:libdart_precompiled_runtime", | 632 "..:libdart_precompiled_runtime", |
| 634 "../observatory:standalone_observatory_archive", | 633 "../observatory:standalone_observatory_archive", |
| 635 ] | 634 ] |
| 636 extra_sources = [ | 635 extra_sources = [ |
| 637 "builtin_nolib.cc", | 636 "builtin_nolib.cc", |
| 638 "snapshot_empty.cc", | 637 "snapshot_empty.cc", |
| 639 ] | 638 ] |
| 640 } | |
| 641 } | 639 } |
| 642 | 640 |
| 643 dart_executable("dart_bootstrap") { | 641 dart_executable("dart_bootstrap") { |
| 644 extra_configs = [ | 642 extra_configs = [ |
| 645 "..:dart_precompiler_config", | 643 "..:dart_precompiler_config", |
| 646 "..:dart_no_snapshot_config", | 644 "..:dart_no_snapshot_config", |
| 647 ] | 645 ] |
| 648 extra_deps = [ | 646 extra_deps = [ |
| 649 ":generate_builtin_cc_file", | 647 ":generate_builtin_cc_file", |
| 650 ":generate_io_cc_file", | 648 ":generate_io_cc_file", |
| (...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 849 # The only effect of DART_SHARED_LIB is to export the Dart API. | 847 # The only effect of DART_SHARED_LIB is to export the Dart API. |
| 850 "DART_SHARED_LIB", | 848 "DART_SHARED_LIB", |
| 851 ] | 849 ] |
| 852 if (is_win) { | 850 if (is_win) { |
| 853 libs = [ "dart.lib" ] | 851 libs = [ "dart.lib" ] |
| 854 abs_root_out_dir = rebase_path(root_out_dir) | 852 abs_root_out_dir = rebase_path(root_out_dir) |
| 855 ldflags = [ "/LIBPATH:$abs_root_out_dir" ] | 853 ldflags = [ "/LIBPATH:$abs_root_out_dir" ] |
| 856 } | 854 } |
| 857 } | 855 } |
| 858 } | 856 } |
| OLD | NEW |