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

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: Address floitsch's comments 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 720aed87cc2e2d398002ddbe1ab732d0d1ad6417..36b10a55bfbff3d54da2a55081a2df6c6b86b67a 100644
--- a/sdk/lib/_internal/compiler/implementation/compiler.dart
+++ b/sdk/lib/_internal/compiler/implementation/compiler.dart
@@ -924,6 +924,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,
@@ -974,7 +975,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);
}
tasks = [
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/apiimpl.dart ('k') | sdk/lib/_internal/compiler/implementation/dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698