android: enable MTE on devices that declare having it

This commit is contained in:
Dmitry Muhomor 2023-10-27 21:26:38 +03:00 committed by Daniel Micay
parent f042a6b9b0
commit 5137d2da4d
1 changed files with 3 additions and 0 deletions

View File

@ -73,6 +73,9 @@ cc_library {
debuggable: {
cflags: ["-DLABEL_MEMORY"],
},
device_has_arm_mte: {
cflags: ["-DHAS_ARM_MTE", "-march=armv9-a+memtag"]
},
},
apex_available: [
"com.android.runtime",