Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9d89276b authored by Paul Duffin's avatar Paul Duffin
Browse files

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: Ida8846e90815d30c16a1eb1418845605006fa10d
parent 7254204c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -13,7 +13,8 @@ LOCAL_JAVA_LIBRARIES := \
LOCAL_STATIC_JAVA_LIBRARIES :=  \
    com.android.emailcommon \
    android-support-test \
    mockito-target
    mockito-target \
    legacy-android-test

# Include all test java files.
LOCAL_SRC_FILES := $(call all-java-files-under, src)