Add dependency on libdl_android

platform private symbols have been moved to libdl_android.so
since they are not intended to be accessible from apps.

Test: make
Bug: http://b/129387775
Change-Id: I883a6d2ca588a258dd43efa766fad4e07428594e
(cherry picked from commit e3d0383d38)
This commit is contained in:
dimitry 2019-03-19 12:29:49 +01:00
parent 7f43e9fa40
commit 0c11941468
2 changed files with 11 additions and 1 deletions

View file

@ -24,6 +24,13 @@ cc_library {
"libnativebridge",
"libbase",
],
target: {
android: {
shared_libs: [
"libdl_android",
],
},
},
required: [
"llndk.libraries.txt",
"vndksp.libraries.txt",

View file

@ -9,7 +9,10 @@ cc_library {
],
local_include_dirs: ["include/vndksupport"],
export_include_dirs: ["include"],
shared_libs: ["liblog"],
shared_libs: [
"libdl_android",
"liblog",
],
version_script: "libvndksupport.map.txt",
stubs: {
symbol_file: "libvndksupport.map.txt",