Merge "Add missing t.Helper() to androidmk functions" am: 17d0a8509b am: 410ca59d64

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2288159

Change-Id: I02f4316a2429837434c8e5911502ba4d6267669d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot 2022-11-05 02:01:00 +00:00 committed by Automerger Merge Worker
commit 223fd02f39

View file

@ -1120,6 +1120,7 @@ func SetKatiEnabledForTests(config Config) {
}
func AndroidMkEntriesForTest(t *testing.T, ctx *TestContext, mod blueprint.Module) []AndroidMkEntries {
t.Helper()
var p AndroidMkEntriesProvider
var ok bool
if p, ok = mod.(AndroidMkEntriesProvider); !ok {
@ -1134,6 +1135,7 @@ func AndroidMkEntriesForTest(t *testing.T, ctx *TestContext, mod blueprint.Modul
}
func AndroidMkDataForTest(t *testing.T, ctx *TestContext, mod blueprint.Module) AndroidMkData {
t.Helper()
var p AndroidMkDataProvider
var ok bool
if p, ok = mod.(AndroidMkDataProvider); !ok {