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

Unified Diff: tests/compiler/dart2js/analyze_helper.dart

Issue 1746743002: Use checked-in .package file for building and testing (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Status fixes Created 4 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
« no previous file with comments | « sdk/lib/_internal/js_runtime/.packages ('k') | tests/compiler/dart2js/dart2js_resolver_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/analyze_helper.dart
diff --git a/tests/compiler/dart2js/analyze_helper.dart b/tests/compiler/dart2js/analyze_helper.dart
index fb06d78cf187bb8408bbcc7617c036a53a8849d5..58370a7558b6e59726375f653ad872c77be91688 100644
--- a/tests/compiler/dart2js/analyze_helper.dart
+++ b/tests/compiler/dart2js/analyze_helper.dart
@@ -220,8 +220,7 @@ Future analyze(List<Uri> uriList,
""");
var libraryRoot = currentDirectory.resolve('sdk/');
- var packageRoot =
- currentDirectory.resolve(Platform.packageRoot);
+ var packageConfig = currentDirectory.resolve('.packages');
var provider = new CompilerSourceFileProvider();
var handler = new CollectingDiagnosticHandler(whiteList, skipList, provider);
options = <String>[Flags.analyzeOnly, '--categories=Client,Server',
@@ -249,7 +248,7 @@ Future analyze(List<Uri> uriList,
handler,
new CompilerOptions.parse(
libraryRoot: libraryRoot,
- packageRoot: packageRoot,
+ packageConfig: packageConfig,
options: options,
environment: {}));
String MESSAGE = """
« no previous file with comments | « sdk/lib/_internal/js_runtime/.packages ('k') | tests/compiler/dart2js/dart2js_resolver_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698