blob: 4870dffff6649d6652d673e7ad9b04a406a07e0f [file] [log] [blame]
Liz Kammerba3ea162021-02-17 13:22:03 -05001// Copyright 2020 Google Inc. All rights reserved.
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15package bp2build
16
17var (
18 // When both a BUILD and BUILD.bazel file are exist in the same package, the BUILD.bazel file will
19 // be preferred for use within a Bazel build.
20
Jingwen Chen2288f312021-03-29 08:31:20 +000021 // The file name used for automatically generated files.
Rupert Shuttleworth413a7a92021-05-18 07:47:15 -040022 GeneratedBuildFileName = "BUILD.bazel"
23
Liz Kammerba3ea162021-02-17 13:22:03 -050024 // The file name used for hand-crafted build targets.
Rupert Shuttleworth413a7a92021-05-18 07:47:15 -040025 // NOTE: It is okay that this matches GeneratedBuildFileName, since we generate BUILD files in a different directory to source files
26 // FIXME: Because there are hundreds of existing BUILD.bazel files in the AOSP tree, we should pick another name here, like BUILD.android
Liz Kammerba3ea162021-02-17 13:22:03 -050027 HandcraftedBuildFileName = "BUILD.bazel"
28)