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

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

Issue 2847343002: Add support for profile-based startup optimizations. (Closed)
Patch Set: Fix forgotten cleanup. Created 3 years, 7 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
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 noFrequencyBasedMinification = 37 static const String noFrequencyBasedMinification =
38 '--no-frequency-based-minification'; 38 '--no-frequency-based-minification';
39 static const String noSourceMaps = '--no-source-maps'; 39 static const String noSourceMaps = '--no-source-maps';
40 static const String preserveComments = '--preserve-comments'; 40 static const String preserveComments = '--preserve-comments';
41 static const String preserveUris = '--preserve-uris'; 41 static const String preserveUris = '--preserve-uris';
42 static const String showPackageWarnings = '--show-package-warnings'; 42 static const String showPackageWarnings = '--show-package-warnings';
43 static const String suppressHints = '--suppress-hints'; 43 static const String suppressHints = '--suppress-hints';
44 static const String suppressWarnings = '--suppress-warnings'; 44 static const String suppressWarnings = '--suppress-warnings';
45 static const String terse = '--terse'; 45 static const String terse = '--terse';
46 static const String testMode = '--test-mode'; 46 static const String testMode = '--test-mode';
47 static const String trackAllocations = '--track-allocations';
47 static const String trustPrimitives = '--trust-primitives'; 48 static const String trustPrimitives = '--trust-primitives';
48 static const String trustTypeAnnotations = '--trust-type-annotations'; 49 static const String trustTypeAnnotations = '--trust-type-annotations';
49 static const String trustJSInteropTypeAnnotations = 50 static const String trustJSInteropTypeAnnotations =
50 '--experimental-trust-js-interop-type-annotations'; 51 '--experimental-trust-js-interop-type-annotations';
51 static const String useContentSecurityPolicy = '--csp'; 52 static const String useContentSecurityPolicy = '--csp';
52 static const String useKernel = '--use-kernel'; 53 static const String useKernel = '--use-kernel';
53 static const String useMultiSourceInfo = '--use-multi-source-info'; 54 static const String useMultiSourceInfo = '--use-multi-source-info';
54 static const String useNewSourceInfo = '--use-new-source-info'; 55 static const String useNewSourceInfo = '--use-new-source-info';
55 static const String verbose = '--verbose'; 56 static const String verbose = '--verbose';
56 static const String version = '--version'; 57 static const String version = '--version';
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 } 90 }
90 91
91 class Option { 92 class Option {
92 static const String showPackageWarnings = 93 static const String showPackageWarnings =
93 '${Flags.showPackageWarnings}|${Flags.showPackageWarnings}=.*'; 94 '${Flags.showPackageWarnings}|${Flags.showPackageWarnings}=.*';
94 95
95 // Experimental options. 96 // Experimental options.
96 static const String resolutionInput = '--resolution-input=.+'; 97 static const String resolutionInput = '--resolution-input=.+';
97 static const String bazelPaths = '--bazel-paths=.+'; 98 static const String bazelPaths = '--bazel-paths=.+';
98 } 99 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698