aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Android.bp10
-rw-r--r--libvpx_blocklist.txt3
2 files changed, 8 insertions, 5 deletions
diff --git a/Android.bp b/Android.bp
index 1f7333b59..6e84e3c5c 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1098,6 +1098,14 @@ cc_library {
darwin: {
enabled: false,
},
+ android: {
+ sanitize: {
+ cfi: true,
+ config: {
+ cfi_assembly_support: true,
+ },
+ },
+ },
},
arch: {
@@ -1144,8 +1152,6 @@ cc_library {
sanitize: {
integer_overflow: true,
misc_undefined: ["bounds"],
- // Enable CFI if this becomes a shared library.
- // cfi: true,
blocklist: "libvpx_blocklist.txt",
},
min_sdk_version: "29",
diff --git a/libvpx_blocklist.txt b/libvpx_blocklist.txt
index df3e36c1d..c9ea142e3 100644
--- a/libvpx_blocklist.txt
+++ b/libvpx_blocklist.txt
@@ -1,6 +1,3 @@
-[cfi]
-src:*external/libvpx/*
-
[integer]
# Performance related
fun:read_bool