summaryrefslogtreecommitdiff
path: root/android/testing.go
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2023-12-07 16:54:51 -0800
committer Colin Cross <ccross@android.com> 2023-12-08 13:51:07 -0800
commitb63d7b3af71b13d94f30f1d973d375a5fadfdd48 (patch)
tree4119f7f781e93397a929304fc9f8193dfab24b14 /android/testing.go
parent8ff105860d20f2ccbb8d8044bf562f94100b7f6a (diff)
Remove infrastructure to run bp2build
Bug: 315353489 Test: m blueprint_tests Change-Id: Idcf6377d389b94c39e4e6ff4b8efa8a9f9e78b17
Diffstat (limited to 'android/testing.go')
-rw-r--r--android/testing.go10
1 files changed, 0 insertions, 10 deletions
diff --git a/android/testing.go b/android/testing.go
index c596468c3..fa4dffd9b 100644
--- a/android/testing.go
+++ b/android/testing.go
@@ -219,10 +219,6 @@ func (ctx *TestContext) FinalDepsMutators(f RegisterMutatorFunc) {
ctx.finalDeps = append(ctx.finalDeps, f)
}
-func (ctx *TestContext) RegisterBp2BuildConfig(config Bp2BuildConversionAllowlist) {
- ctx.config.Bp2buildPackageConfig = config
-}
-
// 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) {
@@ -449,12 +445,6 @@ func (ctx *TestContext) Register() {
ctx.singletonOrder = componentsToNames(singletons)
}
-// RegisterForBazelConversion prepares a test context for bp2build conversion.
-func (ctx *TestContext) RegisterForBazelConversion() {
- ctx.config.BuildMode = Bp2build
- RegisterMutatorsForBazelConversion(ctx.Context, ctx.bp2buildPreArch)
-}
-
func (ctx *TestContext) ParseFileList(rootDir string, filePaths []string) (deps []string, errs []error) {
// This function adapts the old style ParseFileList calls that are spread throughout the tests
// to the new style that takes a config.