This is an archive of the discontinued LLVM Phabricator instance.

[gn] Rebase paths in symlink_or_copy against root_build_dir
ClosedPublic

Authored by phosek on Apr 5 2019, 11:42 AM.

Details

Summary

We should be always rebasing paths against root_build_dir which is
the directory where scripts are run from, not root_out_dir which is
the current toolchain directory. The latter can result in invalid
paths when the action is being used from a non-default toolchain.

Diff Detail

Repository
rL LLVM

Event Timeline

phosek created this revision.Apr 5 2019, 11:42 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 5 2019, 11:42 AM
thakis accepted this revision.Apr 5 2019, 11:46 AM
This revision is now accepted and ready to land.Apr 5 2019, 11:46 AM
This revision was automatically updated to reflect the committed changes.