Move selinux submodule

This commit is contained in:
topjohnwu 2016-12-06 03:09:15 +08:00
parent eea3cb32a5
commit 16d7ae62bd
3 changed files with 5 additions and 5 deletions

6
.gitmodules vendored
View File

@ -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

View File

@ -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