Make resolve_dotdot consistent between checkdeps.py and PRESUBMIT.py

Currently, manually running checkdeps.py resolves relative includes. But
the API used by PRESUBMIT.py does not. This means that presubmits can
fail but manual reproduction doesn't work. Since we already can support
relative includes, this CL supports it everywhere.

Bug: 443275577
Change-Id: I415a9a841fadfe36a89a233c21b19761ec7dab54
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6980526
Commit-Queue: Daniel Rubery <[email protected]>
Reviewed-by: Thomas Anderson <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1520684}
NOKEYCHECK=True
GitOrigin-RevId: 935ea9e70b3e11200f053b31b38c91e4956dd489
1 file changed