Merge "mk2rbc support for clear_var_list" am: 796469bb6f

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

Change-Id: I15f8edbab9280c56cf0f7f24e089760341d4ad8f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Greg Kaiser 2022-12-13 21:34:09 +00:00 committed by Automerger Merge Worker
commit 16cc1ef613

View file

@ -78,6 +78,7 @@ var knownFunctions = map[string]interface {
"addprefix": &simpleCallParser{name: baseName + ".addprefix", returnType: starlarkTypeList},
"addsuffix": &simpleCallParser{name: baseName + ".addsuffix", returnType: starlarkTypeList},
"and": &andOrParser{isAnd: true},
"clear-var-list": &simpleCallParser{name: baseName + ".clear_var_list", returnType: starlarkTypeVoid, addGlobals: true, addHandle: true},
"copy-files": &simpleCallParser{name: baseName + ".copy_files", returnType: starlarkTypeList},
"dir": &simpleCallParser{name: baseName + ".dir", returnType: starlarkTypeString},
"dist-for-goals": &simpleCallParser{name: baseName + ".mkdist_for_goals", returnType: starlarkTypeVoid, addGlobals: true},