From 7f375869ab19dacb2ee3e189d90ed3f94e4f4faf Mon Sep 17 00:00:00 2001 From: Liz Kammer Date: Fri, 4 Aug 2023 16:37:42 -0400 Subject: Add unconverted reason for jarjar incompatibility. Test: m bp2build Change-Id: I112b84fa53f57b9df2bd1e1616012fe55b48001e --- java/plugin.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'java/plugin.go') diff --git a/java/plugin.go b/java/plugin.go index 731dfda00..51272981b 100644 --- a/java/plugin.go +++ b/java/plugin.go @@ -66,7 +66,10 @@ type pluginAttributes struct { // ConvertWithBp2build is used to convert android_app to Bazel. func (p *Plugin) ConvertWithBp2build(ctx android.TopDownMutatorContext) { pluginName := p.Name() - commonAttrs, bp2BuildInfo := p.convertLibraryAttrsBp2Build(ctx) + commonAttrs, bp2BuildInfo, supported := p.convertLibraryAttrsBp2Build(ctx) + if !supported { + return + } depLabels := bp2BuildInfo.DepLabels deps := depLabels.Deps -- cgit v1.2.3-59-g8ed1b