Native project restructuring

This commit is contained in:
topjohnwu 2019-01-30 03:35:07 -05:00
parent 60f69feaff
commit 4df1047b07
11 changed files with 10 additions and 10 deletions

View File

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

View File

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