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

Unified Diff: pkg/front_end/lib/src/fasta/compile_platform.dart

Issue 2710943006: Make patch_sdk step invoke fasta's compile_platform to generate patched_sdk/platform.dill. (Closed)
Patch Set: Add kernel and front_end to dependencies 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/src/fasta/compiler_command_line.dart » ('j') | runtime/vm/BUILD.gn » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/lib/src/fasta/compile_platform.dart
diff --git a/pkg/front_end/lib/src/fasta/compile_platform.dart b/pkg/front_end/lib/src/fasta/compile_platform.dart
index 437493a68d8a8ce8b9a33ea318d4669b72971466..2f2759c0815b4aed70ffd516222bfa2c1f3a274e 100644
--- a/pkg/front_end/lib/src/fasta/compile_platform.dart
+++ b/pkg/front_end/lib/src/fasta/compile_platform.dart
@@ -63,7 +63,8 @@ Future compilePlatform(CompilerContext c, Ticker ticker) async {
print("Compiling $patchedSdk to $output");
}
- TranslateUri uriTranslator = await TranslateUri.parse(patchedSdk);
+ TranslateUri uriTranslator = await TranslateUri.parse(
+ patchedSdk, c.options.packages);
ticker.logMs("Read packages file");
DillTarget dillTarget = new DillTarget(ticker, uriTranslator);
« no previous file with comments | « no previous file | pkg/front_end/lib/src/fasta/compiler_command_line.dart » ('j') | runtime/vm/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698