summaryrefslogtreecommitdiff
path: root/android/testing.go
diff options
context:
space:
mode:
author Chris Parsons <cparsons@google.com> 2023-06-20 21:46:57 +0000
committer Cole Faust <colefaust@google.com> 2023-09-05 17:09:51 -0700
commit73f411b72c95df6a382b65c20b679dea89bdcbaa (patch)
treed7f284064a294ea9304f780e5634abbe90daafcf /android/testing.go
parent079efbda940ff56530e3d45b5577eee56afed6d3 (diff)
Delete ApiBp2build soong_build mode
This feature is obsolete. This makes a large number of codepaths "dead code" (such as module-specific implementations of ApiBp2build functionality). These will be deleted in a followup CL. Bug: 284029211 Test: Presubmits Change-Id: Ib53b99f1fe8c24380d219caf44e9bb3b96724fa0
Diffstat (limited to 'android/testing.go')
-rw-r--r--android/testing.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/android/testing.go b/android/testing.go
index 5ad7ad07f..32357db80 100644
--- a/android/testing.go
+++ b/android/testing.go
@@ -467,12 +467,6 @@ func (ctx *TestContext) RegisterForBazelConversion() {
RegisterMutatorsForBazelConversion(ctx.Context, ctx.bp2buildPreArch)
}
-// RegisterForApiBazelConversion prepares a test context for API bp2build conversion.
-func (ctx *TestContext) RegisterForApiBazelConversion() {
- ctx.config.BuildMode = ApiBp2build
- RegisterMutatorsForApiBazelConversion(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.