aboutsummaryrefslogtreecommitdiffstats
path: root/tests/common
diff options
context:
space:
mode:
Diffstat (limited to 'tests/common')
-rw-r--r--tests/common/Android.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/common/Android.mk b/tests/common/Android.mk
index b74a65d3..7a232ff7 100644
--- a/tests/common/Android.mk
+++ b/tests/common/Android.mk
@@ -17,6 +17,10 @@ LOCAL_STATIC_JAVA_LIBRARIES := \
mockito-robolectric-prebuilt \
tv-test-common \
+# Disable dexpreopt and <uses-library> check for test.
+LOCAL_ENFORCE_USES_LIBRARIES := false
+LOCAL_DEX_PREOPT := false
+
LOCAL_INSTRUMENTATION_FOR := LiveTv
LOCAL_MODULE_TAGS := optional