
- robolectric_library allows deps on android_library targets. - Creates an robolectric test sdk target (that still has the @hide methods and constants that were removed from the normal sdk). - robolectric_library and junit_binary now compile against the new robolectric test sdk. - Robolectric targets now compile against the android 12 robolectric test sdk (previously android 10). Bug: 1296632 Change-Id: I0782443a12cf2d4a8bf5bc3b8424a47400a83120 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3696549 Auto-Submit: Mohamed Heikal <mheikal@chromium.org> Owners-Override: Andrew Grieve <agrieve@chromium.org> Reviewed-by: Andrew Grieve <agrieve@chromium.org> Commit-Queue: Mohamed Heikal <mheikal@chromium.org> Cr-Commit-Position: refs/heads/main@{#1013712}