Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(189)

Side by Side Diff: runtime/bin/BUILD.gn

Issue 2881953002: Use Kernel frontend from run_vm_tests. (Closed)
Patch Set: Make it explicit that only kernel isolates should be spawned. Return correct value when test fails.… Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | runtime/bin/run_vm_tests.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 import("../../build/compiled_action.gni") 7 import("../../build/compiled_action.gni")
8 8
9 # Generate a resources.cc file for the service isolate without Observatory. 9 # Generate a resources.cc file for the service isolate without Observatory.
10 action("gen_resources_cc") { 10 action("gen_resources_cc") {
(...skipping 776 matching lines...) Expand 10 before | Expand all | Expand 10 after
787 if (dart_use_tcmalloc) { 787 if (dart_use_tcmalloc) {
788 deps += [ "//third_party/tcmalloc" ] 788 deps += [ "//third_party/tcmalloc" ]
789 defines += [ "DART_USE_TCMALLOC" ] 789 defines += [ "DART_USE_TCMALLOC" ]
790 } 790 }
791 791
792 # The VM sources are already included in libdart, so we just want to add in 792 # The VM sources are already included in libdart, so we just want to add in
793 # the tests here. 793 # the tests here.
794 vm_tests = rebase_path(vm_tests_list, ".", "../vm") 794 vm_tests = rebase_path(vm_tests_list, ".", "../vm")
795 795
796 sources = [ 796 sources = [
797 "error_exit.cc",
798 "error_exit.h",
799 "snapshot_utils.cc",
800 "snapshot_utils.h",
797 "builtin_nolib.cc", 801 "builtin_nolib.cc",
798 "run_vm_tests.cc", 802 "run_vm_tests.cc",
799 ] + builtin_impl_tests_list + vm_tests 803 ] + builtin_impl_tests_list + vm_tests
800 804
801 if (!is_win) { 805 if (!is_win) {
802 ldflags = [ "-rdynamic" ] 806 ldflags = [ "-rdynamic" ]
803 } 807 }
804 808
805 if (is_win) { 809 if (is_win) {
806 libs = [ 810 libs = [
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
851 ] 855 ]
852 if (is_linux || is_android) { 856 if (is_linux || is_android) {
853 cflags = [ "-fPIC" ] 857 cflags = [ "-fPIC" ]
854 } 858 }
855 if (is_win) { 859 if (is_win) {
856 libs = [ "dart.lib" ] 860 libs = [ "dart.lib" ]
857 abs_root_out_dir = rebase_path(root_out_dir) 861 abs_root_out_dir = rebase_path(root_out_dir)
858 ldflags = [ "/LIBPATH:$abs_root_out_dir" ] 862 ldflags = [ "/LIBPATH:$abs_root_out_dir" ]
859 } 863 }
860 } 864 }
OLDNEW
« no previous file with comments | « no previous file | runtime/bin/run_vm_tests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698