fail build when jni compile fails

This commit is contained in:
Eric House 2013-09-25 07:23:16 -07:00
parent 63067dc374
commit 9640d0c5f9

View file

@ -58,7 +58,7 @@
<target name="-pre-build">
<property name="CHAT_ENABLED" value="true" />
<exec dir="." executable="../scripts/ndkbuild.sh" >
<exec dir="." executable="../scripts/ndkbuild.sh" failonerror="true">
<arg value="BUILD_TARGET=${build.target}" />
<arg value="-j3"/>
<arg value="INITIAL_CLIENT_VERS=${INITIAL_CLIENT_VERS}" />