Enable cfi for aac

Bug: 158010610
Bug: 173497308
Test: ran atest DecoderConformanceTest, ImageReaderDecoderTest,
VideoDecoderPerfTest, VideoEncoderTest.  Compare the
before and after enabling CFI results since there was a number of tests
that were initially failing.

Change-Id: I0d0d2a76512dc909a67f34adacff9ffbf536dbe7
This commit is contained in:
Cindy Zhou 2020-12-03 13:25:26 -08:00
parent b831187d3a
commit c93fff6784
1 changed files with 8 additions and 2 deletions

View File

@ -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: [