commit | 470ee599928e93fcc2e4673d94dfd6e0fbf3f174 | [log] [tgz] |
---|---|---|
author | rosica <rosica@google.com> | Thu Aug 08 03:00:11 2019 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Aug 08 03:01:12 2019 -0700 |
tree | 3e16d31bf0f84cc38f4c19a5fb52bebb845800b6 | |
parent | e4b5841eb479fa4aeb25374b368b7bb2d76b11ee [diff] |
Add a 'local_defines' attribute to cc_* rules Currently, the only way to specify non-transitive defines is through the 'copts' attribute, which is not platform independent. the cc_*.local_defines has the task to pass define values to the compile command line to the given cc_* rule, but not to its dependents. Fixes #7939 RELNOTES: cc_* rules support non-transitive defines through a 'local_defines' attribute. PiperOrigin-RevId: 262315252
{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.