commit | bc9bd061f653738973ae31ec06b52c595f9b70dd | [log] [tgz] |
---|---|---|
author | brandjon <brandjon@google.com> | Wed Aug 12 09:41:12 2020 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Aug 12 09:42:18 2020 -0700 |
tree | 72ad84a6a82f9bc75b327ba6ec11b63ee7e2fa5d | |
parent | 4d15f2bffde6ab00f9835b59e46ec5ffbba05c7a [diff] |
Refactor determination of predeclared environment Previously, we determined the StarlarkBuiltinsValue and the predeclared environment in two separate places, even though the former is only used for the latter, and only in one of several cases. This CL merges the two steps into a single helper and eliminates the need for a dummy value for the other cases. The StarlarkSemantics and StarlarkBuiltinsValue skyframe deps are still retrieved before bzl load deps are requested. I don't think it matters, but it felt better to have these two singleton values get retrieved earlier rather than later in the procesing. RELNOTES: None PiperOrigin-RevId: 326250045
{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