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

Unified Diff: runtime/bin/vmservice/loader.dart

Issue 1553233002: Add package config support to dart:isolate (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Addressed review comments. Created 4 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 side-by-side diff with in-line comments
Download patch
Index: runtime/bin/vmservice/loader.dart
diff --git a/runtime/bin/vmservice/loader.dart b/runtime/bin/vmservice/loader.dart
index 38b62b171a8c1dd40090bc174040ec5dad4c045a..6bc8c456093f2ef58fc92ecc7d38b105c5c86d36 100644
--- a/runtime/bin/vmservice/loader.dart
+++ b/runtime/bin/vmservice/loader.dart
@@ -132,7 +132,9 @@ _parsePackagesFile(SendPort sp,
bool traceLoading,
Uri packagesFile,
List<int> data) {
- var result = [];
+ // The first entry contains the location of the identified .packages file
+ // instead of a mapping.
+ var result = [packagesFile.toString(), null];
var index = 0;
var len = data.length;
while (index < len) {

Powered by Google App Engine
This is Rietveld 408576698