diff options
author | alk3pInjection <webmaster@raspii.tech> | 2022-05-11 18:07:32 +0800 |
---|---|---|
committer | alk3pInjection <webmaster@raspii.tech> | 2022-05-11 18:07:32 +0800 |
commit | 791424811a0d96df0c9984ab3c7e7184d15aeeeb (patch) | |
tree | 4d72fb37685ed70a0832080cbfa6032d56214ea5 /Android.bp | |
parent | ee1748dde8e0275eeddce08bbf8030d4fd1486fa (diff) |
mimalloc: Update Soong blueprint for Android 12HEADsugisawa-mr1
* ship secure mode as well
Change-Id: Ia9242fb798acc722a9804fc368d3d91ddbe75b44
Diffstat (limited to 'Android.bp')
-rw-r--r-- | Android.bp | 24 |
1 files changed, 15 insertions, 9 deletions
@@ -17,10 +17,13 @@ cc_defaults { name: "mimalloc_defaults", defaults: ["linux_bionic_supported"], + host_supported: true, + native_bridge_supported: true, cflags: [ "-O3", //"-DNDEBUG", - "-DMI_DEBUG=3", + //"-DMI_DEBUG=3", + "-DMI_SECURE=4", "-fPIC", "-Wall", "-Wextra", @@ -56,17 +59,14 @@ lib_srcs = [ cc_library { name: "libmimalloc", - defaults: ["mimalloc_defaults"], - srcs: lib_srcs, - - // Essential library - native_coverage: false, ramdisk_available: true, + vendor_ramdisk_available: true, recovery_available: true, - host_supported: true, - native_bridge_supported: true, - // Export headers for libc + defaults: ["mimalloc_defaults"], + + srcs: lib_srcs, + export_include_dirs: ["include"], // Remove dependency on libc to break dependency cycle @@ -77,9 +77,15 @@ cc_library { enabled: false, }, system_shared_libs: [], + header_libs: ["libc_headers"], }, linux_bionic: { system_shared_libs: [], + header_libs: ["libc_headers"], }, }, + + apex_available: [ + "com.android.runtime", + ], } |