Merge "Correct typo in prebuilt_etc property name."
This commit is contained in:
@@ -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",
|
||||
}
|
||||
`,
|
||||
},
|
||||
|
Reference in New Issue
Block a user