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
|
|
|
|
LOCAL_FORCE_STATIC_EXECUTABLE := true
|
|
|
|
LOCAL_LDFLAGS := -static
|
|
|
|
LOCAL_STATIC_LIBRARIES := libc libcutils
|
2016-10-05 18:21:12 +00:00
|
|
|
LOCAL_SRC_FILES := magiskhide.c
|
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
|
|
|
|
LOCAL_FORCE_STATIC_EXECUTABLE := true
|
|
|
|
LOCAL_LDFLAGS := -static
|
|
|
|
LOCAL_STATIC_LIBRARIES := libc libcutils
|
|
|
|
LOCAL_SRC_FILES := bootimgtools.c extract.c repack.c hexpatch.c
|
|
|
|
LOCAL_CFLAGS += -std=gnu11
|
|
|
|
include $(BUILD_EXECUTABLE)
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := sepolicy-inject
|
|
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
LOCAL_FORCE_STATIC_EXECUTABLE := true
|
|
|
|
LOCAL_LDFLAGS := -static
|
|
|
|
LOCAL_STATIC_LIBRARIES := libc libcutils libsepol
|
2016-09-12 22:23:00 +00:00
|
|
|
LOCAL_SRC_FILES := sepolicy-inject/sepolicy-inject.c sepolicy-inject/builtin_rules.c
|
2016-09-08 12:59:48 +00:00
|
|
|
LOCAL_C_INCLUDES := selinux/libsepol/include/
|
|
|
|
LOCAL_CFLAGS += -std=gnu11
|
|
|
|
include $(BUILD_EXECUTABLE)
|
|
|
|
|
|
|
|
include selinux/libsepol/Android.mk
|