Merge "Convert filegroups in api_bp2build"

This commit is contained in:
Spandan Das
2023-03-10 02:45:12 +00:00
committed by Gerrit Code Review

View File

@@ -78,6 +78,12 @@ type bazelAidlLibraryAttributes struct {
Strip_import_prefix *string
}
// api srcs can be contained in filegroups.
// this should be generated in api_bp2build workspace as well.
func (fg *fileGroup) ConvertWithApiBp2build(ctx TopDownMutatorContext) {
fg.ConvertWithBp2build(ctx)
}
// ConvertWithBp2build performs bp2build conversion of filegroup
func (fg *fileGroup) ConvertWithBp2build(ctx TopDownMutatorContext) {
srcs := bazel.MakeLabelListAttribute(