From 0488f3da5b6c0c4f16f6c4241d4bdeec437a7d22 Mon Sep 17 00:00:00 2001 From: Cole Faust Date: Fri, 15 Apr 2022 15:05:03 -0700 Subject: [PATCH] Implement abspath This is to minimize the differences between the make and starlark product configs for the quick ci test. Bug: 229132189 Test: Manually Change-Id: I3286ba64e9d8fc9d1b169a7ed18f5a565a117a8d --- core/product_config.rbc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/product_config.rbc b/core/product_config.rbc index 917475addf..928cc557c0 100644 --- a/core/product_config.rbc +++ b/core/product_config.rbc @@ -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):