Remove AndroidMkExtraFootersFunc entries param.
I added in case anyone needs to access AndroidMkEntries to generate footer lines, but nobody uses it, and it only confuses people. Test: m nothing, TreeHugger Change-Id: Ic8a450e3c306d9228c1fdec212c7441bd6aaee03
This commit is contained in:
@@ -141,7 +141,7 @@ type AndroidMkEntries struct {
|
||||
}
|
||||
|
||||
type AndroidMkExtraEntriesFunc func(entries *AndroidMkEntries)
|
||||
type AndroidMkExtraFootersFunc func(w io.Writer, name, prefix, moduleDir string, entries *AndroidMkEntries)
|
||||
type AndroidMkExtraFootersFunc func(w io.Writer, name, prefix, moduleDir string)
|
||||
|
||||
// Utility funcs to manipulate Android.mk variable entries.
|
||||
|
||||
@@ -554,7 +554,7 @@ func (a *AndroidMkEntries) fillInEntries(config Config, bpPath string, mod bluep
|
||||
fmt.Fprintln(&a.footer, "include "+a.Include)
|
||||
blueprintDir := filepath.Dir(bpPath)
|
||||
for _, footerFunc := range a.ExtraFooters {
|
||||
footerFunc(&a.footer, name, prefix, blueprintDir, a)
|
||||
footerFunc(&a.footer, name, prefix, blueprintDir)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user