bp2build: rename generated files to BUILD

The checked in files are named BUILD.bazel, while bp2build files are
named BUILD.

Test: GENERATE_BAZEL_FILES=true m nothing
Change-Id: If226f581b5075088f774dc4f5f9ee88259821835
This commit is contained in:
Jingwen Chen 2021-02-08 23:13:54 -05:00
parent 198158b9f7
commit bb483cbcf5
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ func createBuildFiles(buildToTargets map[string]BazelTargets, mode CodegenMode)
content += "\n\n"
}
content += targets.String()
files = append(files, newFile(dir, "BUILD.bazel", content))
files = append(files, newFile(dir, "BUILD", content))
}
return files
}