| OLD | NEW |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 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 | 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 dart2js.cmdline.options; | 5 library dart2js.cmdline.options; |
| 6 | 6 |
| 7 /// Commandline flags used in `dart2js.dart` and/or `apiimpl.dart`. | 7 /// Commandline flags used in `dart2js.dart` and/or `apiimpl.dart`. |
| 8 class Flags { | 8 class Flags { |
| 9 static const String allowMockCompilation = '--allow-mock-compilation'; | 9 static const String allowMockCompilation = '--allow-mock-compilation'; |
| 10 static const String allowNativeExtensions = '--allow-native-extensions'; | 10 static const String allowNativeExtensions = '--allow-native-extensions'; |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 static const String resolveOnly = '--resolve-only'; | 66 static const String resolveOnly = '--resolve-only'; |
| 67 static const String initializingFormalAccess = '--initializing-formal-access'; | 67 static const String initializingFormalAccess = '--initializing-formal-access'; |
| 68 } | 68 } |
| 69 | 69 |
| 70 class Option { | 70 class Option { |
| 71 static const String showPackageWarnings = | 71 static const String showPackageWarnings = |
| 72 '${Flags.showPackageWarnings}|${Flags.showPackageWarnings}=.*'; | 72 '${Flags.showPackageWarnings}|${Flags.showPackageWarnings}=.*'; |
| 73 | 73 |
| 74 // Experimental options. | 74 // Experimental options. |
| 75 static const String resolutionInput = '--resolution-input=.+'; | 75 static const String resolutionInput = '--resolution-input=.+'; |
| 76 static const String bazelPaths = '--bazel-paths=.+'; |
| 76 } | 77 } |
| OLD | NEW |