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

Unified Diff: pkg/compiler/lib/src/apiimpl.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 side-by-side diff with in-line comments
Download patch
Index: pkg/compiler/lib/src/apiimpl.dart
diff --git a/pkg/compiler/lib/src/apiimpl.dart b/pkg/compiler/lib/src/apiimpl.dart
index 61e472428013a04ec5dde6a3fe413b968af74c5e..57be419cf7cedb18ec6201b524b217cad2573add 100644
--- a/pkg/compiler/lib/src/apiimpl.dart
+++ b/pkg/compiler/lib/src/apiimpl.dart
@@ -108,6 +108,8 @@ class Compiler extends leg.Compiler {
useContentSecurityPolicy:
hasOption(options, Flags.useContentSecurityPolicy),
useStartupEmitter: hasOption(options, Flags.fastStartup),
+ enableConditionalDirectives:
+ hasOption(options, Flags.conditionalDirectives),
hasIncrementalSupport:
forceIncrementalSupport ||
hasOption(options, Flags.incrementalSupport),
« no previous file with comments | « no previous file | pkg/compiler/lib/src/commandline_options.dart » ('j') | pkg/compiler/lib/src/parser/class_element_parser.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698