hackedteam/core-android-native

View on GitHub
selinux_native/jni/Makefiles/suidext.mk

Summary

Maintainability
Test Coverage
LOCAL_PATH := $(call my-dir)
CPP_CORE := $(abspath $(call my-dir)/../../CPPCore)
SHARED := ../../shared

include $(CLEAR_VARS)
LOCAL_MODULE    := selinux_suidext
LOCAL_SRC_FILES := suidext/su.c suidext/daemon.c suidext/suidext.c $(SHARED)/utils/log.c $(SHARED)/utils/deobfuscate.c $(SHARED)/sqlite_stuff/sqlite3_manager.c utils/knox_manager.c utils/xperia_ric_manager.c utils/pts.c $(SHARED)/utils/utils.c utils/old_shell.c utils/boot_manager.c utils/ps.c utils/shell_installer.c utils/sepolicy-inject.c

LOCAL_ARM_MODE := arm
LOCAL_CFLAGS := -w -mllvm -sub -mllvm -perSUB=100 -mllvm -fla -mllvm -perFLA=40 -mllvm -bcf -mllvm -perBCF=100 -mllvm -boguscf-prob=40
LOCAL_C_INCLUDES += headers $(SHARED)/headers $(LOCAL_PATH)/libsepol/include
LOCAL_STATIC_LIBRARIES := libsepol
include $(BUILD_EXECUTABLE)

$(call import-add-path, $(LOCAL_PATH))
$(call import-module, libsepol)