Make recovery libraries shared / recovery_available

am: c936a69619

Change-Id: Ida8931378dab85f77b43cddee74c3faffa1e6f02
This commit is contained in:
Jerry Zhang
2018-07-20 13:14:52 -07:00
committed by android-build-merger
6 changed files with 27 additions and 8 deletions
+7
View File
@@ -120,11 +120,18 @@ 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 \
+3 -2
View File
@@ -14,7 +14,7 @@
// limitations under the License.
//
cc_library_static {
cc_library {
name: "libbootloader_message",
recovery_available: true,
srcs: ["bootloader_message.cpp"],
@@ -22,9 +22,10 @@ cc_library_static {
"-Wall",
"-Werror",
],
static_libs: [
shared_libs: [
"libbase",
"libfs_mgr",
"liblog",
],
export_include_dirs: ["include"],
}
+2 -1
View File
@@ -14,6 +14,7 @@
cc_library_static {
name: "libfusesideload",
recovery_available: true,
cflags: [
"-D_XOPEN_SOURCE",
@@ -30,7 +31,7 @@ cc_library_static {
"include",
],
static_libs: [
shared_libs: [
"libbase",
"libcrypto",
],
+5 -3
View File
@@ -28,6 +28,7 @@ cc_defaults {
cc_library_static {
name: "libminadbd",
recovery_available: true,
defaults: [
"minadbd_defaults",
@@ -41,12 +42,12 @@ cc_library_static {
static_libs: [
"libfusesideload",
"libbase",
"libcrypto",
],
whole_static_libs: [
shared_libs: [
"libadbd",
"libbase",
"libcrypto",
],
}
@@ -67,6 +68,7 @@ cc_test {
],
shared_libs: [
"libadbd",
"libbase",
"libcutils",
"liblog",
+3 -2
View File
@@ -16,6 +16,7 @@ cc_library_static {
name: "libotautil",
host_supported: true,
recovery_available: true,
// Minimal set of files to support host build.
srcs: [
@@ -23,7 +24,7 @@ cc_library_static {
"rangeset.cpp",
],
static_libs: [
shared_libs: [
"libbase",
],
@@ -46,7 +47,7 @@ cc_library_static {
"thermalutil.cpp",
],
static_libs: [
shared_libs: [
"libselinux",
"libcutils",
],
+7
View File
@@ -176,10 +176,17 @@ 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 \