commit | d6cd9176fcfd3e218edc653cdcb94eebca180332 | [log] [tgz] |
---|---|---|
author | Googler <noreply@google.com> | Fri Mar 22 13:22:16 2019 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Mar 22 13:24:25 2019 -0700 |
tree | b234a5b7dbb8b9be80bc1c91e81e5a9c3f31eba2 | |
parent | c2a08efe8d1cd90c09969a90b932e9dac1d8af1d [diff] |
Disable explicit R class filtering for instrumentation tests. Currently, both android_test and android_instrumentation_test explicitly filter out all R classes from the test's deploy.jar when a test instruments another app rather than filtering out only the duplicate R classes. Unfortunately, the android_test and android_instrumentation_test use differing CheckHashMismatchMode filter settings WARN and NONE respectively. Where NONE will cause the filterer to remove all duplicate classes from the test's deploy jar and WARN will not filter duplicate classes when the hash values differ As such this cl introduces two flags: 1. Switch the CheckHashMismatchMode to NONE for android_test while keeping intact the whitelist for making hash mismatches a failure 2. Disable the explicit filtering of R classes. RELNOTES: None. PiperOrigin-RevId: 239852282
{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.