Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3b965d4b authored by Spandan Das's avatar Spandan Das Committed by Gerrit Code Review
Browse files

Merge "Convert filegroups in api_bp2build"

parents f1214133 bd52ea9e
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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(