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 189563004: Use '--source-map' and '--out' options to support source maps from non-commandline. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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 aa38e286e6b7c987bbd33fb47b7e40dee51c1c73..9aab92a17911c7db03b756a99b2b2cd5a60d4323 100644
--- a/sdk/lib/_internal/compiler/implementation/compiler.dart
+++ b/sdk/lib/_internal/compiler/implementation/compiler.dart
@@ -394,6 +394,11 @@ abstract class Compiler implements DiagnosticListener {
*/
final Uri sourceMapUri;
+ /**
+ * URI of the main output if the compiler is generating source maps.
+ */
+ final Uri outputUri;
+
/// Emit terse diagnostics without howToFix.
final bool terseDiagnostics;
@@ -627,6 +632,7 @@ abstract class Compiler implements DiagnosticListener {
this.preserveComments: false,
this.verbose: false,
this.sourceMapUri: null,
+ this.outputUri: null,
this.buildId: UNDETERMINED_BUILD_ID,
this.terseDiagnostics: false,
this.dumpInfo: false,

Powered by Google App Engine
This is Rietveld 408576698