| 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 dart_executable("dart") { | 610 if (!defined(is_fuchsia) || !is_fuchsia) { |
| 611 extra_deps = [ | 611 dart_executable("dart") { |
| 612 "..:libdart", | 612 extra_deps = [ |
| 613 ":dart_snapshot_cc", | 613 "..:libdart", |
| 614 "../observatory:standalone_observatory_archive", | 614 ":dart_snapshot_cc", |
| 615 ] | 615 "../observatory:standalone_observatory_archive", |
| 616 extra_sources = [ "builtin_nolib.cc" ] | 616 ] |
| 617 } | 617 extra_sources = [ "builtin_nolib.cc" ] |
| 618 } |
| 618 | 619 |
| 619 dart_executable("dart_noopt") { | 620 dart_executable("dart_noopt") { |
| 620 extra_configs = [ "..:dart_precompiler_config" ] | 621 extra_configs = [ "..:dart_precompiler_config" ] |
| 621 extra_deps = [ | 622 extra_deps = [ |
| 622 "..:libdart_noopt", | 623 "..:libdart_noopt", |
| 623 ":dart_snapshot_cc", | 624 ":dart_snapshot_cc", |
| 624 "../observatory:standalone_observatory_archive", | 625 "../observatory:standalone_observatory_archive", |
| 625 ] | 626 ] |
| 626 extra_sources = [ "builtin_nolib.cc" ] | 627 extra_sources = [ "builtin_nolib.cc" ] |
| 627 } | 628 } |
| 628 | 629 |
| 629 dart_executable("dart_precompiled_runtime") { | 630 dart_executable("dart_precompiled_runtime") { |
| 630 extra_configs = [ "..:dart_precompiled_runtime_config" ] | 631 extra_configs = [ "..:dart_precompiled_runtime_config" ] |
| 631 extra_deps = [ | 632 extra_deps = [ |
| 632 "..:libdart_precompiled_runtime", | 633 "..:libdart_precompiled_runtime", |
| 633 "../observatory:standalone_observatory_archive", | 634 "../observatory:standalone_observatory_archive", |
| 634 ] | 635 ] |
| 635 extra_sources = [ | 636 extra_sources = [ |
| 636 "builtin_nolib.cc", | 637 "builtin_nolib.cc", |
| 637 "snapshot_empty.cc", | 638 "snapshot_empty.cc", |
| 638 ] | 639 ] |
| 640 } |
| 639 } | 641 } |
| 640 | 642 |
| 641 dart_executable("dart_bootstrap") { | 643 dart_executable("dart_bootstrap") { |
| 642 extra_configs = [ | 644 extra_configs = [ |
| 643 "..:dart_precompiler_config", | 645 "..:dart_precompiler_config", |
| 644 "..:dart_no_snapshot_config", | 646 "..:dart_no_snapshot_config", |
| 645 ] | 647 ] |
| 646 extra_deps = [ | 648 extra_deps = [ |
| 647 ":generate_builtin_cc_file", | 649 ":generate_builtin_cc_file", |
| 648 ":generate_io_cc_file", | 650 ":generate_io_cc_file", |
| (...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 847 # The only effect of DART_SHARED_LIB is to export the Dart API. | 849 # The only effect of DART_SHARED_LIB is to export the Dart API. |
| 848 "DART_SHARED_LIB", | 850 "DART_SHARED_LIB", |
| 849 ] | 851 ] |
| 850 if (is_win) { | 852 if (is_win) { |
| 851 libs = [ "dart.lib" ] | 853 libs = [ "dart.lib" ] |
| 852 abs_root_out_dir = rebase_path(root_out_dir) | 854 abs_root_out_dir = rebase_path(root_out_dir) |
| 853 ldflags = [ "/LIBPATH:$abs_root_out_dir" ] | 855 ldflags = [ "/LIBPATH:$abs_root_out_dir" ] |
| 854 } | 856 } |
| 855 } | 857 } |
| 856 } | 858 } |
| OLD | NEW |