bp2build converter for ndk_library
ndk_libary will be converted to a cc_stub_suite target. Its api_surface attribute will be publicapi The headers corresponding to this stub target will be added in a followup bug (tracked in b/300504837) Bug: 298085502 Test: Added a unit test Change-Id: If9745083b18e0bcf5ecb89229a0f709b949d401c
This commit is contained in:
2
cc/cc.go
2
cc/cc.go
@@ -4255,6 +4255,8 @@ func (c *Module) ConvertWithBp2build(ctx android.TopDownMutatorContext) {
|
||||
}
|
||||
case ndkPrebuiltStl:
|
||||
ndkPrebuiltStlBp2build(ctx, c)
|
||||
case ndkLibrary:
|
||||
ndkLibraryBp2build(ctx, c)
|
||||
default:
|
||||
ctx.MarkBp2buildUnconvertible(bp2build_metrics_proto.UnconvertedReasonType_TYPE_UNSUPPORTED, "")
|
||||
}
|
||||
|
Reference in New Issue
Block a user