diff options
Diffstat (limited to 'java/app.go')
-rwxr-xr-x | java/app.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/java/app.go b/java/app.go index 224bc8867..3e26a39a2 100755 --- a/java/app.go +++ b/java/app.go @@ -1613,7 +1613,10 @@ type bazelAndroidAppAttributes struct { // ConvertWithBp2build is used to convert android_app to Bazel. func (a *AndroidApp) ConvertWithBp2build(ctx android.TopDownMutatorContext) { - commonAttrs, bp2BuildInfo := a.convertLibraryAttrsBp2Build(ctx) + commonAttrs, bp2BuildInfo, supported := a.convertLibraryAttrsBp2Build(ctx) + if !supported { + return + } depLabels := bp2BuildInfo.DepLabels deps := depLabels.Deps |