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

Unified Diff: sdk/lib/_internal/pub_generated/lib/src/dart.dart

Issue 582753002: dart2js: add --preserve-uris flag. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update tests. Created 6 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: sdk/lib/_internal/pub_generated/lib/src/dart.dart
diff --git a/sdk/lib/_internal/pub_generated/lib/src/dart.dart b/sdk/lib/_internal/pub_generated/lib/src/dart.dart
index 35ff526defae487c783808af93bf47512feae612..b6399990178bb0f2e1f27c21c487a1b86372d358 100644
--- a/sdk/lib/_internal/pub_generated/lib/src/dart.dart
+++ b/sdk/lib/_internal/pub_generated/lib/src/dart.dart
@@ -58,9 +58,10 @@ abstract class CompilerProvider {
Future compile(String entrypoint, CompilerProvider provider,
{Iterable<String> commandLineOptions, bool checked: false, bool csp: false,
bool minify: true, bool verbose: false, Map<String, String> environment,
- String packageRoot, bool analyzeAll: false, bool suppressWarnings: false,
- bool suppressHints: false, bool suppressPackageWarnings: true, bool terse:
- false, bool includeSourceMapUrls: false, bool toDart: false}) {
+ String packageRoot, bool analyzeAll: false, bool preserveUris: false,
+ bool suppressWarnings: false, bool suppressHints: false,
+ bool suppressPackageWarnings: true, bool terse: false,
+ bool includeSourceMapUrls: false, bool toDart: false}) {
return new Future.sync(() {
var options = <String>['--categories=Client,Server'];
if (checked) options.add('--enable-checked-mode');
@@ -68,6 +69,7 @@ Future compile(String entrypoint, CompilerProvider provider,
if (minify) options.add('--minify');
if (verbose) options.add('--verbose');
if (analyzeAll) options.add('--analyze-all');
+ if (preserveUris) options.add('--preserve-uris');
if (suppressWarnings) options.add('--suppress-warnings');
if (suppressHints) options.add('--suppress-hints');
if (!suppressPackageWarnings) options.add('--show-package-warnings');

Powered by Google App Engine
This is Rietveld 408576698