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

Original change: https://android-review.googlesource.com/c/platform/build/+/1712369

Change-Id: I6b0ac1ef6a2f3e3e103c9ce75fe32765f4ff6e77
This commit is contained in:
Ulyana Trafimovich
2021-05-20 09:22:32 +00:00
committed by Automerger Merge Worker

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