diff options
| author | 2021-03-16 01:21:34 +0000 | |
|---|---|---|
| committer | 2021-03-16 12:23:56 +0000 | |
| commit | 567465da8cf04b436e82be5c0f2fa46f0f2001aa (patch) | |
| tree | 9a3d54e1e6428fde7e05594392d73aa4ffc11e55 /python/python.go | |
| parent | 3abc174cfdf91307c65b309f4ebeb91e25f19714 (diff) | |
Add (String)Path(s)RelativeToTop and assert functions
The existing NormalizePathForTesting function does not handle make
install paths very well, as it returns a relative path with a leading
"../" which is very confusing. It also does not clearly differentiate
between the different paths.
These functions return paths that are basically what are seen in a
normal developer build, i.e.
* <source path>
* out/soong/<soong output path>
* out/<make output path>
That makes tests that use them easier to understand.
Follow up changes will clean up the existing usages of the
Normalize... functions.
Bug: 182885307
Test: m nothing
Change-Id: I17ddc996bef5bbbf4a62da8334ea6ce29e306109
Diffstat (limited to 'python/python.go')
0 files changed, 0 insertions, 0 deletions