2016-09-08 12:59:48 +00:00
|
|
|
my_path := $(call my-dir)
|
|
|
|
|
|
|
|
LOCAL_PATH := $(my_path)
|
|
|
|
|
2016-09-26 22:08:18 +00:00
|
|
|
include $(CLEAR_VARS)
|
2016-10-05 18:21:12 +00:00
|
|
|
LOCAL_MODULE := magiskhide
|
2016-09-26 22:08:18 +00:00
|
|
|
LOCAL_MODULE_TAGS := optional
|
2016-10-05 18:21:12 +00:00
|
|
|
LOCAL_SRC_FILES := magiskhide.c
|
2016-10-31 20:21:43 +00:00
|
|
|
LOCAL_CFLAGS += -std=gnu11
|
2016-09-26 22:08:18 +00:00
|
|
|
include $(BUILD_EXECUTABLE)
|
|
|
|
|
2016-09-08 12:59:48 +00:00
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := bootimgtools
|
|
|
|
LOCAL_MODULE_TAGS := optional
|
2016-12-09 07:57:10 +00:00
|
|
|
LOCAL_SRC_FILES := bootimgtools/main.c bootimgtools/extract.c bootimgtools/repack.c bootimgtools/hexpatch.c
|
2016-09-08 12:59:48 +00:00
|
|
|
LOCAL_CFLAGS += -std=gnu11
|
|
|
|
include $(BUILD_EXECUTABLE)
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := sepolicy-inject
|
|
|
|
LOCAL_MODULE_TAGS := optional
|
2016-10-29 22:08:23 +00:00
|
|
|
LOCAL_STATIC_LIBRARIES := libsepol
|
2016-09-12 22:23:00 +00:00
|
|
|
LOCAL_SRC_FILES := sepolicy-inject/sepolicy-inject.c sepolicy-inject/builtin_rules.c
|
2016-12-05 20:47:26 +00:00
|
|
|
LOCAL_C_INCLUDES := jni/selinux/libsepol/include/
|
2016-09-08 12:59:48 +00:00
|
|
|
LOCAL_CFLAGS += -std=gnu11
|
|
|
|
include $(BUILD_EXECUTABLE)
|
|
|
|
|
2016-11-04 18:35:23 +00:00
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := resetprop
|
|
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
LOCAL_SRC_FILES := resetprop/resetprop.cpp resetprop/system_properties.cpp resetprop/libc_logging.cpp
|
|
|
|
LOCAL_LDLIBS += -latomic
|
|
|
|
include $(BUILD_EXECUTABLE)
|
|
|
|
|
2016-12-05 20:47:26 +00:00
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := su
|
|
|
|
LOCAL_MODULE_TAGS := eng debug optional
|
|
|
|
LOCAL_STATIC_LIBRARIES := libselinux
|
|
|
|
LOCAL_C_INCLUDES := jni/selinux/libselinux/include/ jni/selinux/libsepol/include/ jni/su/sqlite3/
|
|
|
|
LOCAL_SRC_FILES := su/su.c su/daemon.c su/activity.c su/db.c su/utils.c su/pts.c su/hacks.c su/binds.c su/sqlite3/sqlite3.c
|
|
|
|
LOCAL_CFLAGS := -DSQLITE_OMIT_LOAD_EXTENSION -std=gnu11
|
|
|
|
include $(BUILD_EXECUTABLE)
|
|
|
|
|
|
|
|
include jni/selinux/libsepol/Android.mk
|
|
|
|
include jni/selinux/libselinux/Android.mk
|