Merge "Replace $(call my-dir) with a string literal"
This commit is contained in:
@@ -1459,6 +1459,19 @@ def init(g, handle):
|
||||
g["MY_VAR_4"] = "foo"
|
||||
_my_local_var_with_dashes = ["foo"]
|
||||
g["MY_STRING_VAR"] = " ".join(rblf.expand_wildcard("foo/bar.mk"))
|
||||
`,
|
||||
},
|
||||
{
|
||||
desc: "Set LOCAL_PATH to my-dir",
|
||||
mkname: "product.mk",
|
||||
in: `
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
`,
|
||||
expected: `load("//build/make/core:product_config.rbc", "rblf")
|
||||
|
||||
def init(g, handle):
|
||||
cfg = rblf.cfg(handle)
|
||||
|
||||
`,
|
||||
},
|
||||
}
|
||||
|
Reference in New Issue
Block a user