Add android.test.base/stubs dependency

In preparation for the removal of the non-junit classes in the
android.test.base library from the android.jar this adds a dependency
on android.test.base/stubs to ensure this code will continue to
compile.

The following change descriptions were generated automatically and so
may be a little repetitive. They are provided to give the reviewer
enough information to check the comments match what has actually been
changed and check the reasoning behind the changes.

* tests/Android.mk
    Added 'android.test.base.stubs' to LOCAL_JAVA_LIBRARIES because
    LatinIMETests's will need them in order to compile once its classes
    are removed from the current SDK on which it currently depends.

Bug: 30188076
Test: make dist
Change-Id: I9f2244d4b5711620dc02dd24dc407807d726480e
main
Paul Duffin 2017-12-15 07:22:38 +00:00
parent fc55b74b57
commit 8a45a970ab
1 changed files with 5 additions and 1 deletions

View File

@ -28,7 +28,11 @@ LOCAL_STATIC_JAVA_LIBRARIES := \
android-support-test \ android-support-test \
mockito-target-minus-junit4 mockito-target-minus-junit4
LOCAL_JAVA_LIBRARIES := android.test.mock.stubs android.test.runner.stubs LOCAL_JAVA_LIBRARIES := \
android.test.mock.stubs \
android.test.runner.stubs \
android.test.base.stubs \
# Include all test java files. # Include all test java files.
LOCAL_SRC_FILES := $(call all-java-files-under, src) LOCAL_SRC_FILES := $(call all-java-files-under, src)