Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(621)

Side by Side Diff: pkg/compiler/lib/src/commandline_options.dart

Issue 2797443008: Reapply "Add "load from .dill" file capability and run a white-box test."" (Closed)
Patch Set: take two Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | pkg/compiler/lib/src/compiler.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 12 matching lines...) Expand all
23 static const String enableDiagnosticColors = '--enable-diagnostic-colors'; 23 static const String enableDiagnosticColors = '--enable-diagnostic-colors';
24 static const String enableExperimentalMirrors = 24 static const String enableExperimentalMirrors =
25 '--enable-experimental-mirrors'; 25 '--enable-experimental-mirrors';
26 static const String fastStartup = '--fast-startup'; 26 static const String fastStartup = '--fast-startup';
27 static const String fatalWarnings = '--fatal-warnings'; 27 static const String fatalWarnings = '--fatal-warnings';
28 static const String generateCodeWithCompileTimeErrors = 28 static const String generateCodeWithCompileTimeErrors =
29 '--generate-code-with-compile-time-errors'; 29 '--generate-code-with-compile-time-errors';
30 // Temporary flag to also integrate Kernel into global type inference. 30 // Temporary flag to also integrate Kernel into global type inference.
31 // TODO(efortuna): Remove when fully implemented and simply use "useKernel". 31 // TODO(efortuna): Remove when fully implemented and simply use "useKernel".
32 static const String kernelGlobalInference = '--kernel-global-inference'; 32 static const String kernelGlobalInference = '--kernel-global-inference';
33 // Read input from a .dill file rather than a .dart input (use only in
34 // conjunction with --use-kernel=true).
35 static const String loadFromDill = '--read-dill';
33 static const String minify = '--minify'; 36 static const String minify = '--minify';
34 static const String noFrequencyBasedMinification = 37 static const String noFrequencyBasedMinification =
35 '--no-frequency-based-minification'; 38 '--no-frequency-based-minification';
36 static const String noSourceMaps = '--no-source-maps'; 39 static const String noSourceMaps = '--no-source-maps';
37 static const String preserveComments = '--preserve-comments'; 40 static const String preserveComments = '--preserve-comments';
38 static const String preserveUris = '--preserve-uris'; 41 static const String preserveUris = '--preserve-uris';
39 static const String showPackageWarnings = '--show-package-warnings'; 42 static const String showPackageWarnings = '--show-package-warnings';
40 static const String suppressHints = '--suppress-hints'; 43 static const String suppressHints = '--suppress-hints';
41 static const String suppressWarnings = '--suppress-warnings'; 44 static const String suppressWarnings = '--suppress-warnings';
42 static const String terse = '--terse'; 45 static const String terse = '--terse';
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 } 89 }
87 90
88 class Option { 91 class Option {
89 static const String showPackageWarnings = 92 static const String showPackageWarnings =
90 '${Flags.showPackageWarnings}|${Flags.showPackageWarnings}=.*'; 93 '${Flags.showPackageWarnings}|${Flags.showPackageWarnings}=.*';
91 94
92 // Experimental options. 95 // Experimental options.
93 static const String resolutionInput = '--resolution-input=.+'; 96 static const String resolutionInput = '--resolution-input=.+';
94 static const String bazelPaths = '--bazel-paths=.+'; 97 static const String bazelPaths = '--bazel-paths=.+';
95 } 98 }
OLDNEW
« no previous file with comments | « no previous file | pkg/compiler/lib/src/compiler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698