Link libcrypto in host unit tests for libavb

libavb is moving to use boringssl for crypto operations in user space
rather than using its own implementation. Link with libcrypto to
resolved the new dependencies.

Test: atest --host --host-unit-test-only --test-mapping system/core/fs_mgr/libfs_avb
Bug: 185329132
Change-Id: I412f4ef677aa6e29c5b67ffe5e3e8377640a2847
This commit is contained in:
Andrew Scull 2021-05-04 15:13:22 +00:00
parent e23e85bee5
commit ef2864edd5

View file

@ -78,6 +78,7 @@ cc_defaults {
shared_libs: [
"libbase",
"libchrome",
"libcrypto",
],
target: {
darwin: {
@ -107,9 +108,6 @@ cc_test_host {
static_libs: [
"libfs_avb_test_util",
],
shared_libs: [
"libcrypto",
],
compile_multilib: "first",
data: [
":avbtool",