commit | 974879de97b891f53b21daf0cfe5ac959dcdbcf3 | [log] [tgz] |
---|---|---|
author | Googler <noreply@google.com> | Wed May 27 13:25:52 2020 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Wed May 27 13:27:08 2020 -0700 |
tree | 2ee4f07539bf037eeb652f6dbfac650f98b3e33a | |
parent | 2069aada6cb5efda6de4b574606529d0462824ec [diff] |
Avoid unnecessary insertion of tree file artifacts to artifactData. Tree file artifacts that are not template expansion outputs are already stored as part of their parent artifact in treeArtifactData, so they do not need to also be stored in artifactData. This is accomplished by having callers insert metadata into the store instead of doing it in constructFileArtifactValue and maybeStoreAdditionalData. Additionally, constructFileArtifactValue and maybeStoreAdditionalData are merged into a single method since they are always called in succession, and the latter's name doesn't make much sense after https://github.com/bazelbuild/bazel/commit/c35878a258d3c8a5305389aadd17ac0049defa15 removed additionalOutputData. Outdated comments are cleaned up. FilesystemValueChecker made some assumptions about tree files appearing in both maps except in the remote case, so had to change the logic there a bit. RELNOTES: None. PiperOrigin-RevId: 313452251
{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