From 73f411b72c95df6a382b65c20b679dea89bdcbaa Mon Sep 17 00:00:00 2001 From: Chris Parsons Date: Tue, 20 Jun 2023 21:46:57 +0000 Subject: 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 --- android/testing.go | 6 ------ 1 file changed, 6 deletions(-) (limited to 'android/testing.go') 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. -- cgit v1.2.3-59-g8ed1b