summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libc/Android.bp4
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/Android.bp b/libc/Android.bp
index c78b4c59b..358f8f622 100644
--- a/libc/Android.bp
+++ b/libc/Android.bp
@@ -126,6 +126,9 @@ cc_defaults {
malloc_pattern_fill_contents: {
cflags: ["-DSCUDO_PATTERN_FILL_CONTENTS"],
},
+ malloc_not_svelte: {
+ cflags: ["-DUSE_SCUDO"],
+ },
},
lto: {
@@ -158,6 +161,7 @@ cc_defaults {
"libc_jemalloc_wrapper",
],
header_libs: ["gwp_asan_headers"],
+ product_variables: libc_scudo_product_variables,
}
// Functions not implemented by jemalloc directly, or that need to