diff options
author | 2020-12-07 10:23:54 -0800 | |
---|---|---|
committer | 2020-12-07 10:23:54 -0800 | |
commit | 02b11a6035cafa7652faa0ceb17cb1d893a38c62 (patch) | |
tree | ab63dc18ce788f69308a7b3d6b74b6a8bd96a0e4 /java/robolectric.go | |
parent | 2ba87f466c3af3ffdf2b925520c4d4e45a3f5aba (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 'java/robolectric.go')
-rw-r--r-- | java/robolectric.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/robolectric.go b/java/robolectric.go index 419efda88..c821e5bd3 100644 --- a/java/robolectric.go +++ b/java/robolectric.go @@ -260,7 +260,7 @@ func (r *robolectricTest) AndroidMkEntries() []android.AndroidMkEntries { entries := &entriesList[0] entries.ExtraFooters = []android.AndroidMkExtraFootersFunc{ - func(w io.Writer, name, prefix, moduleDir string, entries *android.AndroidMkEntries) { + func(w io.Writer, name, prefix, moduleDir string) { if s := r.robolectricProperties.Test_options.Shards; s != nil && *s > 1 { numShards := int(*s) shardSize := (len(r.tests) + numShards - 1) / numShards |