| 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 declare_args() { | 9 declare_args() { |
| 10 # Controls the kind of core snapshot linked into the standalone VM. Using a | 10 # Controls the kind of core snapshot linked into the standalone VM. Using a |
| (...skipping 874 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 885 ] | 885 ] |
| 886 sources = [ | 886 sources = [ |
| 887 hello_fuchsia_assembly, | 887 hello_fuchsia_assembly, |
| 888 ] | 888 ] |
| 889 cflags = [ | 889 cflags = [ |
| 890 "-nostdlib", | 890 "-nostdlib", |
| 891 "-nostartfiles", | 891 "-nostartfiles", |
| 892 ] | 892 ] |
| 893 output_name = "hello_fuchsia" | 893 output_name = "hello_fuchsia" |
| 894 } | 894 } |
| 895 |
| 896 #copy("copy_hello_fuchsia_dylib") { |
| 897 # sources = [ |
| 898 # get_label_info(":hello_fuchsia_lib($shlib_toolchain)", "root_out_dir") + |
| 899 # "/libhello_fuchsia.so", |
| 900 # ] |
| 901 # outputs = [ |
| 902 # "$root_build_dir/{{source_file_part}}", |
| 903 # ] |
| 904 # deps = [ |
| 905 # ":hello_fuchsia_dylib($shlib_toolchain)", |
| 906 # ] |
| 907 #} |
| 895 } | 908 } |
| 896 | 909 |
| 897 executable("process_test") { | 910 executable("process_test") { |
| 898 sources = [ | 911 sources = [ |
| 899 "process_test.cc", | 912 "process_test.cc", |
| 900 ] | 913 ] |
| 901 } | 914 } |
| 902 | 915 |
| 903 action("generate_snapshot_test_dat_file") { | 916 action("generate_snapshot_test_dat_file") { |
| 904 snapshot_test_dat_file = "$root_gen_dir/snapshot_test.dat" | 917 snapshot_test_dat_file = "$root_gen_dir/snapshot_test.dat" |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1032 ] | 1045 ] |
| 1033 if (is_linux || is_android) { | 1046 if (is_linux || is_android) { |
| 1034 cflags = [ "-fPIC" ] | 1047 cflags = [ "-fPIC" ] |
| 1035 } | 1048 } |
| 1036 if (is_win) { | 1049 if (is_win) { |
| 1037 libs = [ "dart.lib" ] | 1050 libs = [ "dart.lib" ] |
| 1038 abs_root_out_dir = rebase_path(root_out_dir) | 1051 abs_root_out_dir = rebase_path(root_out_dir) |
| 1039 ldflags = [ "/LIBPATH:$abs_root_out_dir" ] | 1052 ldflags = [ "/LIBPATH:$abs_root_out_dir" ] |
| 1040 } | 1053 } |
| 1041 } | 1054 } |
| OLD | NEW |