Prepare for removal of legacy-test from default targets

In preparation for removing junit classes from the Android API
the legacy-test target will be removed from the
TARGET_DEFAULT_JAVA_LIBRARIES. This change adds explicit
dependencies on junit and/or legacy-android-test to ensure that
modules will compile properly once it is removed.

Bug: 30188076
Test: make checkbuild
Change-Id: I02aad3e0e6f72829bdbc623d9bfeb05fd42445be
1 file changed
tree: 9f522a771ebb72183a1e71e916fed54cd37e09eb
  1. java/
  2. tests/
  3. Android.mk
  4. build.gradle