Update build

This commit is contained in:
Victor Shcherb 2013-02-21 00:03:10 +01:00
parent d7c87fdc9c
commit b90f9b519d

View file

@ -106,21 +106,6 @@
</then>
</if>
<!-- Native section -->
<if>
<condition>
<equals arg1="${nativeoff}" arg2="true"/>
</condition>
<then>
<echo>Not using native, excluding from build</echo>
<move file="${native.libs.absolute.dir}/armeabi" tofile="${native.libs.absolute.dir}.skipped/armeabi" failonerror="no"/>
<move file="${native.libs.absolute.dir}/armeabi-v7a" tofile="${native.libs.absolute.dir}.skipped/armeabi-v7a" failonerror="no"/>
<move file="${native.libs.absolute.dir}/x86" tofile="${native.libs.absolute.dir}.skipped/x86" failonerror="no"/>
</then>
<else>
<fail message="ndk.dir is missing. Make sure to generate local.properties or to inject it through an env var" unless="ndk.dir"/>
</else>
</if>
</target>
<!-- Compiles this project's .java files into .class files. -->
@ -203,16 +188,6 @@
<fileset dir="ant-lib" includes="*.jar" />
</path>
<target name="debug-nondk">
<property name="nativeoff" value="true" />
<antcall target="debug" />
</target>
<target name="-post-package" if="nativeoff">
<echo>Restoring ${native.libs.absolute.dir} to it's place...</echo>
<move file="${native.libs.absolute.dir}.skipped" tofile="${native.libs.absolute.dir}" failonerror="no"/>
</target>
<!-- Import the actual build file.
To customize existing targets, there are two options: