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

Issue 2776323002: Fix computation of relative paths in depsfile when cross-compiling (Closed)

Created:
3 years, 9 months ago by jamesr
Modified:
3 years, 8 months ago
CC:
dart-fe-team+reviews_google.com, reviews_dartlang.org, tkilbourn
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Fix computation of relative paths in depsfile when cross-compiling Relative paths in a depsfile are interpreted by ninja relative to the current working directory which in a GN build is the root of the build directory ($root_build_dir in GN terms). When doing a cross-compilation, this is different from the root of the output directory ($root_out_dir in GN terms) for all builds other than the target. This fixes the computation of depsfile entries so that they are always relative to the current working directory. Concretely, this means incremental builds in Fuchsia do not always rerun the patch_sdk step for the host, shaving 12+ seconds off of no-op builds. R=johnmccutchan@google.com Committed: https://github.com/dart-lang/sdk/commit/2b70abd2e3d52f0c6771f09b6847ae4bca3016e2

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -2 lines) Patch
M pkg/front_end/lib/src/fasta/kernel/kernel_target.dart View 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 9 (4 generated)
jamesr1
See discussion https://codereview.chromium.org/2729503006/
3 years, 9 months ago (2017-03-27 21:41:54 UTC) #2
zra
3 years, 9 months ago (2017-03-27 22:16:15 UTC) #4
Cutch
lgtm
3 years, 9 months ago (2017-03-27 22:17:18 UTC) #5
jamesr
Committed patchset #1 (id:1) manually as 2b70abd2e3d52f0c6771f09b6847ae4bca3016e2 (presubmit successful).
3 years, 9 months ago (2017-03-28 03:28:13 UTC) #7
ahe
3 years, 8 months ago (2017-03-28 06:23:51 UTC) #9
Message was sent while issue was closed.
lgtm

Thank you!

Powered by Google App Engine
This is Rietveld 408576698