logd: enable CFI

Test: logd runs normally
Change-Id: Ic3e117bd445ae339fed7846e3eaa14478580f091
This commit is contained in:
Tom Cherry 2020-09-23 09:34:15 -07:00
parent fb2dafa538
commit d96139f14c
1 changed files with 6 additions and 1 deletions

View File

@ -45,6 +45,9 @@ cc_defaults {
lto: {
thin: true,
},
sanitize: {
cfi: true,
},
cpp_std: "experimental",
}
@ -147,7 +150,9 @@ cc_defaults {
"SerializedLogChunkTest.cpp",
"SerializedFlushToStateTest.cpp",
],
sanitize: {
cfi: true,
},
static_libs: [
"libbase",
"libcutils",