diff --git a/apex/Android.bp b/apex/Android.bp index 276541e22..4fbbec109 100644 --- a/apex/Android.bp +++ b/apex/Android.bp @@ -29,6 +29,7 @@ apex { "libc", "libm", "libdl", + "libdl_android", "libc_malloc_debug", "libc_malloc_hooks", ], diff --git a/libdl/Android.bp b/libdl/Android.bp index 15263e90b..9daa9c433 100644 --- a/libdl/Android.bp +++ b/libdl/Android.bp @@ -185,6 +185,11 @@ cc_library { symbol_file: "libdl_android.map.txt", versions: ["10000"], }, + + apex_available: [ + "//apex_available:platform", + "com.android.runtime", + ], } ndk_library {