Correct typo in prebuilt_etc property name.
Test: run bpfix Change-Id: I5556eed9ded8e9d6f756a871a5eceb99ed97edee
This commit is contained in:
@@ -641,7 +641,7 @@ func rewriteAndroidmkPrebuiltEtc(f *Fixer) error {
|
|||||||
// 'srcs' --> 'src' conversion
|
// 'srcs' --> 'src' conversion
|
||||||
convertToSingleSource(mod, "src")
|
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
|
// The rewriter converts LOCAL_MODULE_PATH attribute into a struct attribute
|
||||||
// 'local_module_path'. Analyze its contents and create the correct sub_dir:,
|
// 'local_module_path'. Analyze its contents and create the correct sub_dir:,
|
||||||
|
@@ -824,7 +824,7 @@ func TestRewritePrebuiltEtc(t *testing.T) {
|
|||||||
out: `prebuilt_etc {
|
out: `prebuilt_etc {
|
||||||
name: "foo",
|
name: "foo",
|
||||||
src: "bar",
|
src: "bar",
|
||||||
relative_install_dir: "baz",
|
relative_install_path: "baz",
|
||||||
}
|
}
|
||||||
`,
|
`,
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user