Make bp2build_all_srcs manual.
So that ... and :all target patterns don't pick it up. Test: b build //bionic/libc/... and check that none of the filegroups are built. Change-Id: I79cd6fb6f7559409ae3e5b95b8b260970810cf7f
This commit is contained in:
@@ -837,7 +837,7 @@ func GenerateBazelTargets(ctx *CodegenContext, generateFilegroups bool) (convers
|
||||
for dir := range dirs {
|
||||
buildFileToTargets[dir] = append(buildFileToTargets[dir], BazelTarget{
|
||||
name: "bp2build_all_srcs",
|
||||
content: `filegroup(name = "bp2build_all_srcs", srcs = glob(["**/*"]))`,
|
||||
content: `filegroup(name = "bp2build_all_srcs", srcs = glob(["**/*"]), tags = ["manual"])`,
|
||||
ruleClass: "filegroup",
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user