Merge "Revert "Build and use minadbd as a shared library.""
This commit is contained in:
+1
-6
@@ -127,6 +127,7 @@ health_hal_static_libraries := \
|
|||||||
librecovery_static_libraries := \
|
librecovery_static_libraries := \
|
||||||
libbootloader_message \
|
libbootloader_message \
|
||||||
libfusesideload \
|
libfusesideload \
|
||||||
|
libminadbd \
|
||||||
libminui \
|
libminui \
|
||||||
libverifier \
|
libverifier \
|
||||||
libotautil \
|
libotautil \
|
||||||
@@ -169,9 +170,6 @@ LOCAL_CFLAGS := $(recovery_common_cflags)
|
|||||||
|
|
||||||
LOCAL_MODULE := librecovery
|
LOCAL_MODULE := librecovery
|
||||||
|
|
||||||
LOCAL_SHARED_LIBRARIES := \
|
|
||||||
libminadbd_services \
|
|
||||||
|
|
||||||
LOCAL_STATIC_LIBRARIES := \
|
LOCAL_STATIC_LIBRARIES := \
|
||||||
$(librecovery_static_libraries)
|
$(librecovery_static_libraries)
|
||||||
|
|
||||||
@@ -201,7 +199,6 @@ LOCAL_STATIC_LIBRARIES := \
|
|||||||
$(librecovery_static_libraries)
|
$(librecovery_static_libraries)
|
||||||
|
|
||||||
LOCAL_SHARED_LIBRARIES := \
|
LOCAL_SHARED_LIBRARIES := \
|
||||||
libminadbd_services \
|
|
||||||
librecovery_ui \
|
librecovery_ui \
|
||||||
|
|
||||||
LOCAL_HAL_STATIC_LIBRARIES := libhealthd
|
LOCAL_HAL_STATIC_LIBRARIES := libhealthd
|
||||||
@@ -239,9 +236,7 @@ LOCAL_REQUIRED_MODULES += \
|
|||||||
# module is built with Soong (with `recovery: true` flag).
|
# module is built with Soong (with `recovery: true` flag).
|
||||||
LOCAL_REQUIRED_MODULES += \
|
LOCAL_REQUIRED_MODULES += \
|
||||||
libbase.recovery \
|
libbase.recovery \
|
||||||
libcrypto.recovery \
|
|
||||||
liblog.recovery \
|
liblog.recovery \
|
||||||
libminadbd_services.recovery \
|
|
||||||
libpng.recovery \
|
libpng.recovery \
|
||||||
libz.recovery \
|
libz.recovery \
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,6 @@
|
|||||||
|
|
||||||
cc_library_static {
|
cc_library_static {
|
||||||
name: "libfusesideload",
|
name: "libfusesideload",
|
||||||
recovery_available: true,
|
|
||||||
|
|
||||||
cflags: [
|
cflags: [
|
||||||
"-D_XOPEN_SOURCE",
|
"-D_XOPEN_SOURCE",
|
||||||
@@ -31,7 +30,7 @@ cc_library_static {
|
|||||||
"include",
|
"include",
|
||||||
],
|
],
|
||||||
|
|
||||||
shared_libs: [
|
static_libs: [
|
||||||
"libbase",
|
"libbase",
|
||||||
"libcrypto",
|
"libcrypto",
|
||||||
],
|
],
|
||||||
|
|||||||
+7
-9
@@ -26,9 +26,8 @@ cc_defaults {
|
|||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|
||||||
cc_library {
|
cc_library_static {
|
||||||
name: "libminadbd_services",
|
name: "libminadbd",
|
||||||
recovery_available: true,
|
|
||||||
|
|
||||||
defaults: [
|
defaults: [
|
||||||
"minadbd_defaults",
|
"minadbd_defaults",
|
||||||
@@ -40,14 +39,14 @@ cc_library {
|
|||||||
"minadbd_services.cpp",
|
"minadbd_services.cpp",
|
||||||
],
|
],
|
||||||
|
|
||||||
shared_libs: [
|
static_libs: [
|
||||||
"libadbd",
|
"libfusesideload",
|
||||||
"libbase",
|
"libbase",
|
||||||
"libcrypto",
|
"libcrypto",
|
||||||
],
|
],
|
||||||
|
|
||||||
static_libs: [
|
whole_static_libs: [
|
||||||
"libfusesideload",
|
"libadbd",
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -63,9 +62,8 @@ cc_test {
|
|||||||
],
|
],
|
||||||
|
|
||||||
static_libs: [
|
static_libs: [
|
||||||
"libminadbd_services",
|
|
||||||
"libadbd",
|
|
||||||
"libBionicGtestMain",
|
"libBionicGtestMain",
|
||||||
|
"libminadbd",
|
||||||
],
|
],
|
||||||
|
|
||||||
shared_libs: [
|
shared_libs: [
|
||||||
|
|||||||
+1
-1
@@ -170,7 +170,7 @@ librecovery_static_libraries := \
|
|||||||
librecovery \
|
librecovery \
|
||||||
libbootloader_message \
|
libbootloader_message \
|
||||||
libfusesideload \
|
libfusesideload \
|
||||||
libminadbd_services \
|
libminadbd \
|
||||||
librecovery_ui_default \
|
librecovery_ui_default \
|
||||||
librecovery_ui \
|
librecovery_ui \
|
||||||
libminui \
|
libminui \
|
||||||
|
|||||||
Reference in New Issue
Block a user