diff options
author | 2022-10-31 14:44:28 -0400 | |
---|---|---|
committer | 2022-11-22 11:46:34 -0500 | |
commit | 92c725994f61e54090a8a3db578364d67142e24b (patch) | |
tree | adf33bb682a924d517797a4548703151f3a02559 /android/testing.go | |
parent | fd8a49fb9dc5e392e049290f67d39f1ee760c054 (diff) |
Extend sanitize_test.go
Test: go test soong cc tests
Change-Id: I63fe74fb837e25f63074fb918a573f8b421562f1
Diffstat (limited to 'android/testing.go')
-rw-r--r-- | android/testing.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/android/testing.go b/android/testing.go index 8fcf4409b..29af71fbc 100644 --- a/android/testing.go +++ b/android/testing.go @@ -203,6 +203,10 @@ func (ctx *TestContext) HardCodedPreArchMutators(f RegisterMutatorFunc) { ctx.PreArchMutators(f) } +func (ctx *TestContext) ModuleProvider(m blueprint.Module, p blueprint.ProviderKey) interface{} { + return ctx.Context.ModuleProvider(m, p) +} + func (ctx *TestContext) PreDepsMutators(f RegisterMutatorFunc) { ctx.preDeps = append(ctx.preDeps, f) } |