Baseline: 457d248218540b0ae93d6454fa8a95ccad877063
New features:
- Materializer functions now have access to the label of the rule
they are running on as ctx.label .
Important changes:
- Extra targets provided to `ctx.expand_location` now expand to
their executable (if any) instead of resulting in an error if
they provide a number of files different from one.
RELNOTES[INC]: The `--incompatible_locations_prefers_executable`
flag has been added and enabled, which makes it so that
`ctx.expand_location` expands `$(locations :x)` to the executable
of an extra target `:x` if it provides one and the number of
files provided by it is not one.
This release contains contributions from many people at Google, as well as Benjamin Peterson, Fabian Meumertzheim.