bp2build: convert host & prebuilt header libraries

Test: bp2build.sh
Change-Id: If8165eac7c17c4eef3686067257aa792121db59d
This commit is contained in:
Liz Kammer
2021-12-15 14:48:35 -05:00
parent 7febef761a
commit d8a72d7dc9
4 changed files with 7 additions and 3 deletions

View File

@@ -104,6 +104,8 @@ func LibraryHeaderFactory() android.Module {
func prebuiltLibraryHeaderFactory() android.Module {
module, library := NewPrebuiltLibrary(android.HostAndDeviceSupported, "")
library.HeaderOnly()
module.bazelable = true
module.bazelHandler = &ccLibraryBazelHandler{module: module}
return module.Init()
}