diff --git a/native/jni/Android.mk b/native/jni/Android.mk index 3fbca5135..5e3773967 100644 --- a/native/jni/Android.mk +++ b/native/jni/Android.mk @@ -32,8 +32,8 @@ LOCAL_C_INCLUDES := \ $(LIBUTILS) LOCAL_SRC_FILES := \ - main.c \ - img.c \ + misc/applets.c \ + misc/img.c \ daemon/magisk.c \ daemon/daemon.c \ daemon/log_daemon.c \ @@ -73,7 +73,7 @@ LOCAL_C_INCLUDES := \ $(LIBUTILS) LOCAL_SRC_FILES := \ - init.c \ + misc/init.c \ magiskpolicy/api.c \ magiskpolicy/magiskpolicy.c \ magiskpolicy/rules.c \ @@ -122,7 +122,7 @@ include $(CLEAR_VARS) LOCAL_MODULE := b64xz LOCAL_STATIC_LIBRARIES := libxz LOCAL_C_INCLUDES := $(EXT_PATH)/include -LOCAL_SRC_FILES := b64xz.c +LOCAL_SRC_FILES := misc/b64xz.c LOCAL_LDFLAGS := -static include $(BUILD_EXECUTABLE) diff --git a/native/jni/main.c b/native/jni/misc/applets.c similarity index 100% rename from native/jni/main.c rename to native/jni/misc/applets.c diff --git a/native/jni/b64xz.c b/native/jni/misc/b64xz.c similarity index 100% rename from native/jni/b64xz.c rename to native/jni/misc/b64xz.c diff --git a/native/jni/img.c b/native/jni/misc/img.c similarity index 100% rename from native/jni/img.c rename to native/jni/misc/img.c diff --git a/native/jni/init.c b/native/jni/misc/init.c similarity index 100% rename from native/jni/init.c rename to native/jni/misc/init.c