Make rc.py generated ninja dependency outputs independent of where the
root output directory is actually located. The existing fixed paths assumed the out dir is located in the chromium src directory. Downstream projects may have their out directory located elsewhere, for example in the chromium src dir's parent dir. This CL calculates the relative path between the out directory and the tool base directory, and uses that to generate the paths in the dependency notes. Change-Id: Ie584c3133baeaba1f2b18225a9a7e6501fce6dc1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1879457 Commit-Queue: Yngve Pettersen <yngve@vivaldi.com> Reviewed-by:Nico Weber <thakis@chromium.org> Cr-Commit-Position: refs/heads/master@{#709847}
Showing
Please register or sign in to comment