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

Commit 816fe7f1 authored by Garfield, Tan's avatar Garfield, Tan
Browse files

Jarjar common dependencies of test apk and app apk to avoid class conflicts.

Also remove android-support-v4 dependency from test apk as there is no
dependency over it in test apk.

Change-Id: I0b459bb831dae6c03adfb4215a8f6a514fc72904
parent 14127140
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -7,8 +7,9 @@ LOCAL_MODULE_TAGS := tests

LOCAL_SRC_FILES := $(call all-java-files-under, src)

LOCAL_JAVA_LIBRARIES := android-support-v4 android.test.runner
LOCAL_JAVA_LIBRARIES := android.test.runner
LOCAL_STATIC_JAVA_LIBRARIES := mockito-target ub-uiautomator espresso-core guava
LOCAL_JARJAR_RULES := $(LOCAL_PATH)/jarjar-rules.txt

LOCAL_PACKAGE_NAME := DocumentsUITests
LOCAL_INSTRUMENTATION_FOR := DocumentsUI

tests/jarjar-rules.txt

0 → 100644
+2 −0
Original line number Diff line number Diff line
rule com.google.common.** docsui.@0
rule android.support.annotation.** docsui.@0