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-Original-Commit-Position: refs/heads/master@{#709847}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 39afaf988c96ab2ed3e3c6c3edeccc23619e388f