commit | 9055c67b17abf5fed487ae44d0e22f1c6ea1e50c | [log] [tgz] |
---|---|---|
author | Christopher Peterson Sauer <christophersauer@pacbell.net> | Wed Jul 28 10:43:20 2021 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Jul 28 10:44:46 2021 -0700 |
tree | c08db68694d066ba3d01664a38044131c068bda5 | |
parent | 04288289f90c6a81415cd89c6ad74eee2e17da5b [diff] |
Support extracting aar files. Hey awesome Bazel team, Would you consider allowing extract, download_and_extract, and http_archive to decompress .aar android archives? Figured I'd just toss up a PR to ask because it was such an easy addition; aars are just zip files under the hood, totally parallel to the jar/war cases already in the codebase. The motivation is that you'll need this basic functionality to be able to depend on the native interface of an aar, which Android Studio & co are working on in [prefabs](https://developer.android.com/studio/build/native-dependencies). I ran into the lack of support while trying to hack myself support for https://github.com/bazelbuild/bazel/issues/13092. Thanks for your consideration! Chris Closes #13098. PiperOrigin-RevId: 387384152
{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