Merge "Use java_library_host bp2build converter for tradefed_java_library_host" am: 187aa29056 am: 001f86f656 am: ce25aa21b9 am: 352cb1966f am: ed875a27ed

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2640236

Change-Id: Ie1726c0c275019f7dd4feae8d0b87c33fdf83224
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Zi Wang
2023-06-29 20:25:27 +00:00
committed by Automerger Merge Worker

View File

@@ -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)
} }