Browse Source

Merge "Convert filegroups in api_bp2build"

Spandan Das 1 year ago
parent
commit
3b965d4bb0
1 changed files with 6 additions and 0 deletions
  1. 6 0
      android/filegroup.go

+ 6 - 0
android/filegroup.go

@@ -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(