diff options
-rw-r--r-- | Android.bp | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -32,8 +32,7 @@ cc_library_static { "signed-integer-overflow", "bounds", ], - // Enable CFI if this becomes a shared library. - // cfi: true, + cfi: true, }, shared_libs: [ "liblog", @@ -58,6 +57,13 @@ cc_library_static { darwin: { enabled: false, }, + android: { + sanitize: { + diag: { + cfi: true, + }, + }, + }, }, apex_available: [ |