Merge "Provide abspath for backward compatibility." am: d79a15a8ad
am: bcd3d8c4d0
Original change: https://android-review.googlesource.com/c/platform/build/+/1836495 Change-Id: Iaff496df30b8a5dde5d6cd5ccad91bb739d341e5
This commit is contained in:
@@ -293,6 +293,11 @@ def _add_soong_config_var_value(g, nsname, var, value):
|
|||||||
fail("no such namespace: " + nsname)
|
fail("no such namespace: " + nsname)
|
||||||
ns[var] = value
|
ns[var] = value
|
||||||
|
|
||||||
|
def _abspath(path):
|
||||||
|
"""Provided for compatibility, to be removed later."""
|
||||||
|
return path
|
||||||
|
|
||||||
|
|
||||||
def _addprefix(prefix, string_or_list):
|
def _addprefix(prefix, string_or_list):
|
||||||
"""Adds prefix and returns a list.
|
"""Adds prefix and returns a list.
|
||||||
|
|
||||||
@@ -598,6 +603,7 @@ _options = __get_options()
|
|||||||
rblf = struct(
|
rblf = struct(
|
||||||
add_soong_config_namespace = _add_soong_config_namespace,
|
add_soong_config_namespace = _add_soong_config_namespace,
|
||||||
add_soong_config_var_value = _add_soong_config_var_value,
|
add_soong_config_var_value = _add_soong_config_var_value,
|
||||||
|
abspath = _abspath,
|
||||||
addprefix = _addprefix,
|
addprefix = _addprefix,
|
||||||
addsuffix = _addsuffix,
|
addsuffix = _addsuffix,
|
||||||
copy_files = _copy_files,
|
copy_files = _copy_files,
|
||||||
|
Reference in New Issue
Block a user