Correct typo in prebuilt_etc property name.
Test: run bpfix Change-Id: I5556eed9ded8e9d6f756a871a5eceb99ed97edee
This commit is contained in:
parent
69e8731101
commit
9f68d21155
2 changed files with 2 additions and 2 deletions
|
@ -641,7 +641,7 @@ func rewriteAndroidmkPrebuiltEtc(f *Fixer) error {
|
|||
// 'srcs' --> 'src' conversion
|
||||
convertToSingleSource(mod, "src")
|
||||
|
||||
renameProperty(mod, "sub_dir", "relative_install_dir")
|
||||
renameProperty(mod, "sub_dir", "relative_install_path")
|
||||
|
||||
// The rewriter converts LOCAL_MODULE_PATH attribute into a struct attribute
|
||||
// 'local_module_path'. Analyze its contents and create the correct sub_dir:,
|
||||
|
|
|
@ -824,7 +824,7 @@ func TestRewritePrebuiltEtc(t *testing.T) {
|
|||
out: `prebuilt_etc {
|
||||
name: "foo",
|
||||
src: "bar",
|
||||
relative_install_dir: "baz",
|
||||
relative_install_path: "baz",
|
||||
}
|
||||
`,
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue