Chromium Code Reviews| 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 = true | 10 dart_use_fallback_root_certificates = true |
| (...skipping 745 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 756 "INTENTIONALLY_LEFT_BLANK_TOO", | 756 "INTENTIONALLY_LEFT_BLANK_TOO", |
| 757 rebase_path(snapshot_test_dart_file), | 757 rebase_path(snapshot_test_dart_file), |
| 758 ] | 758 ] |
| 759 } | 759 } |
| 760 | 760 |
| 761 executable("run_vm_tests") { | 761 executable("run_vm_tests") { |
| 762 configs += [ | 762 configs += [ |
| 763 "..:dart_config", | 763 "..:dart_config", |
| 764 "..:dart_maybe_product_config", | 764 "..:dart_maybe_product_config", |
| 765 ] | 765 ] |
| 766 | |
| 767 testonly = true | |
|
zra
2016/11/30 18:30:48
It looks like this can be set conditionally, e.g:
| |
| 768 | |
| 766 deps = [ | 769 deps = [ |
| 767 ":dart_snapshot_cc", | 770 ":dart_snapshot_cc", |
| 768 ":generate_snapshot_test_dat_file", | 771 ":generate_snapshot_test_dat_file", |
| 769 ":libdart_builtin", | 772 ":libdart_builtin", |
| 770 ":standalone_dart_io", | 773 ":standalone_dart_io", |
| 771 "$dart_zlib_path", | 774 "$dart_zlib_path", |
| 772 "..:libdart", | 775 "..:libdart", |
| 773 ] | 776 ] |
| 774 include_dirs = [ | 777 include_dirs = [ |
| 775 "..", | 778 "..", |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 839 # The only effect of DART_SHARED_LIB is to export the Dart API. | 842 # The only effect of DART_SHARED_LIB is to export the Dart API. |
| 840 "DART_SHARED_LIB", | 843 "DART_SHARED_LIB", |
| 841 ] | 844 ] |
| 842 if (is_win) { | 845 if (is_win) { |
| 843 libs = [ "dart.lib" ] | 846 libs = [ "dart.lib" ] |
| 844 abs_root_out_dir = rebase_path(root_out_dir) | 847 abs_root_out_dir = rebase_path(root_out_dir) |
| 845 ldflags = [ "/LIBPATH:$abs_root_out_dir" ] | 848 ldflags = [ "/LIBPATH:$abs_root_out_dir" ] |
| 846 } | 849 } |
| 847 } | 850 } |
| 848 } | 851 } |
| OLD | NEW |