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 746 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
757 rebase_path(snapshot_test_in_dat_file), | 757 rebase_path(snapshot_test_in_dat_file), |
758 "--include", | 758 "--include", |
759 "INTENTIONALLY_LEFT_BLANK", | 759 "INTENTIONALLY_LEFT_BLANK", |
760 "--var_name", | 760 "--var_name", |
761 "INTENTIONALLY_LEFT_BLANK_TOO", | 761 "INTENTIONALLY_LEFT_BLANK_TOO", |
762 rebase_path(snapshot_test_dart_file), | 762 rebase_path(snapshot_test_dart_file), |
763 ] | 763 ] |
764 } | 764 } |
765 | 765 |
766 executable("run_vm_tests") { | 766 executable("run_vm_tests") { |
| 767 if (defined(is_fuchsia) && is_fuchsia) { |
| 768 testonly = true |
| 769 } |
| 770 |
767 configs += [ | 771 configs += [ |
768 "..:dart_config", | 772 "..:dart_config", |
769 "..:dart_maybe_product_config", | 773 "..:dart_maybe_product_config", |
770 ] | 774 ] |
| 775 |
771 deps = [ | 776 deps = [ |
772 ":dart_snapshot_cc", | 777 ":dart_snapshot_cc", |
773 ":generate_snapshot_test_dat_file", | 778 ":generate_snapshot_test_dat_file", |
774 ":libdart_builtin", | 779 ":libdart_builtin", |
775 ":standalone_dart_io", | 780 ":standalone_dart_io", |
776 "$dart_zlib_path", | 781 "$dart_zlib_path", |
777 "..:libdart", | 782 "..:libdart", |
778 ] | 783 ] |
779 include_dirs = [ | 784 include_dirs = [ |
780 "..", | 785 "..", |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
844 # 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. |
845 "DART_SHARED_LIB", | 850 "DART_SHARED_LIB", |
846 ] | 851 ] |
847 if (is_win) { | 852 if (is_win) { |
848 libs = [ "dart.lib" ] | 853 libs = [ "dart.lib" ] |
849 abs_root_out_dir = rebase_path(root_out_dir) | 854 abs_root_out_dir = rebase_path(root_out_dir) |
850 ldflags = [ "/LIBPATH:$abs_root_out_dir" ] | 855 ldflags = [ "/LIBPATH:$abs_root_out_dir" ] |
851 } | 856 } |
852 } | 857 } |
853 } | 858 } |
OLD | NEW |