mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-22 07:57:39 +00:00
Native project restructuring
This commit is contained in:
parent
60f69feaff
commit
4df1047b07
2
build.py
2
build.py
@ -374,7 +374,7 @@ def cleanup(args):
|
||||
|
||||
if 'native' in args.target:
|
||||
header('* Cleaning native')
|
||||
system(ndk_build + ' -C native B_MAGISK=1 B_INIT=1 B_BOOT=1 B_BXZ=1 B_BB=1 clean')
|
||||
system(ndk_build + ' -C native B_MAGISK=1 B_INIT=1 B_BOOT=1 B_BB=1 clean')
|
||||
shutil.rmtree(os.path.join('native', 'out'), ignore_errors=True)
|
||||
|
||||
if 'java' in args.target:
|
||||
|
@ -32,14 +32,14 @@ LOCAL_C_INCLUDES := \
|
||||
$(LIBUTILS)
|
||||
|
||||
LOCAL_SRC_FILES := \
|
||||
misc/applets.cpp \
|
||||
misc/img.cpp \
|
||||
daemon/magisk.cpp \
|
||||
daemon/daemon.cpp \
|
||||
daemon/log_daemon.cpp \
|
||||
daemon/bootstages.cpp \
|
||||
daemon/socket.cpp \
|
||||
daemon/db.cpp \
|
||||
core/applets.cpp \
|
||||
core/img.cpp \
|
||||
core/magisk.cpp \
|
||||
core/daemon.cpp \
|
||||
core/log_daemon.cpp \
|
||||
core/bootstages.cpp \
|
||||
core/socket.cpp \
|
||||
core/db.cpp \
|
||||
magiskhide/magiskhide.cpp \
|
||||
magiskhide/proc_monitor.cpp \
|
||||
magiskhide/hide_utils.cpp \
|
||||
@ -73,7 +73,7 @@ LOCAL_C_INCLUDES := \
|
||||
$(LIBUTILS)
|
||||
|
||||
LOCAL_SRC_FILES := \
|
||||
misc/init.cpp \
|
||||
core/init.cpp \
|
||||
magiskpolicy/api.cpp \
|
||||
magiskpolicy/magiskpolicy.cpp \
|
||||
magiskpolicy/rules.cpp \
|
||||
|
Loading…
x
Reference in New Issue
Block a user