commit | d199fe15f3d08552c76f5debebef629efb46f1b4 | [log] [tgz] |
---|---|---|
author | Googler <noreply@google.com> | Thu Feb 15 13:06:05 2018 -0800 |
committer | Copybara-Service <copybara-piper@google.com> | Thu Feb 15 13:08:04 2018 -0800 |
tree | 20819bf81880b7103a605ed786a129454b27080c | |
parent | b2a396b6091a07c1e9e5036e73dd14d2ff1ec818 [diff] |
Don't fail if special resource directories contain multiple resources We run ResourceCompiler#visitFile once per resource file being compiled. If the file has qualifiers aapt2 doesn't support (es-419 or sr-latn), we copy the file into a new directory with corrected qualifiers. However, Files.createDirectory fails if the folder already exists (because, for example, we just copied another file). Instead, use Files.createDirectories, which allows the folder to already exist. RELNOTES: none PiperOrigin-RevId: 185887192
{Fast, Correct} - Choose two
Build and test software of any size, quickly and reliably.
Speed up your builds and tests: Bazel only rebuilds 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
Bazel is released in ‘Beta’. See the product roadmap to learn about the path toward a stable 1.0 release.