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

Side by Side Diff: pkg/compiler/lib/src/apiimpl.dart

Issue 785303003: Add option for outputting a deferred loading mapping. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated format Created 5 years, 11 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library leg_apiimpl; 5 library leg_apiimpl;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 8
9 import '../compiler.dart' as api; 9 import '../compiler.dart' as api;
10 import 'dart2jslib.dart' as leg; 10 import 'dart2jslib.dart' as leg;
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 strips: extractCsvOption(options, '--force-strip='), 63 strips: extractCsvOption(options, '--force-strip='),
64 enableConcreteTypeInference: 64 enableConcreteTypeInference:
65 hasOption(options, '--enable-concrete-type-inference'), 65 hasOption(options, '--enable-concrete-type-inference'),
66 disableTypeInferenceFlag: 66 disableTypeInferenceFlag:
67 hasOption(options, '--disable-type-inference'), 67 hasOption(options, '--disable-type-inference'),
68 preserveComments: hasOption(options, '--preserve-comments'), 68 preserveComments: hasOption(options, '--preserve-comments'),
69 verbose: hasOption(options, '--verbose'), 69 verbose: hasOption(options, '--verbose'),
70 sourceMapUri: extractUriOption(options, '--source-map='), 70 sourceMapUri: extractUriOption(options, '--source-map='),
71 outputUri: extractUriOption(options, '--out='), 71 outputUri: extractUriOption(options, '--out='),
72 terseDiagnostics: hasOption(options, '--terse'), 72 terseDiagnostics: hasOption(options, '--terse'),
73 deferredMapUri: extractUriOption(options, '--deferred-map='),
73 dumpInfo: hasOption(options, '--dump-info'), 74 dumpInfo: hasOption(options, '--dump-info'),
74 buildId: extractStringOption( 75 buildId: extractStringOption(
75 options, '--build-id=', 76 options, '--build-id=',
76 "build number could not be determined"), 77 "build number could not be determined"),
77 showPackageWarnings: 78 showPackageWarnings:
78 hasOption(options, '--show-package-warnings'), 79 hasOption(options, '--show-package-warnings'),
79 useContentSecurityPolicy: hasOption(options, '--csp'), 80 useContentSecurityPolicy: hasOption(options, '--csp'),
80 hasIncrementalSupport: 81 hasIncrementalSupport:
81 forceIncrementalSupport || 82 forceIncrementalSupport ||
82 hasOption(options, '--incremental-support'), 83 hasOption(options, '--incremental-support'),
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 print('$message: ${tryToString(exception)}'); 385 print('$message: ${tryToString(exception)}');
385 print(tryToString(stackTrace)); 386 print(tryToString(stackTrace));
386 } 387 }
387 388
388 fromEnvironment(String name) => environment[name]; 389 fromEnvironment(String name) => environment[name];
389 390
390 LibraryInfo lookupLibraryInfo(String libraryName) { 391 LibraryInfo lookupLibraryInfo(String libraryName) {
391 return library_info.LIBRARIES[libraryName]; 392 return library_info.LIBRARIES[libraryName];
392 } 393 }
393 } 394 }
OLDNEW
« no previous file with comments | « no previous file | pkg/compiler/lib/src/compiler.dart » ('j') | pkg/compiler/lib/src/deferred_load.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698