commit | d043e306bff11989d257abcdaf32ebac6fd28113 | [log] [tgz] |
---|---|---|
author | lpino <lpino@google.com> | Fri Mar 08 06:33:39 2019 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Mar 08 06:35:26 2019 -0800 |
tree | cf7111eacd7c62626c6f48febb5d8e3285192f63 | |
parent | 54a5dc6a7bf89a197bc334b3eec1c94d1c7a29b0 [diff] |
Fix NPE when generating target_complete BEP events for aspects. We recently added support for populating the configuration field of a target_complete event generated by an aspect. However, in the case of source files (and maybe others?), the configuration can be null. The previous code was not checking for nullness before trying to get the SkyValue of the BuildConfiguration thus causing an NPE. PiperOrigin-RevId: 237439110
{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 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
Bazel is released in ‘Beta’. See the product roadmap to learn about the path toward a stable 1.0 release.