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 # This target will be built if no target is specified when invoking ninja. | 5 # This target will be built if no target is specified when invoking ninja. |
6 group("default") { | 6 group("default") { |
7 if (is_fuchsia || is_fuchsia_host) { | 7 if (is_fuchsia || is_fuchsia_host) { |
8 # Fuchsia has run_vm_tests marked testonly. | 8 # Fuchsia has run_vm_tests marked testonly. |
9 testonly = true | 9 testonly = true |
10 } | 10 } |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 | 114 |
115 group("samples") { | 115 group("samples") { |
116 deps = [ | 116 deps = [ |
117 "runtime/bin:sample_extension", | 117 "runtime/bin:sample_extension", |
118 ] | 118 ] |
119 } | 119 } |
120 | 120 |
121 # The rules below build a Fuchsia OS image that includes the Dart tree | 121 # The rules below build a Fuchsia OS image that includes the Dart tree |
122 # under /system/test/dart. | 122 # under /system/test/dart. |
123 if (is_fuchsia) { | 123 if (is_fuchsia) { |
124 declare_args() { | |
125 dart_build_fuchsia_test_image = false | |
126 } | |
127 | |
128 action("generate_dart_test_manifest") { | 124 action("generate_dart_test_manifest") { |
129 testonly = true | 125 testonly = true |
130 | 126 |
131 deps = [ | 127 deps = [ |
132 "//packages/gn:mkbootfs", | 128 "//packages/gn:mkbootfs", |
133 ] | 129 ] |
134 | 130 |
135 output_prefix = "$target_gen_dir/dart_test_tree" | 131 output_prefix = "$target_gen_dir/dart_test_tree" |
136 outputs = [ | 132 outputs = [ |
137 "$output_prefix.manifest", | 133 "$output_prefix.manifest", |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 rebase_path(input), | 194 rebase_path(input), |
199 "--output-file", | 195 "--output-file", |
200 rebase_path(output), | 196 rebase_path(output), |
201 "--build-id-map", | 197 "--build-id-map", |
202 rebase_path("$target_gen_dir/build_id_map"), | 198 rebase_path("$target_gen_dir/build_id_map"), |
203 "--pre-binaries", | 199 "--pre-binaries", |
204 rebase_path(magenta_bootdata), | 200 rebase_path(magenta_bootdata), |
205 ] | 201 ] |
206 } | 202 } |
207 } | 203 } |
OLD | NEW |