aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCindy Zhou <zhouci@google.com>2020-12-03 13:25:26 -0800
committerCindy Zhou <zhouci@google.com>2020-12-17 07:45:11 -0800
commitc93fff6784ee70b8c78b7d29c1bc2f3893a56e78 (patch)
tree11b45e8f5932a0d05429dfd2dc15956e416205c8
parentb831187d3a47f3cbe5d0060f4f064621eb484efd (diff)
downloadfdk-aac-c93fff6784ee70b8c78b7d29c1bc2f3893a56e78.tar.gz
fdk-aac-c93fff6784ee70b8c78b7d29c1bc2f3893a56e78.tar.bz2
fdk-aac-c93fff6784ee70b8c78b7d29c1bc2f3893a56e78.zip
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
-rw-r--r--Android.bp10
1 files changed, 8 insertions, 2 deletions
diff --git a/Android.bp b/Android.bp
index 555223b..f40e05e 100644
--- a/Android.bp
+++ b/Android.bp
@@ -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: [