aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCindy Zhou <zhouci@google.com>2021-01-08 19:25:02 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-01-08 19:25:02 +0000
commit57c324445909bf2902e9356555fd89462ec324cb (patch)
treea71f9ff1099272db13fa30db3afd03249ce2da3b
parentb0872f98d3ade2351b82206edf97f66cc9284efa (diff)
parent524e89257c6aaeabb1978a2ce8a6ed0fd6266c91 (diff)
downloadfdk-aac-57c324445909bf2902e9356555fd89462ec324cb.tar.gz
fdk-aac-57c324445909bf2902e9356555fd89462ec324cb.tar.bz2
fdk-aac-57c324445909bf2902e9356555fd89462ec324cb.zip
Merge "Enable cfi for aac" am: 5690f9c39f am: 738df3d018 am: 524e89257c
Original change: https://android-review.googlesource.com/c/platform/external/aac/+/1518238 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ifa9c52a5ca9ddc6ca5edc35166afdc4a1f5b5788
-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: [