summaryrefslogtreecommitdiff
path: root/java/base.go
diff options
context:
space:
mode:
author Christopher Parsons <cparsons@google.com> 2023-06-16 13:49:49 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2023-06-16 13:49:49 +0000
commitdf9c3441aa12df7bce9e25d024fd07ba7f4e47ad (patch)
tree0005afc6504c0b8063f14d215bdc2d79bbae93b5 /java/base.go
parent55be40beb408586ff94f2aa017a3cb371ea19b3c (diff)
parent39a169721c3d5a085bb7940b363fd1a5dbaf4faf (diff)
Merge "Provide reason for unconverted bp2build modules"
Diffstat (limited to 'java/base.go')
-rw-r--r--java/base.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/java/base.go b/java/base.go
index 23c7bb103..f9c9e1e0f 100644
--- a/java/base.go
+++ b/java/base.go
@@ -20,6 +20,7 @@ import (
"strconv"
"strings"
+ "android/soong/ui/metrics/bp2build_metrics_proto"
"github.com/google/blueprint/pathtools"
"github.com/google/blueprint/proptools"
@@ -2213,5 +2214,7 @@ func (j *Module) ConvertWithBp2build(ctx android.TopDownMutatorContext) {
if testHost, ok := ctx.Module().(*TestHost); ok {
javaTestHostBp2Build(ctx, testHost)
}
+ default:
+ ctx.MarkBp2buildUnconvertible(bp2build_metrics_proto.UnconvertedReasonType_TYPE_UNSUPPORTED, "")
}
}