2
0
mirror of https://github.com/topjohnwu/Magisk synced 2025-08-31 12:15:15 +00:00

Better incremental builds

This commit is contained in:
topjohnwu
2018-09-27 03:56:56 -04:00
parent 41446ec9ba
commit 60b3b8ddce
14 changed files with 30 additions and 9 deletions

View File

@@ -170,8 +170,7 @@ def build_binary(args):
header('* Building binaries: ' + ' '.join(args.target))
# Force update logging.h timestamp to trigger recompilation for the flags to make a difference
os.utime(os.path.join('native', 'jni', 'utils', 'include', 'logging.h'))
os.utime(os.path.join('native', 'jni', 'include', 'flags.h'))
# Basic flags
base_flags = 'MAGISK_VERSION=\"{}\" MAGISK_VER_CODE={} MAGISK_DEBUG={}'.format(config['version'], config['versionCode'],