Add libjavacrypto.so to the runtime APEX
Since the lib is used with dlopen, there is no build-time dependency to
the library from anything in the runtime library. As a result, the lib
hasn't been included in the runtime APEX. Fixing this by explicitly
listing the lib name in the native_shared_libs property.
Bug: 121395847
Test: m com.android.runtime.debug; the build apex has libjavacrypto.so
Test: atest CtsJdwpTestCases
Change-Id: I7786919c492b1bbf3826d0c595d24e3c9d78282e
diff --git a/build/apex/Android.bp b/build/apex/Android.bp
index 0ec0a15..2095a68 100644
--- a/build/apex/Android.bp
+++ b/build/apex/Android.bp
@@ -18,6 +18,7 @@
"libopenjdkjvm",
"libopenjdkjvmti",
"libadbconnection",
+ "libjavacrypto",
]
bionic_native_shared_libs = [
"libc",
@@ -51,6 +52,7 @@
"libopenjdkjvmd",
"libopenjdkjvmtid",
"libadbconnectiond",
+ "libjavacrypto",
]
// Files associated with bionic / managed core library time zone APIs.