Merge "Add MTE ELF note to makefile-generated native tests." am: 82a4cfb397 am: bb62a4f304 am: 587e625e20
Original change: https://android-review.googlesource.com/c/platform/build/+/1615164 Change-Id: I72d67852e5e446888405741b879518b2bceb7075
This commit is contained in:
@@ -39,3 +39,9 @@ ifndef LOCAL_MODULE_RELATIVE_PATH
|
||||
LOCAL_MODULE_RELATIVE_PATH := $(LOCAL_MODULE)
|
||||
endif
|
||||
endif
|
||||
|
||||
# Implicitly run this test under MTE SYNC for aarch64 binaries. This is a no-op
|
||||
# on non-MTE hardware.
|
||||
ifneq (,$(filter arm64,$(TARGET_$(LOCAL_2ND_ARCH_VAR_PREFIX)ARCH)))
|
||||
LOCAL_WHOLE_STATIC_LIBRARIES += note_memtag_heap_sync
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user