Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bb62a4f3 authored by Mitch Phillips's avatar Mitch Phillips Committed by Automerger Merge Worker
Browse files

Merge "Add MTE ELF note to makefile-generated native tests." am: 82a4cfb3

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

Change-Id: I1de637bd6081be9ddd516d579afb56088f4c1088
parents abdde757 82a4cfb3
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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