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

Unified Diff: compiler/java/com/google/dart/compiler/CommandLineOptions.java

Issue 8287001: Add a command-line option for generating source maps. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 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: compiler/java/com/google/dart/compiler/CommandLineOptions.java
===================================================================
--- compiler/java/com/google/dart/compiler/CommandLineOptions.java (revision 471)
+++ compiler/java/com/google/dart/compiler/CommandLineOptions.java (working copy)
@@ -66,6 +66,10 @@
usage = "Classes to generate stubs\n (comma-separated list)")
private String generateIsolateStubs = null;
+ @Option(name = "--generate_source_maps",
+ usage = "Generate source maps")
+ private boolean generateSourceMaps = false;
+
@Option(name = "--human-readable-output",
usage = "Write human readable javascript")
private boolean generateHumanReadableOutput = false;
@@ -225,6 +229,10 @@
return disableTypeOptimizations;
}
+ public boolean generateSourceMaps() {
+ return generateSourceMaps;
+ }
+
public boolean generateHumanReadableOutput() {
return generateHumanReadableOutput;
}

Powered by Google App Engine
This is Rietveld 408576698