mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-24 18:45:28 +00:00
Move selinux submodule
This commit is contained in:
parent
eea3cb32a5
commit
16d7ae62bd
6
.gitmodules
vendored
6
.gitmodules
vendored
@ -1,9 +1,9 @@
|
|||||||
[submodule "selinux"]
|
|
||||||
path = selinux
|
|
||||||
url = https://github.com/topjohnwu/selinux
|
|
||||||
[submodule "jni/sepolicy-inject"]
|
[submodule "jni/sepolicy-inject"]
|
||||||
path = jni/sepolicy-inject
|
path = jni/sepolicy-inject
|
||||||
url = https://github.com/topjohnwu/sepolicy-inject
|
url = https://github.com/topjohnwu/sepolicy-inject
|
||||||
[submodule "jni/resetprop"]
|
[submodule "jni/resetprop"]
|
||||||
path = jni/resetprop
|
path = jni/resetprop
|
||||||
url = https://github.com/topjohnwu/resetprop.git
|
url = https://github.com/topjohnwu/resetprop.git
|
||||||
|
[submodule "jni/selinux"]
|
||||||
|
path = jni/selinux
|
||||||
|
url = https://github.com/topjohnwu/selinux.git
|
||||||
|
@ -21,7 +21,7 @@ LOCAL_MODULE := sepolicy-inject
|
|||||||
LOCAL_MODULE_TAGS := optional
|
LOCAL_MODULE_TAGS := optional
|
||||||
LOCAL_STATIC_LIBRARIES := libsepol
|
LOCAL_STATIC_LIBRARIES := libsepol
|
||||||
LOCAL_SRC_FILES := sepolicy-inject/sepolicy-inject.c sepolicy-inject/builtin_rules.c
|
LOCAL_SRC_FILES := sepolicy-inject/sepolicy-inject.c sepolicy-inject/builtin_rules.c
|
||||||
LOCAL_C_INCLUDES := selinux/libsepol/include/
|
LOCAL_C_INCLUDES := $(my_path)/selinux/libsepol/include/
|
||||||
LOCAL_CFLAGS += -std=gnu11
|
LOCAL_CFLAGS += -std=gnu11
|
||||||
include $(BUILD_EXECUTABLE)
|
include $(BUILD_EXECUTABLE)
|
||||||
|
|
||||||
@ -32,4 +32,4 @@ LOCAL_SRC_FILES := resetprop/resetprop.cpp resetprop/system_properties.cpp reset
|
|||||||
LOCAL_LDLIBS += -latomic
|
LOCAL_LDLIBS += -latomic
|
||||||
include $(BUILD_EXECUTABLE)
|
include $(BUILD_EXECUTABLE)
|
||||||
|
|
||||||
include selinux/libsepol/Android.mk
|
include $(my_path)/selinux/libsepol/Android.mk
|
||||||
|
Loading…
Reference in New Issue
Block a user