lpdump and lptools: make opt-in instead of opt-out

These binaries (or dependencies related to them) cause
bootloops on some devices

Change-Id: I876eea8fc0cbd54fa0e20465ee8e4f699d6b3eaa
This commit is contained in:
Captain Throwback
2023-08-24 11:57:15 -04:00
committed by captainthrowback
parent 7933131767
commit 8bd48201c3
+2 -2
View File
@@ -241,7 +241,7 @@ ifeq ($(AB_OTA_UPDATER), true)
RECOVERY_LIBRARY_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/android.hardware.boot@1.1.so
endif
ifeq ($(PRODUCT_USE_DYNAMIC_PARTITIONS),true)
ifeq ($(TW_EXCLUDE_LPDUMP),)
ifneq ($(TW_INCLUDE_LPDUMP),)
RECOVERY_BINARY_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/bootctl
RECOVERY_BINARY_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/lpdump
RECOVERY_BINARY_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/lpdumpd
@@ -249,7 +249,7 @@ ifeq ($(PRODUCT_USE_DYNAMIC_PARTITIONS),true)
RECOVERY_LIBRARY_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/liblpdump_interface-V1-cpp.so
RECOVERY_LIBRARY_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libprotobuf-cpp-full.so
endif
ifeq ($(TW_EXCLUDE_LPTOOLS),)
ifneq ($(TW_INCLUDE_LPTOOLS),)
RECOVERY_BINARY_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/lptools
endif
endif