commit | cfb5b41d27d3d28e7bd9d5be1ad68ff69f5aa725 | [log] [tgz] |
---|---|---|
author | Ivo List <ilist@google.com> | Wed Nov 04 23:27:43 2020 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Nov 04 23:28:55 2020 -0800 |
tree | 53bc0441eee91e79e0c997e53a6d7f12f0c87155 | |
parent | 4941cfc9536b1af427473e5b4ec0c9f0ff662b55 [diff] |
Retrieve ijar from java_toolchain instead of using remote_java_tools. Android tools depend on using ijar directly, which is provided in tools/jdk/BUILD using remote_java_tools macro. Remote_java_tools uses selects to produce an archive name (java_lang_tools_linux, ..) and grab a tool out of it. The selected archive name needs to match the one toolchains will resolve to. Instead of ijar is already among things provided by java_toolchain and we can obtain it directly from the toolchain. The right way to do it is using already provided java_common.run_ijar. Closes #12399. PiperOrigin-RevId: 340793144
{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