OLD | NEW |
1 # Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 # Copyright (c) 2016, 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("build/dart_host_toolchain.gni") |
| 6 |
5 # This target will be built if no target is specified when invoking ninja. | 7 # This target will be built if no target is specified when invoking ninja. |
6 group("default") { | 8 group("default") { |
7 if (is_fuchsia || is_fuchsia_host) { | 9 if (is_fuchsia || is_fuchsia_host) { |
8 # Fuchsia has run_vm_tests marked testonly. | 10 # Fuchsia has run_vm_tests marked testonly. |
9 testonly = true | 11 testonly = true |
10 } | 12 } |
11 deps = [ | 13 deps = [ |
12 ":runtime", | 14 ":runtime", |
13 ] | 15 ] |
14 } | 16 } |
(...skipping 14 matching lines...) Expand all Loading... |
29 ] | 31 ] |
30 } | 32 } |
31 | 33 |
32 group("runtime") { | 34 group("runtime") { |
33 if (is_fuchsia || is_fuchsia_host) { | 35 if (is_fuchsia || is_fuchsia_host) { |
34 # Fuchsia has run_vm_tests marked testonly. | 36 # Fuchsia has run_vm_tests marked testonly. |
35 testonly = true | 37 testonly = true |
36 } | 38 } |
37 deps = [ | 39 deps = [ |
38 "runtime/bin:dart", | 40 "runtime/bin:dart", |
39 "runtime/bin:dart_bootstrap($host_toolchain)", | 41 "runtime/bin:dart_bootstrap($dart_host_toolchain)", |
40 "runtime/bin:process_test", | 42 "runtime/bin:process_test", |
41 "runtime/bin:run_vm_tests", | 43 "runtime/bin:run_vm_tests", |
42 "runtime/bin:sample_extension", | 44 "runtime/bin:sample_extension", |
43 "runtime/bin:test_extension", | 45 "runtime/bin:test_extension", |
44 "runtime/vm:patched_sdk", | 46 "runtime/vm:patched_sdk", |
45 ] | 47 ] |
46 } | 48 } |
47 | 49 |
48 group("runtime_kernel") { | 50 group("runtime_kernel") { |
49 if (is_fuchsia || is_fuchsia_host) { | 51 if (is_fuchsia || is_fuchsia_host) { |
50 # Fuchsia has run_vm_tests marked testonly. | 52 # Fuchsia has run_vm_tests marked testonly. |
51 testonly = true | 53 testonly = true |
52 } | 54 } |
53 deps = [ | 55 deps = [ |
54 ":runtime", | 56 ":runtime", |
55 | 57 |
56 # TODO(rmacnak): Link this into 'dart'. | 58 # TODO(rmacnak): Link this into 'dart'. |
57 "utils/kernel-service:kernel-service", | 59 "utils/kernel-service:kernel-service", |
58 ] | 60 ] |
59 } | 61 } |
60 | 62 |
61 group("runtime_precompiled") { | 63 group("runtime_precompiled") { |
62 deps = [ | 64 deps = [ |
63 "runtime/bin:dart_bootstrap($host_toolchain)", | 65 "runtime/bin:dart_bootstrap($dart_host_toolchain)", |
64 "runtime/bin:dart_precompiled_runtime", | 66 "runtime/bin:dart_precompiled_runtime", |
65 "runtime/bin:process_test", | 67 "runtime/bin:process_test", |
66 "runtime/vm:patched_sdk", | 68 "runtime/vm:patched_sdk", |
67 ] | 69 ] |
68 } | 70 } |
69 | 71 |
70 group("create_sdk") { | 72 group("create_sdk") { |
71 deps = [ | 73 deps = [ |
72 "sdk:create_sdk", | 74 "sdk:create_sdk", |
73 ] | 75 ] |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 rebase_path(input), | 196 rebase_path(input), |
195 "--output-file", | 197 "--output-file", |
196 rebase_path(output), | 198 rebase_path(output), |
197 "--build-id-map", | 199 "--build-id-map", |
198 rebase_path("$target_gen_dir/build_id_map"), | 200 rebase_path("$target_gen_dir/build_id_map"), |
199 "--pre-binaries", | 201 "--pre-binaries", |
200 rebase_path(magenta_bootdata), | 202 rebase_path(magenta_bootdata), |
201 ] | 203 ] |
202 } | 204 } |
203 } | 205 } |
OLD | NEW |