OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file |
| 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. |
| 4 |
| 5 library dart2js.cmdline.options; |
| 6 |
| 7 /// Commandline flags used in `dart2js.dart` and/or `apiimpl.dart`. |
| 8 class Flags { |
| 9 static const String allowNativeExtensions = '--allow-native-extensions'; |
| 10 static const String analyzeAll = '--analyze-all'; |
| 11 static const String analyzeMain = '--analyze-main'; |
| 12 static const String analyzeOnly = '--analyze-only'; |
| 13 static const String analyzeSignaturesOnly = '--analyze-signatures-only'; |
| 14 static const String disableNativeLiveTypeAnalysis = |
| 15 '--disable-native-live-type-analysis'; |
| 16 static const String disableTypeInference = '--disable-type-inference'; |
| 17 static const String dumpInfo = '--dump-info'; |
| 18 static const String enableCheckedMode = '--enable-checked-mode'; |
| 19 static const String enableConcreteTypeInference = |
| 20 '--enable-concrete-type-inference'; |
| 21 static const String enableExperimentalMirrors = |
| 22 '--enable-experimental-mirrors'; |
| 23 static const String fastStartup = '--fast-startup'; |
| 24 static const String fatalWarnings = '--fatal-warnings'; |
| 25 static const String generateCodeWithCompileTimeErrors = |
| 26 '--generate-code-with-compile-time-errors'; |
| 27 static const String incrementalSupport = '--incremental-support'; |
| 28 static const String minify = '--minify'; |
| 29 static const String noFrequencyBasedMinification = |
| 30 '--no-frequency-based-minification'; |
| 31 static const String noSourceMaps = '--no-source-maps'; |
| 32 static const String preserveComments = '--preserve-comments'; |
| 33 static const String preserveUris = '--preserve-uris'; |
| 34 static const String showPackageWarnings = '--show-package-warnings'; |
| 35 static const String suppressWarnings = '--suppress-warnings'; |
| 36 static const String terse = '--terse'; |
| 37 static const String testMode = '--test-mode'; |
| 38 static const String trustPrimitives = '--trust-primitives'; |
| 39 static const String trustTypeAnnotations = '--trust-type-annotations'; |
| 40 static const String useContentSecurityPolicy = '--csp'; |
| 41 static const String useCpsIr = '--use-cps-ir'; |
| 42 static const String verbose = '--verbose'; |
| 43 } |
OLD | NEW |