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

Unified Diff: sdk/lib/_internal/compiler/implementation/compiler.dart

Issue 476583003: Allow dart2dart to output one file per library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Insert library-names in generateds libraries. Fix bug of previous upload Created 6 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 side-by-side diff with in-line comments
Download patch
Index: sdk/lib/_internal/compiler/implementation/compiler.dart
diff --git a/sdk/lib/_internal/compiler/implementation/compiler.dart b/sdk/lib/_internal/compiler/implementation/compiler.dart
index 2dcfaab9d476f45b4a81c1d69223e74ce4c7eeb1..73f3eafaf9fa14844cab16a804298932cec10a9b 100644
--- a/sdk/lib/_internal/compiler/implementation/compiler.dart
+++ b/sdk/lib/_internal/compiler/implementation/compiler.dart
@@ -916,6 +916,7 @@ abstract class Compiler implements DiagnosticListener {
this.enableMinification: false,
this.enableNativeLiveTypeAnalysis: false,
bool emitJavaScript: true,
+ bool dart2dartMultiFile: false,
bool generateSourceMap: true,
bool analyzeAllFlag: false,
bool analyzeOnly: false,
@@ -962,7 +963,8 @@ abstract class Compiler implements DiagnosticListener {
backend = jsBackend;
} else {
closureNamer = new closureMapping.ClosureNamer();
- backend = new dart_backend.DartBackend(this, strips);
+ backend = new dart_backend.DartBackend(this, strips,
+ multiFile: dart2dartMultiFile);
}
// No-op in production mode.

Powered by Google App Engine
This is Rietveld 408576698