2016-12-30 18:44:24 +00:00
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
2017-02-27 21:43:49 +00:00
|
|
|
LOCAL_MODULE := magiskboot
|
2017-03-04 13:18:24 +00:00
|
|
|
LOCAL_STATIC_LIBRARIES := libz liblzma liblz4 libbz2
|
2017-03-01 20:12:47 +00:00
|
|
|
LOCAL_C_INCLUDES := \
|
2017-03-04 13:16:59 +00:00
|
|
|
jni/ndk-compression/zlib/ \
|
2017-03-01 20:12:47 +00:00
|
|
|
jni/ndk-compression/xz/src/liblzma/api/ \
|
2017-03-01 21:23:31 +00:00
|
|
|
jni/ndk-compression/lz4/lib/ \
|
2017-03-04 13:16:59 +00:00
|
|
|
jni/ndk-compression/bzip2/
|
2017-03-01 20:12:47 +00:00
|
|
|
|
2017-03-04 13:18:24 +00:00
|
|
|
LOCAL_SRC_FILES := main.c unpack.c repack.c hexpatch.c parseimg.c compress.c utils.c
|
|
|
|
LOCAL_CFLAGS += -DZLIB_CONST
|
2016-12-30 18:44:24 +00:00
|
|
|
include $(BUILD_EXECUTABLE)
|
2017-03-01 20:12:47 +00:00
|
|
|
|
2017-03-04 13:16:59 +00:00
|
|
|
include jni/ndk-compression/zlib/Android.mk
|
2017-03-01 20:12:47 +00:00
|
|
|
include jni/ndk-compression/xz/src/liblzma/Android.mk
|
|
|
|
include jni/ndk-compression/lz4/lib/Android.mk
|
2017-03-01 21:23:31 +00:00
|
|
|
include jni/ndk-compression/bzip2/Android.mk
|