Move API providing modules from bp2build to api_bp2build workspace

The module types in scope are
1. ndk_library
2. ndk_headers, versioned_ndk_headers
3. api_domain

These modules will no longer generate Bazel targets in bp2build
workspace. A new soong mode `api_bp2build` will be used to generate API
specific targets in a separate Bazel workspace at out/soong/api_bp2build

Test: go test ./bp2build

Change-Id: I01d06b6d8b8364c0d56d6d3f07f8f8bf21db31d7
This commit is contained in:
Spandan Das
2022-09-29 00:28:24 +00:00
parent 5af0bd3e48
commit 8b4a5f352e
7 changed files with 22 additions and 15 deletions

View File

@@ -60,7 +60,7 @@ func TestApiDomainContributionsTest(t *testing.T) {
"target_compatible_with": `["//build/bazel/platforms/os:android"]`,
},
)
RunBp2BuildTestCase(t, registerApiDomainModuleTypes, Bp2buildTestCase{
RunApiBp2BuildTestCase(t, registerApiDomainModuleTypes, Bp2buildTestCase{
Blueprint: bp,
ExpectedBazelTargets: []string{expectedBazelTarget},
Filesystem: fs,