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 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 Loading... |
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", | |
801 "builtin_nolib.cc", | 797 "builtin_nolib.cc", |
802 "run_vm_tests.cc", | 798 "run_vm_tests.cc", |
803 ] + builtin_impl_tests_list + vm_tests | 799 ] + builtin_impl_tests_list + vm_tests |
804 | 800 |
805 if (!is_win) { | 801 if (!is_win) { |
806 ldflags = [ "-rdynamic" ] | 802 ldflags = [ "-rdynamic" ] |
807 } | 803 } |
808 | 804 |
809 if (is_win) { | 805 if (is_win) { |
810 libs = [ | 806 libs = [ |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
855 ] | 851 ] |
856 if (is_linux || is_android) { | 852 if (is_linux || is_android) { |
857 cflags = [ "-fPIC" ] | 853 cflags = [ "-fPIC" ] |
858 } | 854 } |
859 if (is_win) { | 855 if (is_win) { |
860 libs = [ "dart.lib" ] | 856 libs = [ "dart.lib" ] |
861 abs_root_out_dir = rebase_path(root_out_dir) | 857 abs_root_out_dir = rebase_path(root_out_dir) |
862 ldflags = [ "/LIBPATH:$abs_root_out_dir" ] | 858 ldflags = [ "/LIBPATH:$abs_root_out_dir" ] |
863 } | 859 } |
864 } | 860 } |
OLD | NEW |