Make recovery libraries shared / recovery_available
am: c936a69619
Change-Id: Ida8931378dab85f77b43cddee74c3faffa1e6f02
This commit is contained in:
@@ -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 \
|
||||
|
||||
@@ -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"],
|
||||
}
|
||||
|
||||
@@ -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
@@ -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
@@ -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",
|
||||
],
|
||||
|
||||
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user