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

Unified Diff: pkg/front_end/lib/compiler_options.dart

Issue 2690203002: Add support for additional libraries to FE API (Closed)
Patch Set: add support for additional libraries to FE API Created 3 years, 10 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 | « no previous file | pkg/front_end/lib/kernel_generator.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/lib/compiler_options.dart
diff --git a/pkg/front_end/lib/compiler_options.dart b/pkg/front_end/lib/compiler_options.dart
index 921758ac57377659a4b6c3fcd097856ea931294b..8653baa02915515c847126e816f5d9e052d1ec23 100644
--- a/pkg/front_end/lib/compiler_options.dart
+++ b/pkg/front_end/lib/compiler_options.dart
@@ -127,4 +127,10 @@ class CompilerOptions {
/// either absolute or relative URIs. Absolute URIs are read directly, while
/// relative URIs are resolved from the [sdkRoot].
Map<Uri, List<Uri>> targetPatches = {};
+
+ /// Additional core libraries to be loaded when building a program.
+ // TODO(sigmund): delete. Ideally building a program only needs what's
+ // reachable and we can use kernelForBuildUnit when creating a snapshot of the
+ // SDK itself.
+ List<Uri> additionalLibraries = [];
}
« no previous file with comments | « no previous file | pkg/front_end/lib/kernel_generator.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698