Merge "Disable <uses-library> checks for more tests (to fix MTS builds)."

This commit is contained in:
Ulyana Trafimovich
2021-05-20 09:08:31 +00:00
committed by Gerrit Code Review

View File

@@ -210,6 +210,9 @@ endif
ifneq (,$(filter $(LOCAL_MODULE_TAGS),tests))
LOCAL_ENFORCE_USES_LIBRARIES := false
endif
ifneq (,$(LOCAL_COMPATIBILITY_SUITE))
LOCAL_ENFORCE_USES_LIBRARIES := false
endif
# Disable the check if the app contains no java code.
ifeq (,$(strip $(built_dex)$(my_prebuilt_src_file)$(LOCAL_SOONG_DEX_JAR)))