Provide abspath for backward compatibility.
Bug: 194864642
Test: N/A
Change-Id: Ie30c57d8ea93e4247911b6ebf6fd5a3a469ac5e7
diff --git a/core/product_config.rbc b/core/product_config.rbc
index 5219751..bcb031f 100644
--- a/core/product_config.rbc
+++ b/core/product_config.rbc
@@ -293,6 +293,11 @@
fail("no such namespace: " + nsname)
ns[var] = value
+def _abspath(path):
+ """Provided for compatibility, to be removed later."""
+ return path
+
+
def _addprefix(prefix, string_or_list):
"""Adds prefix and returns a list.
@@ -598,6 +603,7 @@
rblf = struct(
add_soong_config_namespace = _add_soong_config_namespace,
add_soong_config_var_value = _add_soong_config_var_value,
+ abspath = _abspath,
addprefix = _addprefix,
addsuffix = _addsuffix,
copy_files = _copy_files,