diff options
author | bigbiff bigbiff <bigbiff@teamw.in> | 2016-09-06 03:04:51 +0200 |
---|---|---|
committer | Ethan Yonker <dees_troy@teamw.in> | 2017-11-27 16:32:30 +0100 |
commit | 19fb79c722622ac4a068e258501ab4b161420cda (patch) | |
tree | 87791149590c18e019d20818dd61279e3b4829b2 /adbbu/Android.mk | |
parent | Improve greek translation (diff) | |
download | android_bootable_recovery-19fb79c722622ac4a068e258501ab4b161420cda.tar android_bootable_recovery-19fb79c722622ac4a068e258501ab4b161420cda.tar.gz android_bootable_recovery-19fb79c722622ac4a068e258501ab4b161420cda.tar.bz2 android_bootable_recovery-19fb79c722622ac4a068e258501ab4b161420cda.tar.lz android_bootable_recovery-19fb79c722622ac4a068e258501ab4b161420cda.tar.xz android_bootable_recovery-19fb79c722622ac4a068e258501ab4b161420cda.tar.zst android_bootable_recovery-19fb79c722622ac4a068e258501ab4b161420cda.zip |
Diffstat (limited to '')
-rw-r--r-- | adbbu/Android.mk | 47 |
1 files changed, 27 insertions, 20 deletions
diff --git a/adbbu/Android.mk b/adbbu/Android.mk index 33d3ad7d3..efb5f9ae5 100644 --- a/adbbu/Android.mk +++ b/adbbu/Android.mk @@ -1,10 +1,35 @@ LOCAL_PATH:= $(call my-dir) + +include $(CLEAR_VARS) +LOCAL_MODULE := libtwadbbu +LOCAL_MODULE_TAGS := optional +LOCAL_CFLAGS = -fno-strict-aliasing -D_LARGFILE_SOURCE +LOCAL_C_INCLUDES += bionic external/zlib +ifeq ($(shell test $(PLATFORM_SDK_VERSION) -lt 23; echo $$?),0) + LOCAL_C_INCLUDES += external/stlport/stlport +endif + +LOCAL_SRC_FILES = \ + libtwadbbu.cpp \ + twrpback.cpp + +LOCAL_SHARED_LIBRARIES += libz libc libstdc++ libtwrpdigest + +ifeq ($(shell test $(PLATFORM_SDK_VERSION) -lt 23; echo $$?),0) + LOCAL_SHARED_LIBRARIES += libstlport +else + LOCAL_SHARED_LIBRARIES += libc++ +endif + +include $(BUILD_SHARED_LIBRARY) + include $(CLEAR_VARS) LOCAL_SRC_FILES:= \ - twrpback.cpp + adbbumain.cpp + +LOCAL_SHARED_LIBRARIES += libstdc++ libz libtwadbbu -LOCAL_SHARED_LIBRARIES += libstdc++ libz libtwrpdigest ifeq ($(shell test $(PLATFORM_SDK_VERSION) -lt 23; echo $$?),0) LOCAL_C_INCLUDES += external/stlport/stlport LOCAL_SHARED_LIBRARIES += libstlport @@ -21,21 +46,3 @@ LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin include $(BUILD_EXECUTABLE) -include $(CLEAR_VARS) -LOCAL_MODULE := libtwadbbu -LOCAL_MODULE_TAGS := optional -LOCAL_CFLAGS = -D_FILE_OFFSET_BITS=64 -fno-strict-aliasing -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 += libstlport -else - LOCAL_SHARED_LIBRARIES += libc++ -endif - -LOCAL_SRC_FILES = \ - libtwadbbu.cpp - -LOCAL_SHARED_LIBRARIES += libz libc libstdc++ - -include $(BUILD_SHARED_LIBRARY) |