[GN] Add support to rebase_path to resolve paths above the source root.
Currently, rebase_path clips any path which references the filesystem above or outside of the source root. Extend this functionality to allow rebase_path to properly resolve paths outside the source root when the absolute path to the source root is known. When the source root is unknown, the behavior will continue to clip. BUG=554241 TEST=gn_unittests Review URL: https://codereview.chromium.org/1455203002 Cr-Commit-Position: refs/heads/master@{#363080}
Showing
Please register or sign in to comment