commit | a155b536cb8032feaf2710677d2bdab4b2b43c96 | [log] [tgz] |
---|---|---|
author | tomlu <tomlu@google.com> | Wed Nov 08 20:12:47 2017 +0100 |
committer | Damien Martin-Guillerez <dmarting@google.com> | Thu Nov 09 18:29:06 2017 +0100 |
tree | 793ab3da054e3dc26e6fb00d1fd2fa7793b6799b | |
parent | 743ea216879dd0e3037d4b34eff92ba8af493554 [diff] |
Replace all usages of Blaze's Preconditions class with guava. Blaze had its own class to avoid GC from varargs array creation for the precondition happy path. Guava now (mostly) implements these, making it unnecessary to maintain our own. This change was almost entirely automated by search-and-replace. A few BUILD files needed fixing up since I removed an export of preconditions from lib:util, which was all done by add_deps. There was one incorrect usage of Preconditions that was caught by error prone (which checks Guava's version of Preconditions) that I had to change manually. PiperOrigin-RevId: 175033526
{Fast, Correct} - Choose two
Build and test software of any size, quickly and reliably.
Speed up your builds and tests: Bazel only rebuilds what is necessary. With advanced local and distributed caching, optimized dependency analysis and parallel execution, you get fast and incremental builds.
One tool, multiple languages: Build and test Java, C++, Android, iOS, Go and a wide variety of other language platforms. Bazel runs on Windows, macOS, and Linux.
Scalable: Bazel helps you scale your organization, codebase and Continuous Integration system. It handles codebases of any size, in multiple repositories or a huge monorepo.
Extensible to your needs: Easily add support for new languages and platforms with Bazel's familiar extension language. Share and re-use language rules written by the growing Bazel community.
Follow our tutorials:
See CONTRIBUTING.md
Bazel is released in ‘Beta’. See the product roadmap to learn about the path toward a stable 1.0 release.