Make pathmod give absolute paths am: 5f2be11396
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3114319 Change-Id: Ic2058bedb8357311a30c483a7d4d6d338a32ae87 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
32e6102832
1 changed files with 2 additions and 1 deletions
|
@ -31,7 +31,8 @@ def main(argv):
|
|||
sys.stderr.write("usage: pathmod <module>\n")
|
||||
sys.exit(1)
|
||||
|
||||
print(modinfo.GetModule(modinfo.ReadModuleInfo(), argv[1])['path'][0])
|
||||
path = modinfo.GetModule(modinfo.ReadModuleInfo(), argv[1])['path'][0]
|
||||
print(os.path.join(os.getenv("ANDROID_BUILD_TOP", ""), path))
|
||||
|
||||
if __name__ == "__main__":
|
||||
main(sys.argv)
|
||||
|
|
Loading…
Reference in a new issue