Merge "Implement abspath" am: a9aa002d3b

Original change: https://android-review.googlesource.com/c/platform/build/+/2065554

Change-Id: I1d3870beed4989bc3cc1fa3671c9f5cdb2169b9a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Cole Faust
2022-04-18 21:44:24 +00:00
committed by Automerger Merge Worker

View File

@@ -403,7 +403,9 @@ def _soong_config_get(g, nsname, var):
def _abspath(path):
"""Provided for compatibility, to be removed later."""
return path
if type(path) == "list":
path = " ".join(path)
return rblf_shell("realpath "+path)
def _addprefix(prefix, string_or_list):