Have bp2build generate BUILD.bazel instead of generating BUILD.

Test: TH
Change-Id: I465d29da96dd77c432890a38a56203e291b8ceed
This commit is contained in:
Rupert Shuttleworth
2021-05-18 07:47:15 -04:00
parent f1d8819d7d
commit 413a7a97fb
4 changed files with 37 additions and 30 deletions

View File

@@ -19,7 +19,10 @@ var (
// be preferred for use within a Bazel build.
// The file name used for automatically generated files.
GeneratedBuildFileName = "BUILD"
GeneratedBuildFileName = "BUILD.bazel"
// The file name used for hand-crafted build targets.
// NOTE: It is okay that this matches GeneratedBuildFileName, since we generate BUILD files in a different directory to source files
// FIXME: Because there are hundreds of existing BUILD.bazel files in the AOSP tree, we should pick another name here, like BUILD.android
HandcraftedBuildFileName = "BUILD.bazel"
)