summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2019-05-17 13:45:18 -0700
committerColin Cross <ccross@android.com>2019-05-17 14:26:31 -0700
commitb9667b51a8e9831baa1e54362b1f614a911e4e76 (patch)
tree8cd85f5d36203311abe54a0aa1b977b59d9ad7f0
parent72aafad9506d65c8c0f957cae4b664402cc0e8ab (diff)
Export some symbols for vendor libmemunreachable
Add the malloc symbols used by libmemunreachable to the VNDK, and make libc_malloc_debug_backtrace vendor_available. Bug: 132302484 Test: m checkbuild Change-Id: Ide555195afa084c13eaeaf0eab6ff90787b5f2d0
-rw-r--r--libc/libc.map.txt8
-rw-r--r--libc/malloc_debug/Android.bp2
2 files changed, 5 insertions, 5 deletions
diff --git a/libc/libc.map.txt b/libc/libc.map.txt
index bc26d2a6b..b36ee4c5d 100644
--- a/libc/libc.map.txt
+++ b/libc/libc.map.txt
@@ -1468,10 +1468,10 @@ LIBC_Q { # introduced=Q
__system_properties_init; # apex
# Used by libmemunreachable
- malloc_backtrace; # apex
- malloc_disable; # apex
- malloc_enable; # apex
- malloc_iterate; # apex
+ malloc_backtrace; # apex vndk
+ malloc_disable; # apex vndk
+ malloc_enable; # apex vndk
+ malloc_iterate; # apex vndk
# Used by libandroid_net
android_getaddrinfofornet; # apex
diff --git a/libc/malloc_debug/Android.bp b/libc/malloc_debug/Android.bp
index bcbd7dac9..aae16f14d 100644
--- a/libc/malloc_debug/Android.bp
+++ b/libc/malloc_debug/Android.bp
@@ -3,8 +3,8 @@
// ==============================================================
// Used by libmemunreachable
cc_library_static {
-
name: "libc_malloc_debug_backtrace",
+ vendor_available: true,
srcs: [
"backtrace.cpp",