Switch to FrankeNDK for building native

This commit is contained in:
topjohnwu
2018-08-11 18:46:55 +08:00
parent 190646d50c
commit 0f34f0033c
3 changed files with 9 additions and 14 deletions

View File

@ -238,15 +238,8 @@ def build_binary(args):
error('Build binaries failed!')
collect_binary()
new_plat = False
flags = base_flags
if 'busybox' in args.target:
flags += ' B_BB=1'
new_plat = True
if new_plat:
proc = system('{} -C native NEW_PLAT=1 {} -j{}'.format(ndk_build, flags, cpu_count))
proc = system('{} -C native {} B_BB=1 -j{}'.format(ndk_build, base_flags, cpu_count))
if proc.returncode != 0:
error('Build binaries failed!')
collect_binary()