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 \ libverifier \
libotautil \ libotautil \
$(health_hal_static_libraries) \ $(health_hal_static_libraries) \
libadbd \
libasyncio \ libasyncio \
libavb_user \
libdiagnose_usb \
libcrypto_utils \ libcrypto_utils \
libcrypto \ libcrypto \
libext4_utils \ libext4_utils \
libfs_mgr \ libfs_mgr \
libfec \
libfec_rs \
libsquashfs_utils \
liblogwrap \
libpng \ libpng \
libsparse \ libsparse \
libvintf_recovery \ libvintf_recovery \
+3 -2
View File
@@ -14,7 +14,7 @@
// limitations under the License. // limitations under the License.
// //
cc_library_static { cc_library {
name: "libbootloader_message", name: "libbootloader_message",
recovery_available: true, recovery_available: true,
srcs: ["bootloader_message.cpp"], srcs: ["bootloader_message.cpp"],
@@ -22,9 +22,10 @@ cc_library_static {
"-Wall", "-Wall",
"-Werror", "-Werror",
], ],
static_libs: [ shared_libs: [
"libbase", "libbase",
"libfs_mgr", "libfs_mgr",
"liblog",
], ],
export_include_dirs: ["include"], export_include_dirs: ["include"],
} }
+2 -1
View File
@@ -14,6 +14,7 @@
cc_library_static { cc_library_static {
name: "libfusesideload", name: "libfusesideload",
recovery_available: true,
cflags: [ cflags: [
"-D_XOPEN_SOURCE", "-D_XOPEN_SOURCE",
@@ -30,7 +31,7 @@ cc_library_static {
"include", "include",
], ],
static_libs: [ shared_libs: [
"libbase", "libbase",
"libcrypto", "libcrypto",
], ],
+5 -3
View File
@@ -28,6 +28,7 @@ cc_defaults {
cc_library_static { cc_library_static {
name: "libminadbd", name: "libminadbd",
recovery_available: true,
defaults: [ defaults: [
"minadbd_defaults", "minadbd_defaults",
@@ -41,12 +42,12 @@ cc_library_static {
static_libs: [ static_libs: [
"libfusesideload", "libfusesideload",
"libbase",
"libcrypto",
], ],
whole_static_libs: [ shared_libs: [
"libadbd", "libadbd",
"libbase",
"libcrypto",
], ],
} }
@@ -67,6 +68,7 @@ cc_test {
], ],
shared_libs: [ shared_libs: [
"libadbd",
"libbase", "libbase",
"libcutils", "libcutils",
"liblog", "liblog",
+3 -2
View File
@@ -16,6 +16,7 @@ cc_library_static {
name: "libotautil", name: "libotautil",
host_supported: true, host_supported: true,
recovery_available: true,
// Minimal set of files to support host build. // Minimal set of files to support host build.
srcs: [ srcs: [
@@ -23,7 +24,7 @@ cc_library_static {
"rangeset.cpp", "rangeset.cpp",
], ],
static_libs: [ shared_libs: [
"libbase", "libbase",
], ],
@@ -46,7 +47,7 @@ cc_library_static {
"thermalutil.cpp", "thermalutil.cpp",
], ],
static_libs: [ shared_libs: [
"libselinux", "libselinux",
"libcutils", "libcutils",
], ],
+7
View File
@@ -176,10 +176,17 @@ librecovery_static_libraries := \
libotautil \ libotautil \
$(health_hal_static_libraries) \ $(health_hal_static_libraries) \
libasyncio \ libasyncio \
libadbd \
libavb_user \
libdiagnose_usb \
libcrypto_utils \ libcrypto_utils \
libcrypto \ libcrypto \
libext4_utils \ libext4_utils \
libfs_mgr \ libfs_mgr \
libfec \
libfec_rs \
libsquashfs_utils \
liblogwrap \
libpng \ libpng \
libsparse \ libsparse \
libvintf_recovery \ libvintf_recovery \