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

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

Issue 1388523002: dart2js: add support for configuration-specific imports. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Address comments and add flag. Created 5 years, 2 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 suppressHints = '--suppress-hints'; 37 static const String suppressHints = '--suppress-hints';
38 static const String suppressWarnings = '--suppress-warnings'; 38 static const String suppressWarnings = '--suppress-warnings';
39 static const String terse = '--terse'; 39 static const String terse = '--terse';
40 static const String testMode = '--test-mode'; 40 static const String testMode = '--test-mode';
41 static const String trustPrimitives = '--trust-primitives'; 41 static const String trustPrimitives = '--trust-primitives';
42 static const String trustTypeAnnotations = '--trust-type-annotations'; 42 static const String trustTypeAnnotations = '--trust-type-annotations';
43 static const String useContentSecurityPolicy = '--csp'; 43 static const String useContentSecurityPolicy = '--csp';
44 static const String useCpsIr = '--use-cps-ir'; 44 static const String useCpsIr = '--use-cps-ir';
45 static const String verbose = '--verbose'; 45 static const String verbose = '--verbose';
46 static const String version = '--version'; 46 static const String version = '--version';
47
48 // Experimental flags.
49 static const String conditionalDirectives = '--conditional-directives';
47 } 50 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698