Merge "Add the handle to artifact path requirement functions"
This commit is contained in:
commit
19da477d4d
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