Add simple bp2build converter for java_test_host
Bug:281551424 Test: java_test_host_conversion_test.go and presubmits Change-Id: I43ed26df0bacd63ef402de4d9733d19604005c35
This commit is contained in:
@@ -2188,5 +2188,9 @@ func (j *Module) ConvertWithBp2build(ctx android.TopDownMutatorContext) {
|
||||
if binary, ok := ctx.Module().(*Binary); ok {
|
||||
javaBinaryHostBp2Build(ctx, binary)
|
||||
}
|
||||
case "java_test_host":
|
||||
if testHost, ok := ctx.Module().(*TestHost); ok {
|
||||
javaTestHostBp2Build(ctx, testHost)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user