diff options
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 { |