| Liz Kammer | ba3ea16 | 2021-02-17 13:22:03 -0500 | [diff] [blame] | 1 | // 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 |  | 
 | 15 | package bp2build | 
 | 16 |  | 
 | 17 | var ( | 
 | 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 Chen | 2288f31 | 2021-03-29 08:31:20 +0000 | [diff] [blame] | 21 | 	// The file name used for automatically generated files. | 
| Rupert Shuttleworth | 413a7a9 | 2021-05-18 07:47:15 -0400 | [diff] [blame] | 22 | 	GeneratedBuildFileName = "BUILD.bazel" | 
 | 23 |  | 
| Liz Kammer | ba3ea16 | 2021-02-17 13:22:03 -0500 | [diff] [blame] | 24 | 	// The file name used for hand-crafted build targets. | 
| Rupert Shuttleworth | 413a7a9 | 2021-05-18 07:47:15 -0400 | [diff] [blame] | 25 | 	// 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 Kammer | ba3ea16 | 2021-02-17 13:22:03 -0500 | [diff] [blame] | 27 | 	HandcraftedBuildFileName = "BUILD.bazel" | 
 | 28 | ) |