Merge "bp2build: split as, c, and cpp srcs for cc_library" am: c306326fea am: 2b978911bc

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1723161

Change-Id: Iee2fcb1cec1bc09d05fb0c57e7be3ba608bcc588
This commit is contained in:
Jingwen Chen
2021-06-03 11:07:38 +00:00
committed by Automerger Merge Worker
5 changed files with 289 additions and 38 deletions

View File

@@ -63,7 +63,10 @@ func FilegroupBp2Build(ctx TopDownMutatorContext) {
Srcs: srcs,
}
props := bazel.BazelTargetModuleProperties{Rule_class: "filegroup"}
props := bazel.BazelTargetModuleProperties{
Rule_class: "filegroup",
Bzl_load_location: "//build/bazel/rules:filegroup.bzl",
}
ctx.CreateBazelTargetModule(BazelFileGroupFactory, fg.Name(), props, attrs)
}