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 (defined(is_fuchsia) && (is_fuchsia || is_fuchsia_host)) { | 7 if (defined(is_fuchsia) && (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 "$root_out_dir/dart-sdk/README", | 114 "$root_out_dir/dart-sdk/README", |
115 ] | 115 ] |
116 | 116 |
117 script = "tools/create_sdk.py" | 117 script = "tools/create_sdk.py" |
118 args = [ | 118 args = [ |
119 "--sdk_output_dir", | 119 "--sdk_output_dir", |
120 rebase_path("$root_out_dir/dart-sdk"), | 120 rebase_path("$root_out_dir/dart-sdk"), |
121 "--snapshot_location", | 121 "--snapshot_location", |
122 rebase_path("$root_gen_dir"), | 122 rebase_path("$root_gen_dir"), |
123 ] | 123 ] |
| 124 if (defined(is_fuchsia) && is_fuchsia_host) { |
| 125 args += [ |
| 126 "--copy_libs" |
| 127 ] |
| 128 } |
124 } | 129 } |
125 | 130 |
126 group("dart2js") { | 131 group("dart2js") { |
127 deps = [ | 132 deps = [ |
128 "utils/compiler:dart2js", | 133 "utils/compiler:dart2js", |
129 ] | 134 ] |
130 } | 135 } |
131 | 136 |
132 group("dartanalyzer") { | 137 group("dartanalyzer") { |
133 deps = [ | 138 deps = [ |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 rebase_path(input), | 239 rebase_path(input), |
235 "--output-file", | 240 "--output-file", |
236 rebase_path(output), | 241 rebase_path(output), |
237 "--build-id-map", | 242 "--build-id-map", |
238 rebase_path("$target_gen_dir/build_id_map"), | 243 rebase_path("$target_gen_dir/build_id_map"), |
239 "--compress", | 244 "--compress", |
240 ] | 245 ] |
241 } | 246 } |
242 } | 247 } |
243 } | 248 } |
OLD | NEW |