commit | 920b0933cb0a3133643969c953cb3e3a3b041aa5 | [log] [tgz] |
---|---|---|
author | adonovan <adonovan@google.com> | Mon Jun 29 10:26:36 2020 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Jun 29 10:27:44 2020 -0700 |
tree | 70588a8d0bba72586e95c7b673a3a08c888ddfb7 | |
parent | f2526718763b1632c80e214f91e6bbdbd2d64127 [diff] |
bazel packages: prep for AttributeContainer optimization Details: - RuleFactory: - don't plumb AttributeContainer through create{RuleUnchecked,AndAddRule}. - avoid overloading of createAndAddRule. - inline and simplify setRuleAttributeValue (only one of two callers wants 'visibility' logic) - inline and simplify getAttributeNoncomputedDefaultValue (check both name and type like we do for licenses) - AttributeContainer: - inline setAttributeValueByName into sole use (for $implicit_test). - add TODO comments. - make isAttributeValueExplicitlySpecified private PiperOrigin-RevId: 318841494
{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