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

Unified Diff: pkg/front_end/lib/src/fasta/kernel/kernel_target.dart

Issue 2776323002: Fix computation of relative paths in depsfile when cross-compiling (Closed)
Patch Set: Created 3 years, 9 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/lib/src/fasta/kernel/kernel_target.dart
diff --git a/pkg/front_end/lib/src/fasta/kernel/kernel_target.dart b/pkg/front_end/lib/src/fasta/kernel/kernel_target.dart
index 8c9894004dedccfd571da4b82196e44757182715..a6fdbf60c2c79dcac13e77a3c0a7d1dc3b39c75a 100644
--- a/pkg/front_end/lib/src/fasta/kernel/kernel_target.dart
+++ b/pkg/front_end/lib/src/fasta/kernel/kernel_target.dart
@@ -285,9 +285,8 @@ class KernelTarget extends TargetImplementation {
Future writeDepsFile(Uri output, Uri depsFile,
{Iterable<Uri> extraDependencies}) async {
- Uri base = depsFile.resolve(".");
String toRelativeFilePath(Uri uri) {
- return Uri.parse(relativizeUri(uri, base: base)).toFilePath();
+ return Uri.parse(relativizeUri(uri)).toFilePath();
}
if (loader.first == null) return null;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698