summaryrefslogtreecommitdiff
path: root/android/androidmk.go
diff options
context:
space:
mode:
author Jaewoong Jung <jungjw@google.com> 2020-12-07 10:23:54 -0800
committer Jaewoong Jung <jungjw@google.com> 2020-12-07 10:23:54 -0800
commit02b11a6035cafa7652faa0ceb17cb1d893a38c62 (patch)
treeab63dc18ce788f69308a7b3d6b74b6a8bd96a0e4 /android/androidmk.go
parent2ba87f466c3af3ffdf2b925520c4d4e45a3f5aba (diff)
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
Diffstat (limited to 'android/androidmk.go')
-rw-r--r--android/androidmk.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/android/androidmk.go b/android/androidmk.go
index 42c5d0083..b32048aab 100644
--- a/android/androidmk.go
+++ b/android/androidmk.go
@@ -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)
}
}