Static link libcrypto into rkp_factory_extraction_tool
We publish a prebuilt rkp_factory_extraction_tool online, so we should
only dynamically load the libraries that we cannot avoid (e.g. libdl)
Test: built and ran tool
Change-Id: Id109e12dde841797169f0a4e54fa2ede558da252
diff --git a/provisioner/Android.bp b/provisioner/Android.bp
index 605abb4..0bf687d 100644
--- a/provisioner/Android.bp
+++ b/provisioner/Android.bp
@@ -30,7 +30,6 @@
],
shared_libs: [
"libbinder_ndk",
- "libcrypto",
"liblog",
],
static_libs: [
@@ -40,6 +39,7 @@
"libbase",
"libcppbor_external",
"libcppcose_rkp",
+ "libcrypto_static",
"libjsoncpp",
"libkeymint_remote_prov_support",
"libmediadrmrkp",