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

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

Issue 2270473002: Add flag to dart2js to configure whether to use the kernel lowering. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 4 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 26 matching lines...) Expand all
37 static const String showPackageWarnings = '--show-package-warnings'; 37 static const String showPackageWarnings = '--show-package-warnings';
38 static const String suppressHints = '--suppress-hints'; 38 static const String suppressHints = '--suppress-hints';
39 static const String suppressWarnings = '--suppress-warnings'; 39 static const String suppressWarnings = '--suppress-warnings';
40 static const String terse = '--terse'; 40 static const String terse = '--terse';
41 static const String testMode = '--test-mode'; 41 static const String testMode = '--test-mode';
42 static const String trustPrimitives = '--trust-primitives'; 42 static const String trustPrimitives = '--trust-primitives';
43 static const String trustTypeAnnotations = '--trust-type-annotations'; 43 static const String trustTypeAnnotations = '--trust-type-annotations';
44 static const String trustJSInteropTypeAnnotations = 44 static const String trustJSInteropTypeAnnotations =
45 '--experimental-trust-js-interop-type-annotations'; 45 '--experimental-trust-js-interop-type-annotations';
46 static const String useContentSecurityPolicy = '--csp'; 46 static const String useContentSecurityPolicy = '--csp';
47 static const String useKernel = '--use-kernel';
47 static const String useNewSourceInfo = '--use-new-source-info'; 48 static const String useNewSourceInfo = '--use-new-source-info';
48 static const String verbose = '--verbose'; 49 static const String verbose = '--verbose';
49 static const String version = '--version'; 50 static const String version = '--version';
50 51
51 static const String conditionalDirectives = '--conditional-directives'; 52 static const String conditionalDirectives = '--conditional-directives';
52 53
53 // Experimental flags. 54 // Experimental flags.
54 55
55 // Considerations about this feature (esp. locations where generalizations 56 // Considerations about this feature (esp. locations where generalizations
56 // or changes are required for full support of generic methods) are marked 57 // or changes are required for full support of generic methods) are marked
(...skipping 11 matching lines...) Expand all
68 } 69 }
69 70
70 class Option { 71 class Option {
71 static const String showPackageWarnings = 72 static const String showPackageWarnings =
72 '${Flags.showPackageWarnings}|${Flags.showPackageWarnings}=.*'; 73 '${Flags.showPackageWarnings}|${Flags.showPackageWarnings}=.*';
73 74
74 // Experimental options. 75 // Experimental options.
75 static const String resolutionInput = '--resolution-input=.+'; 76 static const String resolutionInput = '--resolution-input=.+';
76 static const String bazelPaths = '--bazel-paths=.+'; 77 static const String bazelPaths = '--bazel-paths=.+';
77 } 78 }
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