2017-04-04 22:08:53 +00:00
|
|
|
LOCAL_PATH:= $(call my-dir)
|
2017-09-13 17:44:36 +00:00
|
|
|
EXTERNAL := $(LOCAL_PATH)
|
2017-04-04 22:08:53 +00:00
|
|
|
|
2017-07-07 09:14:37 +00:00
|
|
|
# libsqlite.so (stub)
|
2017-04-04 22:08:53 +00:00
|
|
|
include $(CLEAR_VARS)
|
2017-04-05 01:14:33 +00:00
|
|
|
LOCAL_MODULE:= libsqlite
|
2017-09-13 17:44:36 +00:00
|
|
|
LOCAL_SRC_FILES := stubs/sqlite3_stub.c
|
2017-04-05 01:14:33 +00:00
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
2017-07-07 14:11:00 +00:00
|
|
|
|
|
|
|
# libselinux.so (stub)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE:= libselinux
|
2017-09-13 17:44:36 +00:00
|
|
|
LOCAL_C_INCLUDES := $(LIBSELINUX)
|
|
|
|
LOCAL_SRC_FILES := stubs/selinux_stub.c
|
2017-07-07 14:11:00 +00:00
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
2017-09-13 17:44:36 +00:00
|
|
|
|
2017-09-14 02:46:32 +00:00
|
|
|
# libfdt
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE:= libfdt
|
|
|
|
LOCAL_C_INCLUDES := $(LIBFDT)
|
|
|
|
LOCAL_SRC_FILES := \
|
|
|
|
dtc/libfdt/fdt.c \
|
|
|
|
dtc/libfdt/fdt_addresses.c \
|
|
|
|
dtc/libfdt/fdt_empty_tree.c \
|
|
|
|
dtc/libfdt/fdt_overlay.c \
|
|
|
|
dtc/libfdt/fdt_ro.c \
|
|
|
|
dtc/libfdt/fdt_rw.c \
|
|
|
|
dtc/libfdt/fdt_strerror.c \
|
|
|
|
dtc/libfdt/fdt_sw.c \
|
|
|
|
dtc/libfdt/fdt_wip.c
|
|
|
|
include $(BUILD_STATIC_LIBRARY)
|
|
|
|
|
2017-09-13 17:44:36 +00:00
|
|
|
# libsepol, static library
|
|
|
|
include $(SELINUX_PATH)/libsepol/Android.mk
|
|
|
|
|
|
|
|
# Compression libraries for magiskboot
|
|
|
|
include $(COMPRESS_LIB)/zlib/Android.mk
|
|
|
|
include $(COMPRESS_LIB)/xz/src/liblzma/Android.mk
|
|
|
|
include $(COMPRESS_LIB)/lz4/lib/Android.mk
|
|
|
|
include $(COMPRESS_LIB)/bzip2/Android.mk
|