Add unconverted reason for jarjar incompatibility.

Test: m bp2build
Change-Id: I112b84fa53f57b9df2bd1e1616012fe55b48001e
This commit is contained in:
Liz Kammer
2023-08-04 16:37:42 -04:00
parent 4d293f3dd6
commit 7f375869ab
4 changed files with 32 additions and 8 deletions

View File

@@ -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