Merge "Use java_library_host bp2build converter for tradefed_java_library_host"
This commit is contained in:
@@ -2202,7 +2202,7 @@ var _ ModuleWithStem = (*Module)(nil)
|
|||||||
|
|
||||||
func (j *Module) ConvertWithBp2build(ctx android.TopDownMutatorContext) {
|
func (j *Module) ConvertWithBp2build(ctx android.TopDownMutatorContext) {
|
||||||
switch ctx.ModuleType() {
|
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 {
|
if lib, ok := ctx.Module().(*Library); ok {
|
||||||
javaLibraryBp2Build(ctx, lib)
|
javaLibraryBp2Build(ctx, lib)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user