From 02b11a6035cafa7652faa0ceb17cb1d893a38c62 Mon Sep 17 00:00:00 2001 From: Jaewoong Jung Date: Mon, 7 Dec 2020 10:23:54 -0800 Subject: 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 --- sdk/sdk.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sdk/sdk.go') diff --git a/sdk/sdk.go b/sdk/sdk.go index 50b0886d4..f3d075022 100644 --- a/sdk/sdk.go +++ b/sdk/sdk.go @@ -311,7 +311,7 @@ func (s *sdk) AndroidMkEntries() []android.AndroidMkEntries { DistFiles: android.MakeDefaultDistFiles(s.snapshotFile.Path()), Include: "$(BUILD_PHONY_PACKAGE)", ExtraFooters: []android.AndroidMkExtraFootersFunc{ - func(w io.Writer, name, prefix, moduleDir string, entries *android.AndroidMkEntries) { + func(w io.Writer, name, prefix, moduleDir string) { // Allow the sdk to be built by simply passing its name on the command line. fmt.Fprintln(w, ".PHONY:", s.Name()) fmt.Fprintln(w, s.Name()+":", s.snapshotFile.String()) -- cgit v1.2.3-59-g8ed1b