commit | 249126408358bb49c250fd75d34caecf38591e54 | [log] [tgz] |
---|---|---|
author | brandjon <brandjon@google.com> | Wed May 27 11:28:45 2020 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Wed May 27 11:30:02 2020 -0700 |
tree | 0e29d1d6b8021b3495262ab136dd9387169ce969 | |
parent | b0ba5dc8cee413712a1354ae17ec3c6a39978d81 [diff] |
Simplify class and var names related to bzl skyframe inlining Also clean up some documentation and test names. A follow-up will restructure the inlining logic. This is refactoring work toward adding a new kind of .bzl loading context, for Bazel-internal .bzl files. Work toward #11437. BzlLoadFunction: - delete "self" from inlining terminology - shorten method names e.g. "createForInlining" with no suffix specifying clients - "visitedDepsInToplevelLoad" -> "visitedBzls", "visitedNested" -> "loadStack" - add some explanatory comments - hide the builder-factory detail in the inlining manager CachedBzlLoadValueAndDeps: - rename to "CachedBzlLoadData", with local instances called "cachedData" - rename its builder factory - have traverse() process the root node as well (shreyax@ sees no issue with this) Other - rename test cases in BzlLoadFunctionTest RELNOTES: None PiperOrigin-RevId: 313428699
{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