Merge "Fix: print namespace variable names, too." am: b94feb7cb6

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

Change-Id: Id26da4e26967e4b04ff2933b7f0d5a9dededdabd
This commit is contained in:
Treehugger Robot
2021-09-01 20:48:53 +00:00
committed by Automerger Merge Worker

View File

@@ -82,7 +82,7 @@ def _printvars(globals, cfg):
# Define SOONG_CONFIG_<ns> for Make, othewise
# it cannot be added to .KATI_READONLY list
if _options.format == "make":
print("SOONG_CONFIG_" + nsname, ":=")
print("SOONG_CONFIG_" + nsname, ":=", " ".join(nsvars.keys()))
for var, val in sorted(nsvars.items()):
__print_attr("SOONG_CONFIG_%s_%s" % (nsname, var), val)
elif attr not in _globals_base: