From 3cc3154d33265d956bb1036d1e9a569cf3eb8d4a Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Thu, 4 Jan 2024 14:47:45 -0800 Subject: Remove more bp2build Bug: 315353489 Test: m blueprint_tests Change-Id: Ib854fe1a448c258fe086691a6e5ed2d98537f5e4 --- android/testing.go | 7 ------- 1 file changed, 7 deletions(-) (limited to 'android/testing.go') diff --git a/android/testing.go b/android/testing.go index 3d0300a01..78afaa5fc 100644 --- a/android/testing.go +++ b/android/testing.go @@ -183,7 +183,6 @@ func NewTestArchContext(config Config) *TestContext { type TestContext struct { *Context preArch, preDeps, postDeps, finalDeps []RegisterMutatorFunc - bp2buildPreArch, bp2buildMutators []RegisterMutatorFunc NameResolver *NameResolver // The list of singletons registered for the test. @@ -219,12 +218,6 @@ func (ctx *TestContext) FinalDepsMutators(f RegisterMutatorFunc) { ctx.finalDeps = append(ctx.finalDeps, f) } -// PreArchBp2BuildMutators adds mutators to be register for converting Android Blueprint modules -// into Bazel BUILD targets that should run prior to deps and conversion. -func (ctx *TestContext) PreArchBp2BuildMutators(f RegisterMutatorFunc) { - ctx.bp2buildPreArch = append(ctx.bp2buildPreArch, f) -} - func (ctx *TestContext) OtherModuleProviderAdaptor() OtherModuleProviderContext { return NewOtherModuleProviderAdaptor(func(module blueprint.Module, provider blueprint.AnyProviderKey) (any, bool) { return ctx.moduleProvider(module, provider) -- cgit v1.2.3-59-g8ed1b