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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 script = "tools/create_sdk.py" | 130 script = "tools/create_sdk.py" |
131 args = [ | 131 args = [ |
132 "--sdk_output_dir", | 132 "--sdk_output_dir", |
133 rebase_path("$root_out_dir/dart-sdk"), | 133 rebase_path("$root_out_dir/dart-sdk"), |
134 "--snapshot_location", | 134 "--snapshot_location", |
135 rebase_path("$root_gen_dir"), | 135 rebase_path("$root_gen_dir"), |
136 ] | 136 ] |
137 if (defined(is_fuchsia) && is_fuchsia_host) { | 137 if (defined(is_fuchsia) && is_fuchsia_host) { |
138 args += [ "--copy_libs" ] | 138 args += [ "--copy_libs" ] |
139 } | 139 } |
| 140 if (defined(is_fuchsia) && (is_fuchsia || is_fuchsia_host)) { |
| 141 # The binaries are already stripped. |
| 142 args += [ "--disable_stripping" ] |
| 143 } |
140 } | 144 } |
141 | 145 |
142 group("dart2js") { | 146 group("dart2js") { |
143 deps = [ | 147 deps = [ |
144 "utils/compiler:dart2js", | 148 "utils/compiler:dart2js", |
145 ] | 149 ] |
146 } | 150 } |
147 | 151 |
148 group("dartanalyzer") { | 152 group("dartanalyzer") { |
149 deps = [ | 153 deps = [ |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
249 rebase_path(input), | 253 rebase_path(input), |
250 "--output-file", | 254 "--output-file", |
251 rebase_path(output), | 255 rebase_path(output), |
252 "--build-id-map", | 256 "--build-id-map", |
253 rebase_path("$target_gen_dir/build_id_map"), | 257 rebase_path("$target_gen_dir/build_id_map"), |
254 "--compress", | 258 "--compress", |
255 ] | 259 ] |
256 } | 260 } |
257 } | 261 } |
258 } | 262 } |
OLD | NEW |