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: if 'native' in args.target:
header('* Cleaning native') 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) shutil.rmtree(os.path.join('native', 'out'), ignore_errors=True)
if 'java' in args.target: if 'java' in args.target:

View File

@ -32,14 +32,14 @@ LOCAL_C_INCLUDES := \
$(LIBUTILS) $(LIBUTILS)
LOCAL_SRC_FILES := \ LOCAL_SRC_FILES := \
misc/applets.cpp \ core/applets.cpp \
misc/img.cpp \ core/img.cpp \
daemon/magisk.cpp \ core/magisk.cpp \
daemon/daemon.cpp \ core/daemon.cpp \
daemon/log_daemon.cpp \ core/log_daemon.cpp \
daemon/bootstages.cpp \ core/bootstages.cpp \
daemon/socket.cpp \ core/socket.cpp \
daemon/db.cpp \ core/db.cpp \
magiskhide/magiskhide.cpp \ magiskhide/magiskhide.cpp \
magiskhide/proc_monitor.cpp \ magiskhide/proc_monitor.cpp \
magiskhide/hide_utils.cpp \ magiskhide/hide_utils.cpp \
@ -73,7 +73,7 @@ LOCAL_C_INCLUDES := \
$(LIBUTILS) $(LIBUTILS)
LOCAL_SRC_FILES := \ LOCAL_SRC_FILES := \
misc/init.cpp \ core/init.cpp \
magiskpolicy/api.cpp \ magiskpolicy/api.cpp \
magiskpolicy/magiskpolicy.cpp \ magiskpolicy/magiskpolicy.cpp \
magiskpolicy/rules.cpp \ magiskpolicy/rules.cpp \