diff options
Diffstat (limited to 'java/aar.go')
-rw-r--r-- | java/aar.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/java/aar.go b/java/aar.go index 180e1d726..20972b2d8 100644 --- a/java/aar.go +++ b/java/aar.go @@ -1305,7 +1305,11 @@ func AndroidLibraryBazelTargetModuleProperties() bazel.BazelTargetModuleProperti } func (a *AndroidLibrary) ConvertWithBp2build(ctx android.TopDownMutatorContext) { - commonAttrs, bp2buildInfo := a.convertLibraryAttrsBp2Build(ctx) + commonAttrs, bp2buildInfo, supported := a.convertLibraryAttrsBp2Build(ctx) + if !supported { + return + } + depLabels := bp2buildInfo.DepLabels deps := depLabels.Deps |