commit | 546906597b3a76270f6b869b04d83161555cc01a | [log] [tgz] |
---|---|---|
author | jhorvitz <jhorvitz@google.com> | Fri Jun 25 11:50:48 2021 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Jun 25 11:52:25 2021 -0700 |
tree | eddf26c3a3f46b46cf061e1b2f6db1ec5faaa855 | |
parent | 30f0ca73abcd4654af3a16118cb99da6fad07232 [diff] |
Delete wasteful method `checkForNullLabels`. This method was added in 2010 (unknown commit, add diagnostic code for b/2210848) and is now completely useless. It iterates over two collections - one from `visitLabels` and one from `getOutputFiles`, both of which cannot possibly contain a null label. `visitLabels` explicitly filters out nulls (and `DepEdge` is an `AutoValue` type which requires a non-null label anyway). `OutputFile` requires a non-null label. So there's really no way for `checkForNullLabels` to catch anything. PiperOrigin-RevId: 381516786
{Fast, Correct} - Choose two
Build and test software of any size, quickly and reliably.
Speed up your builds and tests: Bazel rebuilds only 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 solution. 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