blob: 1fb2629f5a3fb2146dc37eb9e2707b46c6ae63ba [file] [log] [blame]
#!/usr/bin/env bash
set -e
SYSTEMNAME=`uname`
if [[ "$SYSTEMNAME" == 'Darwin' ]]
then
PROCESSORS=`sysctl -n hw.ncpu`
else
PROCESSORS=`nproc`
fi
ndk-build APP_ABI=x86 -j$PROCESSORS