From ef2864edd5fd0cc217fde562d456ea4e0c7a1472 Mon Sep 17 00:00:00 2001 From: Andrew Scull Date: Tue, 4 May 2021 15:13:22 +0000 Subject: [PATCH] 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 --- fs_mgr/libfs_avb/Android.bp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/fs_mgr/libfs_avb/Android.bp b/fs_mgr/libfs_avb/Android.bp index c1c181a1d..6892025a1 100644 --- a/fs_mgr/libfs_avb/Android.bp +++ b/fs_mgr/libfs_avb/Android.bp @@ -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",