Disable dexpreopt and <uses-library> check for tests.
Bug: 132357300 Test: treehugger Change-Id: Ia2c6cba7a4a91f6d3b0b343a44c4257817c3a4cf
This commit is contained in:
@@ -17,6 +17,10 @@ LOCAL_LICENSE_KINDS := legacy_by_exception_only
|
||||
LOCAL_LICENSE_CONDITIONS := by_exception_only
|
||||
LOCAL_PRIVATE_PLATFORM_APIS := true
|
||||
|
||||
# Disable dexpreopt and <uses-library> check for test.
|
||||
LOCAL_ENFORCE_USES_LIBRARIES := false
|
||||
LOCAL_DEX_PREOPT := false
|
||||
|
||||
include $(BUILD_PACKAGE)
|
||||
|
||||
include $(call all-makefiles-under,$(LOCAL_PATH))
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user