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
Merged-In: I84ed2bb7ea7c9cca241cc5ccac6ecf70521d8c88
Change-Id: Ifbc5f84c584dafd684de44702e6cba89f8642aa2
1 file changed
tree: 8fdfa95fe39dcbea2d40f4ed59e0bb5b49629a28
  1. res/
  2. src/
  3. tests/
  4. Android.mk
  5. AndroidManifest.xml
  6. proguard.cfg