diff options
author | 2023-08-04 16:37:42 -0400 | |
---|---|---|
committer | 2023-08-04 16:39:57 -0400 | |
commit | 7f375869ab19dacb2ee3e189d90ed3f94e4f4faf (patch) | |
tree | ef876acbbea2a30e1827c7fd1fcf41a9179bb40e /java/plugin.go | |
parent | 4d293f3dd61bc2d51889001204b43aa7d79c5665 (diff) |
Add unconverted reason for jarjar incompatibility.
Test: m bp2build
Change-Id: I112b84fa53f57b9df2bd1e1616012fe55b48001e
Diffstat (limited to 'java/plugin.go')
-rw-r--r-- | java/plugin.go | 5 |
1 files changed, 4 insertions, 1 deletions
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 |