Merge "Disable dexpreopt and <uses-library> check for tests." into sc-dev

This commit is contained in:
Ulyana Trafimovich
2021-04-28 09:38:17 +00:00
committed by Android (Google) Code Review
2 changed files with 6 additions and 0 deletions

View File

@@ -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))

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.