Merge "Implement abspath" am: a9aa002d3b am: bc0c150831

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

Change-Id: Ib32425125c2e6554fbf36f1496047d89e912b5a0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Cole Faust 2022-04-18 22:14:13 +00:00 committed by Automerger Merge Worker
commit a6ea980936

View file

@ -403,7 +403,9 @@ def _soong_config_get(g, nsname, var):
def _abspath(path): def _abspath(path):
"""Provided for compatibility, to be removed later.""" """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): def _addprefix(prefix, string_or_list):