Testables lib should not statically link mockito
- All users of the lib already statically link mockito - We should allow the users to decide what flavor they use Test: m -j checkbuild Change-Id: Ibbdb8be8022432a13b872865ade47b92b28976c6 Merged-In: Ibbdb8be8022432a13b872865ade47b92b28976c6
This commit is contained in:
@@ -25,10 +25,9 @@ LOCAL_SRC_FILES := $(call all-java-files-under,src)
|
||||
|
||||
LOCAL_STATIC_JAVA_LIBRARIES := \
|
||||
android-support-test \
|
||||
mockito-target-minus-junit4 \
|
||||
legacy-android-test
|
||||
|
||||
LOCAL_JAVA_LIBRARIES := android.test.runner
|
||||
LOCAL_JAVA_LIBRARIES := android.test.runner mockito-target-minus-junit4
|
||||
|
||||
include $(BUILD_STATIC_JAVA_LIBRARY)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user