Merge "Correct typo in prebuilt_etc property name."

This commit is contained in:
Treehugger Robot
2022-01-05 16:59:54 +00:00
committed by Gerrit Code Review
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",
}
`,
},