From 7aa460805326c685dc8ee2ed308cdaeedc5bcd7c Mon Sep 17 00:00:00 2001 From: Tao Bao Date: Mon, 13 Aug 2018 22:25:34 -0700 Subject: [PATCH] fs_mgr: Drop some unneeded dependencies. libfs_mgr doesn't have direct dependencies on libfec_rs / libkeyutils / libsquashfs_utils. They were only needed when libfec and libext4_utils were statically linked into libfs_mgr. Bug: 112494634 Test: `m -j installclean && m -j bootimage` with aosp_taimen-userdebug. Check the installed files in recovery image. Test: `mmma -j system/core/fs_mgr` Change-Id: I4b12c2df344fabba4942b6db943cf43a031b591d --- fs_mgr/Android.bp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/fs_mgr/Android.bp b/fs_mgr/Android.bp index 6329d543f..82a1b1f32 100644 --- a/fs_mgr/Android.bp +++ b/fs_mgr/Android.bp @@ -46,18 +46,15 @@ cc_library { "fs_mgr_overlayfs.cpp", ], shared_libs: [ - "libfec", - "libfec_rs", "libbase", - "libcrypto_utils", "libcrypto", + "libcrypto_utils", "libcutils", "libext4_utils", - "libkeyutils", + "libfec", "liblog", - "libsquashfs_utils", - "libselinux", "liblp", + "libselinux", ], static_libs: [ "libavb",