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

Unified Diff: pkg/compiler/lib/src/options.dart

Issue 2004833003: Support multiple resolution inputs from command line. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Fix after rebase Created 4 years, 7 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
« no previous file with comments | « pkg/compiler/lib/src/diagnostics/messages.dart ('k') | pkg/compiler/lib/src/resolution/members.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/options.dart
diff --git a/pkg/compiler/lib/src/options.dart b/pkg/compiler/lib/src/options.dart
index 93af700b7361d9ac12b0bdec2e05b8137d650dab..e839a179094f7e51a6485d25fa70219b787f24d4 100644
--- a/pkg/compiler/lib/src/options.dart
+++ b/pkg/compiler/lib/src/options.dart
@@ -187,8 +187,8 @@ class CompilerOptions implements DiagnosticOptions, ParserOptions {
/// Whether to emit URIs in the reflection metadata.
final bool preserveUris;
- /// The location of serialized data used for resolution.
- final Uri resolutionInput;
+ /// The locations of serialized data used for resolution.
+ final List<Uri> resolutionInputs;
/// The location of the serialized data from resolution.
final Uri resolutionOutput;
@@ -256,7 +256,7 @@ class CompilerOptions implements DiagnosticOptions, ParserOptions {
Uri libraryRoot,
Uri packageRoot,
Uri packageConfig,
- Uri resolutionInput,
+ List<Uri> resolutionInputs,
Uri resolutionOutput,
PackagesDiscoveryProvider packagesDiscoveryProvider,
Map<String, dynamic> environment: const <String, dynamic>{},
@@ -309,7 +309,7 @@ class CompilerOptions implements DiagnosticOptions, ParserOptions {
_resolvePlatformConfigFromOptions(libraryRoot, options),
preserveComments: _hasOption(options, Flags.preserveComments),
preserveUris: _hasOption(options, Flags.preserveUris),
- resolutionInput: resolutionInput,
+ resolutionInputs: resolutionInputs,
resolutionOutput: resolutionOutput,
resolveOnly: _hasOption(options, Flags.resolveOnly),
sourceMapUri: _extractUriOption(options, '--source-map='),
@@ -373,7 +373,7 @@ class CompilerOptions implements DiagnosticOptions, ParserOptions {
Uri platformConfigUri: null,
bool preserveComments: false,
bool preserveUris: false,
- Uri resolutionInput: null,
+ List<Uri> resolutionInputs: null,
Uri resolutionOutput: null,
bool resolveOnly: false,
Uri sourceMapUri: null,
@@ -448,7 +448,7 @@ class CompilerOptions implements DiagnosticOptions, ParserOptions {
libraryRoot, null, !emitJavaScript, const []),
preserveComments: preserveComments,
preserveUris: preserveUris,
- resolutionInput: resolutionInput,
+ resolutionInputs: resolutionInputs,
resolutionOutput: resolutionOutput,
resolveOnly: resolveOnly,
sourceMapUri: sourceMapUri,
@@ -499,7 +499,7 @@ class CompilerOptions implements DiagnosticOptions, ParserOptions {
this.platformConfigUri: null,
this.preserveComments: false,
this.preserveUris: false,
- this.resolutionInput: null,
+ this.resolutionInputs: null,
this.resolutionOutput: null,
this.resolveOnly: false,
this.sourceMapUri: null,
« no previous file with comments | « pkg/compiler/lib/src/diagnostics/messages.dart ('k') | pkg/compiler/lib/src/resolution/members.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698