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