diff options
author | alk3pInjection <webmaster@raspii.tech> | 2023-09-15 10:52:20 +0800 |
---|---|---|
committer | alk3pInjection <webmaster@raspii.tech> | 2023-09-18 09:08:58 +0800 |
commit | e013c79b57578201e441fdeab076aa9a343f29e3 (patch) | |
tree | d9006ac00ea95c86be208575ee29d4ea6978abc1 | |
parent | 8039d5b71d5db1033169880757eabe9b8ca82333 (diff) |
Revert "bionic: Switch to jemalloc memory allocator"tachibana-mr1
This reverts commit 4511e81f8bcbedde9e23943585fe1b649b1f4623.
Reason for revert: breaks cam hal on lynx
Change-Id: Ife0f80f7eff82dc8483bfe6326976155596d33a6
-rw-r--r-- | libc/Android.bp | 4 |
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 |