aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Smundak <asmundak@google.com>2021-10-26 17:08:50 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2021-10-26 17:08:50 +0000
commitd79a15a8ada948a5018420d2da7d8f956fafc9fd (patch)
treedacd2a083919a26c85ec1c1a49f43a5cc51c655e
parent8cdc80bc24d13dcca0c4574fc844a8e30f544b85 (diff)
parentda2f56ebe460ee0b0aad308897498e7e63b2775b (diff)
downloadbuild-d79a15a8ada948a5018420d2da7d8f956fafc9fd.tar.gz
Merge "Provide abspath for backward compatibility."
-rw-r--r--core/product_config.rbc6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/product_config.rbc b/core/product_config.rbc
index 5219751e34..bcb031f5d6 100644
--- a/core/product_config.rbc
+++ b/core/product_config.rbc
@@ -293,6 +293,11 @@ def _add_soong_config_var_value(g, nsname, var, value):
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 @@ _options = __get_options()
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,