| LOCAL_PATH:= $(call my-dir) |
| LOCAL_MODULE := libtwadbbu |
| LOCAL_MODULE_TAGS := optional |
| LOCAL_CFLAGS = -fno-strict-aliasing -D_LARGFILE_SOURCE #-D_DEBUG_ADB_BACKUP |
| LOCAL_C_INCLUDES += bionic external/zlib |
| ifeq ($(shell test $(PLATFORM_SDK_VERSION) -lt 23; echo $$?),0) |
| LOCAL_C_INCLUDES += external/stlport/stlport |
| LOCAL_SHARED_LIBRARIES += libz libc libstdc++ libtwrpdigest |
| ifeq ($(shell test $(PLATFORM_SDK_VERSION) -lt 23; echo $$?),0) |
| LOCAL_SHARED_LIBRARIES += libstlport |
| LOCAL_SHARED_LIBRARIES += libc++ |
| include $(BUILD_SHARED_LIBRARY) |
| LOCAL_SHARED_LIBRARIES += libstdc++ libz libtwadbbu |
| ifeq ($(shell test $(PLATFORM_SDK_VERSION) -lt 23; echo $$?),0) |
| LOCAL_C_INCLUDES += external/stlport/stlport |
| LOCAL_SHARED_LIBRARIES += libstlport |
| LOCAL_SHARED_LIBRARIES += libc++ |
| LOCAL_C_INCLUDES += bionic external/zlib |
| LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES |
| LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin |
| include $(BUILD_EXECUTABLE) |