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 library fasta.compiler_command_line; | 5 library fasta.compiler_command_line; |
6 | 6 |
7 import 'dart:io' show exit; | 7 import 'dart:io' show exit; |
8 | 8 |
9 import 'command_line.dart' show CommandLine, argumentError; | 9 import 'command_line.dart' show CommandLine, argumentError; |
10 | 10 |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
188 file names or arguments to the Dart program. | 188 file names or arguments to the Dart program. |
189 | 189 |
190 --packages=<file> | 190 --packages=<file> |
191 Use package resolution configuration <file>, which should contain a mapping | 191 Use package resolution configuration <file>, which should contain a mapping |
192 of package names to paths. | 192 of package names to paths. |
193 | 193 |
194 --platform=<file> | 194 --platform=<file> |
195 Read the SDK platform from <file>, which should be in Dill/Kernel IR format | 195 Read the SDK platform from <file>, which should be in Dill/Kernel IR format |
196 and contain the Dart SDK. | 196 and contain the Dart SDK. |
197 | 197 |
198 --target=none|vm|vmcc|vmreify|flutter | 198 --target=none|vm|vm_fasta|vmcc|vmreify|flutter|flutter_fasta|flutter_fasta_rel ease |
ahe
2017/07/10 13:19:02
Perhaps we should change this to:
--target=TARG
aam
2017/07/10 22:11:37
Done.
| |
199 Specify the target configuration. | 199 Specify the target configuration. |
200 | 200 |
201 --verify | 201 --verify |
202 Check that the generated output is free of various problems. This is mostly | 202 Check that the generated output is free of various problems. This is mostly |
203 useful for developers of this compiler or Kernel transformations. | 203 useful for developers of this compiler or Kernel transformations. |
204 | 204 |
205 --dump-ir | 205 --dump-ir |
206 Print compiled libraries in Kernel source notation. | 206 Print compiled libraries in Kernel source notation. |
207 | 207 |
208 --exclude-source | 208 --exclude-source |
209 Do not include source code in the dill file. | 209 Do not include source code in the dill file. |
210 | 210 |
211 --compile-sdk=<patched_sdk> | 211 --compile-sdk=<patched_sdk> |
212 Compile the SDK from scratch instead of reading it from 'platform.dill'. | 212 Compile the SDK from scratch instead of reading it from 'platform.dill'. |
213 | 213 |
214 --sdk=<patched_sdk> | 214 --sdk=<patched_sdk> |
215 Location of the SDK sources for use when compiling additional platform | 215 Location of the SDK sources for use when compiling additional platform |
216 libraries. | 216 libraries. |
217 | 217 |
218 --fatal=errors | 218 --fatal=errors |
219 --fatal=warnings | 219 --fatal=warnings |
220 --fatal=nits | 220 --fatal=nits |
221 Makes messages of the given kinds fatal, that is, immediately stop the | 221 Makes messages of the given kinds fatal, that is, immediately stop the |
222 compiler with a non-zero exit-code. In --verbose mode, also display an | 222 compiler with a non-zero exit-code. In --verbose mode, also display an |
223 internal stack trace from the compiler. Multiple kinds can be separated by | 223 internal stack trace from the compiler. Multiple kinds can be separated by |
224 commas, for example, --fatal=errors,warnings. | 224 commas, for example, --fatal=errors,warnings. |
225 """; | 225 """; |
OLD | NEW |