Chromium Code Reviews| Index: compiler/java/com/google/dart/compiler/CommandLineOptions.java |
| =================================================================== |
| --- compiler/java/com/google/dart/compiler/CommandLineOptions.java (revision 409) |
| +++ 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", |
|
zundel
2011/10/17 17:28:46
vm uses underscores instead of dashes to separate
John Lenz
2011/10/17 18:38:35
Done.
|
| + 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; |
| } |