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

Unified Diff: lib/info.dart

Issue 1420303010: add 'imports' field for OutputUnitInfo (Closed) Base URL: git@github.com:dart-lang/dart2js_info.git@master
Patch Set: Created 5 years, 1 month 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 | « CHANGELOG.md ('k') | lib/json_info_codec.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/info.dart
diff --git a/lib/info.dart b/lib/info.dart
index 5e79a70e973fd0fbf084ecb364fd985dd61b0635..0ca08cab01e621246647105ea979df5be824708b 100644
--- a/lib/info.dart
+++ b/lib/info.dart
@@ -202,7 +202,11 @@ class LibraryInfo extends BasicInfo {
/// program unless the application uses deferred imports, in which case there
/// would be an additional output unit per deferred chunk.
class OutputUnitInfo extends BasicInfo {
+ /// The deferred imports that will load this output unit.
+ List<String> imports = <String>[];
Siggi Cherem (dart-lang) 2015/11/04 03:33:16 Oh funny, my initial thought was that you meant "i
Harry Terkelsen 2015/11/12 19:21:01 I'm keeping it as imports to match the name in dar
+
static int _ids = 0;
+
OutputUnitInfo(String name, int size)
: super(InfoKind.outputUnit, _ids++, name, null, size, null);
« no previous file with comments | « CHANGELOG.md ('k') | lib/json_info_codec.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698