Correct typo in prebuilt_etc property name.

Test: run bpfix
Change-Id: I5556eed9ded8e9d6f756a871a5eceb99ed97edee
This commit is contained in:
Liz Kammer 2022-01-04 12:52:43 -05:00
parent 69e8731101
commit 9f68d21155
2 changed files with 2 additions and 2 deletions

View file

@ -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:,

View file

@ -824,7 +824,7 @@ func TestRewritePrebuiltEtc(t *testing.T) {
out: `prebuilt_etc {
name: "foo",
src: "bar",
relative_install_dir: "baz",
relative_install_path: "baz",
}
`,
},