Extend sanitize_test.go

Test: go test soong cc tests
Change-Id: I63fe74fb837e25f63074fb918a573f8b421562f1
This commit is contained in:
Liz Kammer
2022-10-31 14:44:28 -04:00
parent fd8a49fb9d
commit 92c725994f
2 changed files with 154 additions and 42 deletions

View File

@@ -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)
}