commit | fa97703c1edf7a88cadefd6fbaafcfeb74d2f136 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <bp@benjamin.pe> | Wed Feb 01 00:04:40 2017 +0000 |
committer | Yun Peng <pcloudy@google.com> | Wed Feb 01 08:56:45 2017 +0000 |
tree | 513a9a7f513a85eab0e58cb1a24ddac32e16d679 | |
parent | bfd3ec5bdcbec16f1f055b3b5196c01fa7dc6fc2 [diff] |
allow skylark implicit output callbacks to use the rule name Skylark implicit output callbacks could use any nonconfigurable attribute of the rule except for "name". (As an implementation detail, "name" is easy to overlook because it's a special case in rule attribute map.) In practice, this isn't too much of a problem because the return value of a skylark implicit output callback has %{} substitutions applied to it, which do allow the rule name. However, it is weird and inconsistent to prevent implicit output callbacks from using the name. -- Change-Id: I13149b2e9689ef8b8056c612a29df9da32e39bf3 Reviewed-on: https://cr.bazel.build/8251 PiperOrigin-RevId: 146178693 MOS_MIGRATED_REVID=146178693
{Fast, Correct} - Choose two
Bazel is a build tool that builds code quickly and reliably. It is used to build the majority of Google‘s software, and thus it has been designed to handle build problems present in Google’s development environment, including:
A massive, shared code repository, in which all software is built from source. Bazel has been built for speed, using both caching and parallelism to achieve this. Bazel is critical to Google's ability to continue to scale its software development practices as the company grows.
An emphasis on automated testing and releases. Bazel has been built for correctness and reproducibility, meaning that a build performed on a continuous build machine or in a release pipeline will generate bitwise-identical outputs to those generated on a developer's machine.
Language and platform diversity. Bazel's architecture is general enough to support many different programming languages within Google, and can be used to build both client and server software targeting multiple architectures from the same underlying codebase.
Find more background about Bazel in our FAQ.