aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCindy Zhou <zhouci@google.com>2021-01-08 18:17:46 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-01-08 18:17:46 +0000
commit738df3d018a15c94244ac569c19f8149a02026bc (patch)
treea61a24a581ced17612f21faa11d4993755aa6d65
parent31529975883fb1ccce9f4e5692f56eb403cf9e74 (diff)
parent5690f9c39f35ef9c910f9b2dd0ddfc9beabe2f4b (diff)
downloadfdk-aac-738df3d018a15c94244ac569c19f8149a02026bc.tar.gz
fdk-aac-738df3d018a15c94244ac569c19f8149a02026bc.tar.bz2
fdk-aac-738df3d018a15c94244ac569c19f8149a02026bc.zip
Merge "Enable cfi for aac" am: 5690f9c39f
Original change: https://android-review.googlesource.com/c/platform/external/aac/+/1518238 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I3b4ff4c9a2e1ccd1139a37ac2a537467efee9583
-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: [