commit | b2d1f2f71977a9e6e562acebb173d89f163594f0 | [log] [tgz] |
---|---|---|
author | Jingwen Chen <jin@crypt.sg> | Fri Jun 01 10:44:43 2018 -0700 |
committer | Copybara-Service <copybara-piper@google.com> | Fri Jun 01 10:45:56 2018 -0700 |
tree | 55f85b35110b546a09573a19f45cb6057f36f5e4 | |
parent | 7cc144ddfe3f53d8db865438cfc3b3a0caeef30d [diff] |
Android font resource support Fixes #4381 Without layoutlib 26+, this test is expected to fail with: ``` ERROR: /private/var/tmp/_bazel_jin/ed227ac31d5e65f9c3effb1d1fe2605e/sandbox/4960637019899260266/execroot/io_bazel/_tmp/845372d54b28cdaedc66e35385e5009a/workspace.u0NdZr9w/java/bazel/BUILD:14:22: in resource_files attribute of android_binary rule //java/bazel:bin: 'java/bazel/res/font/Roboto.ttf' is not in the expected resource directory structure of <resource directory>/{anim,animator,color,drawable,interpolator,layout,menu,mipmap,raw,transition,values,xml}/<file> ERROR: Analysis of target '//java/bazel:bin' failed; build aborted: Analysis of target '//java/bazel:bin' failed; build aborted INFO: Elapsed time: 26.248s INFO: 0 processes. FAILED: Build did NOT complete successfully (36 packages loaded) ``` We will first need to upgrade the layoutlib jar in `//third_party/android_common` to 26+, rebase, then merge this set of tests. Closes #5287. Change-Id: Icad80e7e40df4ff6d2fc3373d37cfd9972e8d400 PiperOrigin-RevId: 198893525
{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.