Disable dexpreopt and <uses-library> check for tests.

Bug: 132357300
Test: treehugger
Change-Id: Ia2c6cba7a4a91f6d3b0b343a44c4257817c3a4cf
This commit is contained in:
Ulya Trafimovich
2021-04-27 14:20:27 +01:00
parent 4c4e746e57
commit 07440a83bf
2 changed files with 6 additions and 0 deletions

View File

@@ -11,6 +11,8 @@ LOCAL_LICENSE_CONDITIONS := by_exception_only
LOCAL_JAVA_LIBRARIES := org.apache.http.legacy
# Disable dexpreopt and <uses-library> check for test.
LOCAL_ENFORCE_USES_LIBRARIES := false
LOCAL_DEX_PREOPT := false
# When built, explicitly put it in the data/app partition.