diff options
author | 2023-06-20 21:46:57 +0000 | |
---|---|---|
committer | 2023-09-05 17:09:51 -0700 | |
commit | 73f411b72c95df6a382b65c20b679dea89bdcbaa (patch) | |
tree | d7f284064a294ea9304f780e5634abbe90daafcf /bp2build/build_conversion_test.go | |
parent | 079efbda940ff56530e3d45b5577eee56afed6d3 (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 'bp2build/build_conversion_test.go')
-rw-r--r-- | bp2build/build_conversion_test.go | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/bp2build/build_conversion_test.go b/bp2build/build_conversion_test.go index 8ee0439c0..3887c5da9 100644 --- a/bp2build/build_conversion_test.go +++ b/bp2build/build_conversion_test.go @@ -1879,30 +1879,6 @@ filegroup { }) } -func TestGenerateApiBazelTargets(t *testing.T) { - bp := ` - custom { - name: "foo", - api: "foo.txt", - } - ` - expectedBazelTarget := MakeBazelTarget( - "custom_api_contribution", - "foo", - AttrNameToString{ - "api": `"foo.txt"`, - }, - ) - registerCustomModule := func(ctx android.RegistrationContext) { - ctx.RegisterModuleType("custom", customModuleFactoryHostAndDevice) - } - RunApiBp2BuildTestCase(t, registerCustomModule, Bp2buildTestCase{ - Blueprint: bp, - ExpectedBazelTargets: []string{expectedBazelTarget}, - Description: "Generating API contribution Bazel targets for custom module", - }) -} - func TestGenerateConfigSetting(t *testing.T) { bp := ` custom { |