bigbiff | ce8f83c | 2015-12-12 18:30:21 -0500 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | include $(CLEAR_VARS) |
| 3 | |
| 4 | LOCAL_SRC_FILES:= \ |
| 5 | twrpback.cpp \ |
| 6 | ../twrpDigest.cpp \ |
| 7 | ../digest/md5.c |
| 8 | LOCAL_SHARED_LIBRARIES += libstdc++ libz |
| 9 | ifeq ($(shell test $(PLATFORM_SDK_VERSION) -lt 23; echo $$?),0) |
| 10 | LOCAL_C_INCLUDES += external/stlport/stlport |
| 11 | LOCAL_SHARED_LIBRARIES += libstlport |
| 12 | else |
| 13 | LOCAL_SHARED_LIBRARIES += libc++ |
| 14 | endif |
| 15 | |
| 16 | LOCAL_C_INCLUDES += bionic external/zlib |
| 17 | LOCAL_CFLAGS:= -c -W |
| 18 | LOCAL_MODULE:= twrpbu |
| 19 | LOCAL_MODULE_STEM := bu |
| 20 | LOCAL_MODULE_TAGS:= eng |
| 21 | LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES |
| 22 | LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin |
| 23 | include $(BUILD_EXECUTABLE) |
| 24 | |
| 25 | include $(CLEAR_VARS) |
| 26 | LOCAL_MODULE := libtwadbbu |
| 27 | LOCAL_MODULE_TAGS := optional |
that | 68d5973 | 2016-08-05 01:02:36 +0200 | [diff] [blame] | 28 | LOCAL_CFLAGS = -D_FILE_OFFSET_BITS=64 -fno-strict-aliasing |
| 29 | LOCAL_C_INCLUDES += bionic external/zlib |
bigbiff | ce8f83c | 2015-12-12 18:30:21 -0500 | [diff] [blame] | 30 | ifeq ($(shell test $(PLATFORM_SDK_VERSION) -lt 23; echo $$?),0) |
| 31 | LOCAL_C_INCLUDES += external/stlport/stlport |
| 32 | endif |
| 33 | |
| 34 | LOCAL_SRC_FILES = \ |
| 35 | libtwadbbu.cpp |
| 36 | |
| 37 | LOCAL_SHARED_LIBRARIES += libz libc libstdc++ |
| 38 | |
| 39 | ifeq ($(shell test $(PLATFORM_SDK_VERSION) -lt 23; echo $$?),0) |
| 40 | LOCAL_SHARED_LIBRARIES += libstlport |
| 41 | else |
| 42 | LOCAL_SHARED_LIBRARIES += libc++ |
| 43 | endif |
| 44 | |
| 45 | include $(BUILD_SHARED_LIBRARY) |