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

Unified Diff: sdk/lib/_internal/pub/lib/src/utils.dart

Issue 548603002: Use the VM to detect when a precompiled executable is out-of-date. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Code review changes Created 6 years, 3 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: sdk/lib/_internal/pub/lib/src/utils.dart
diff --git a/sdk/lib/_internal/pub/lib/src/utils.dart b/sdk/lib/_internal/pub/lib/src/utils.dart
index 3abeefdb5e5e2bbbd24b25b52ebaa430fa143c02..b44a00d7d838986dec745b3b012225118583b24d 100644
--- a/sdk/lib/_internal/pub/lib/src/utils.dart
+++ b/sdk/lib/_internal/pub/lib/src/utils.dart
@@ -8,7 +8,10 @@ library pub.utils;
import 'dart:async';
import "dart:convert";
import 'dart:io';
-@MirrorsUsed(targets: 'pub.io')
+
+// This is used by [libraryPath]. It must be kept up-to-date with all libraries
+// whose paths are looked up using that function.
+@MirrorsUsed(targets: ['pub.io', 'test_pub'])
import 'dart:mirrors';
import "package:crypto/crypto.dart";
« no previous file with comments | « sdk/lib/_internal/pub/lib/src/global_packages.dart ('k') | sdk/lib/_internal/pub/test/asset/out-of-date.snapshot » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698