Merge "Enable <uses-library> check for WTS" into main am: bbce78d721
am: 6861c4e538
Original change: https://android-review.googlesource.com/c/platform/build/+/3109347 Change-Id: I617a94d8c52d815e8956565633e2a805b06d6586 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -202,6 +202,12 @@ ifneq (,$(filter $(LOCAL_MODULE_TAGS),tests))
|
||||
endif
|
||||
ifneq (,$(LOCAL_COMPATIBILITY_SUITE))
|
||||
LOCAL_ENFORCE_USES_LIBRARIES := false
|
||||
|
||||
# Enable the check for WTS
|
||||
ifneq ($(filter wts,$(LOCAL_COMPATIBILITY_SUITE)),)
|
||||
LOCAL_ENFORCE_USES_LIBRARIES := true
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
# Disable the check if the app contains no java code.
|
||||
|
Reference in New Issue
Block a user