summaryrefslogtreecommitdiff
path: root/android/testing.go
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2024-01-04 14:47:45 -0800
committer Colin Cross <ccross@android.com> 2024-01-05 09:54:09 -0800
commit3cc3154d33265d956bb1036d1e9a569cf3eb8d4a (patch)
tree211a6495af9f6e1f680b5806d75f3ee8c6cdfd3f /android/testing.go
parentd3f7d1a44c2ea75072197b0e610c07216ba92ae2 (diff)
Remove more bp2build
Bug: 315353489 Test: m blueprint_tests Change-Id: Ib854fe1a448c258fe086691a6e5ed2d98537f5e4
Diffstat (limited to 'android/testing.go')
-rw-r--r--android/testing.go7
1 files changed, 0 insertions, 7 deletions
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)