Magisk/jni/Android.mk

36 lines
997 B
Makefile
Raw Normal View History

my_path := $(call my-dir)
LOCAL_PATH := $(my_path)
include $(CLEAR_VARS)
2016-10-05 20:21:12 +02:00
LOCAL_MODULE := magiskhide
LOCAL_MODULE_TAGS := optional
2016-10-05 20:21:12 +02:00
LOCAL_SRC_FILES := magiskhide.c
2016-10-31 21:21:43 +01:00
LOCAL_CFLAGS += -std=gnu11
include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS)
LOCAL_MODULE := bootimgtools
LOCAL_MODULE_TAGS := optional
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
2016-10-30 00:08:23 +02:00
LOCAL_STATIC_LIBRARIES := libsepol
2016-09-13 00:23:00 +02:00
LOCAL_SRC_FILES := sepolicy-inject/sepolicy-inject.c sepolicy-inject/builtin_rules.c
LOCAL_C_INCLUDES := selinux/libsepol/include/
LOCAL_CFLAGS += -std=gnu11
include $(BUILD_EXECUTABLE)
2016-11-04 19:35:23 +01: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)
include selinux/libsepol/Android.mk