Use BUILD.bazel for third_party packages
authorYong Tang <yong.tang.github@outlook.com>
Thu, 24 May 2018 17:13:03 +0000 (17:13 +0000)
committerYong Tang <yong.tang.github@outlook.com>
Thu, 24 May 2018 17:13:03 +0000 (17:13 +0000)
commit4a1921a6769b8a95e7fbdeda8c6009626c344610
treec12d6596de7f5d7d61dcea4aae837df31060ea46
parent717aa746e7e915cba9ce36df424d05642fbe8cd7
Use BUILD.bazel for third_party packages

Both `BUILD` and `BUILD.bazel` could be used as the bazel project file
and `BUILD.bazel` is preferred (see https://github.com/bazelbuild/bazel/issues/4517#issuecomment-360213750)

This fix changes generated BUILD in third_party packages to `BUILD.bazel`.
This will help avoid conflict with `BUILD` or `build` file/directory names
in third party packages.

For example, while working on 19461 I noticed that apache thrift package
consists of a `build` directory and that causes issues in case-insensitive
systems like macOS. This PR should help avoid such conflict issues.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
third_party/repo.bzl