From b6b129b258a4fe5790beaa055bb631a37b89637b Mon Sep 17 00:00:00 2001 From: Hridya Valsaraju Date: Mon, 23 Jul 2018 17:43:59 +0000 Subject: Revert "Make recovery libraries shared / recovery_available" This reverts commit c936a6961940a15f7f95befcf35425bad8fa4f7c. Reason for revert: b/111734137 Change-Id: Ie9c1fdc75d6e87dba7019c4e6d1799af25c2f94a --- Android.mk | 7 ------- bootloader_message/Android.bp | 5 ++--- fuse_sideload/Android.bp | 3 +-- minadbd/Android.bp | 8 +++----- otautil/Android.bp | 5 ++--- tests/Android.mk | 7 ------- 6 files changed, 8 insertions(+), 27 deletions(-) diff --git a/Android.mk b/Android.mk index 0a9a33a75..906fcd6a5 100644 --- a/Android.mk +++ b/Android.mk @@ -120,18 +120,11 @@ librecovery_static_libraries := \ libverifier \ libotautil \ $(health_hal_static_libraries) \ - libadbd \ libasyncio \ - libavb_user \ - libdiagnose_usb \ libcrypto_utils \ libcrypto \ libext4_utils \ libfs_mgr \ - libfec \ - libfec_rs \ - libsquashfs_utils \ - liblogwrap \ libpng \ libsparse \ libvintf_recovery \ diff --git a/bootloader_message/Android.bp b/bootloader_message/Android.bp index 6155daad4..ab23733cd 100644 --- a/bootloader_message/Android.bp +++ b/bootloader_message/Android.bp @@ -14,7 +14,7 @@ // limitations under the License. // -cc_library { +cc_library_static { name: "libbootloader_message", recovery_available: true, srcs: ["bootloader_message.cpp"], @@ -22,10 +22,9 @@ cc_library { "-Wall", "-Werror", ], - shared_libs: [ + static_libs: [ "libbase", "libfs_mgr", - "liblog", ], export_include_dirs: ["include"], } diff --git a/fuse_sideload/Android.bp b/fuse_sideload/Android.bp index 29404cea2..76bc16df9 100644 --- a/fuse_sideload/Android.bp +++ b/fuse_sideload/Android.bp @@ -14,7 +14,6 @@ cc_library_static { name: "libfusesideload", - recovery_available: true, cflags: [ "-D_XOPEN_SOURCE", @@ -31,7 +30,7 @@ cc_library_static { "include", ], - shared_libs: [ + static_libs: [ "libbase", "libcrypto", ], diff --git a/minadbd/Android.bp b/minadbd/Android.bp index 0ef4af9b3..432b2f0f5 100644 --- a/minadbd/Android.bp +++ b/minadbd/Android.bp @@ -28,7 +28,6 @@ cc_defaults { cc_library_static { name: "libminadbd", - recovery_available: true, defaults: [ "minadbd_defaults", @@ -42,12 +41,12 @@ cc_library_static { static_libs: [ "libfusesideload", + "libbase", + "libcrypto", ], - shared_libs: [ + whole_static_libs: [ "libadbd", - "libbase", - "libcrypto", ], } @@ -68,7 +67,6 @@ cc_test { ], shared_libs: [ - "libadbd", "libbase", "libcutils", "liblog", diff --git a/otautil/Android.bp b/otautil/Android.bp index 16af7e781..b058f7b35 100644 --- a/otautil/Android.bp +++ b/otautil/Android.bp @@ -16,7 +16,6 @@ cc_library_static { name: "libotautil", host_supported: true, - recovery_available: true, // Minimal set of files to support host build. srcs: [ @@ -24,7 +23,7 @@ cc_library_static { "rangeset.cpp", ], - shared_libs: [ + static_libs: [ "libbase", ], @@ -47,7 +46,7 @@ cc_library_static { "thermalutil.cpp", ], - shared_libs: [ + static_libs: [ "libselinux", "libcutils", ], diff --git a/tests/Android.mk b/tests/Android.mk index de55587fe..daec11f11 100644 --- a/tests/Android.mk +++ b/tests/Android.mk @@ -176,17 +176,10 @@ librecovery_static_libraries := \ libotautil \ $(health_hal_static_libraries) \ libasyncio \ - libadbd \ - libavb_user \ - libdiagnose_usb \ libcrypto_utils \ libcrypto \ libext4_utils \ libfs_mgr \ - libfec \ - libfec_rs \ - libsquashfs_utils \ - liblogwrap \ libpng \ libsparse \ libvintf_recovery \ -- cgit v1.2.3