Update Makefiles

This commit is contained in:
topjohnwu
2020-04-06 22:45:08 -07:00
parent 4729514a22
commit 4066e5bf14
6 changed files with 85 additions and 107 deletions

View File

@ -253,9 +253,11 @@ def gen_update_binary():
def run_ndk_build(flags):
proc = system(f'{ndk_build} -C native {base_flags} {flags} -j{cpu_count}')
os.chdir('native')
proc = system(f'{ndk_build} {base_flags} {flags} -j{cpu_count}')
if proc.returncode != 0:
error('Build binary failed!')
os.chdir('..')
collect_binary()