Merge changes from topic "prebuilt-cc-shared-always" into main
* changes: Implement bp2build for java_sdk_library_import Always convert prebuilt libraries Always convert prebuilt cc library headers
This commit is contained in:
@@ -153,8 +153,13 @@ func libraryHeadersBp2Build(ctx android.TopDownMutatorContext, module *Module) {
|
||||
|
||||
tags := android.ApexAvailableTagsWithoutTestApexes(ctx, module)
|
||||
|
||||
name := module.Name()
|
||||
if module.IsPrebuilt() {
|
||||
name = android.RemoveOptionalPrebuiltPrefix(name)
|
||||
}
|
||||
|
||||
ctx.CreateBazelTargetModule(props, android.CommonAttributes{
|
||||
Name: module.Name(),
|
||||
Name: name,
|
||||
Tags: tags,
|
||||
}, attrs)
|
||||
}
|
||||
|
Reference in New Issue
Block a user