Mark android_* modules with java_resources as unconvertible

Change-Id: I9da921feaf9edb5fe7d1b1cb733494f90d8c64b3
BUG: 300470246
This commit is contained in:
Alix
2023-08-29 16:01:46 +00:00
parent 8d3ea47ec1
commit ee51bd6588
2 changed files with 16 additions and 0 deletions

View File

@@ -1352,6 +1352,9 @@ func (a *AndroidLibrary) ConvertWithBp2build(ctx android.Bp2buildMutatorContext)
if !supported {
return
}
if hasJavaResources := aaptAttrs.ConvertJavaResources(ctx, commonAttrs); hasJavaResources {
return
}
ctx.CreateBazelTargetModule(
props,
android.CommonAttributes{Name: name},