Merge "Add the handle to artifact path requirement functions" am: 19da477d4d
am: 3258cf45ec
am: 6243bf5ca4
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2035363 Change-Id: I3347f31365707564cb18b390af2478c3e6559d1b Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
db5170fb8d
2 changed files with 4 additions and 4 deletions
|
@ -107,8 +107,8 @@ var knownFunctions = map[string]interface {
|
|||
"my-dir": &myDirCallParser{},
|
||||
"patsubst": &substCallParser{fname: "patsubst"},
|
||||
"product-copy-files-by-pattern": &simpleCallParser{name: baseName + ".product_copy_files_by_pattern", returnType: starlarkTypeList},
|
||||
"require-artifacts-in-path": &simpleCallParser{name: baseName + ".require_artifacts_in_path", returnType: starlarkTypeVoid},
|
||||
"require-artifacts-in-path-relaxed": &simpleCallParser{name: baseName + ".require_artifacts_in_path_relaxed", returnType: starlarkTypeVoid},
|
||||
"require-artifacts-in-path": &simpleCallParser{name: baseName + ".require_artifacts_in_path", returnType: starlarkTypeVoid, addHandle: true},
|
||||
"require-artifacts-in-path-relaxed": &simpleCallParser{name: baseName + ".require_artifacts_in_path_relaxed", returnType: starlarkTypeVoid, addHandle: true},
|
||||
// TODO(asmundak): remove it once all calls are removed from configuration makefiles. see b/183161002
|
||||
"shell": &shellCallParser{},
|
||||
"sort": &simpleCallParser{name: baseName + ".mksort", returnType: starlarkTypeList},
|
||||
|
|
|
@ -775,8 +775,8 @@ def init(g, handle):
|
|||
cfg = rblf.cfg(handle)
|
||||
rblf.enforce_product_packages_exist("")
|
||||
rblf.enforce_product_packages_exist("foo")
|
||||
rblf.require_artifacts_in_path("foo", "bar")
|
||||
rblf.require_artifacts_in_path_relaxed("foo", "bar")
|
||||
rblf.require_artifacts_in_path(handle, "foo", "bar")
|
||||
rblf.require_artifacts_in_path_relaxed(handle, "foo", "bar")
|
||||
rblf.mkdist_for_goals(g, "goal", "from:to")
|
||||
rblf.add_product_dex_preopt_module_config(handle, "MyModule", "disable")
|
||||
`,
|
||||
|
|
Loading…
Reference in a new issue