Merge "Use java_library_host bp2build converter for tradefed_java_library_host"

This commit is contained in:
Zi Wang 2023-06-29 18:03:22 +00:00 committed by Gerrit Code Review
commit 187aa29056

View file

@ -2202,7 +2202,7 @@ var _ ModuleWithStem = (*Module)(nil)
func (j *Module) ConvertWithBp2build(ctx android.TopDownMutatorContext) {
switch ctx.ModuleType() {
case "java_library", "java_library_host", "java_library_static":
case "java_library", "java_library_host", "java_library_static", "tradefed_java_library_host":
if lib, ok := ctx.Module().(*Library); ok {
javaLibraryBp2Build(ctx, lib)
}