<!-- Convert this project's .class files into .dex files. -->
<target name="dex" depends="compile">
<echo>Converting compiled files and external libraries into ${outdir}/${dex-file}...</echo>
+ <echo>NOTE: This will fail unless you built core with build-no-debug.</echo>
<apply executable="${dx}" failonerror="true" parallel="true">
<arg value="--dex" />
<arg value="--output=${intermediate-dex-ospath}" />
<target name="dex-optimized" depends="compile-release,optimize">
<echo>Converting compiled files and external libraries into ${outdir}/${dex-file}...</echo>
+ <echo>NOTE: This will fail unless you built core with build-no-debug.</echo>
<apply executable="${dx}" failonerror="true" parallel="true">
<arg value="--dex" />
<arg value="--output=${intermediate-dex-ospath}" />
</exec>
</target>
- <!-- Invoke the proper target depending on whether or not
-an assets directory is present. -->
- <!-- TODO: find a nicer way to include the "-A ${asset-dir}" argument
-only when the assets dir exists. -->
+ <!-- Invoke the proper target depending on whether or not an assets directory is present. -->
<target name="package-res">
<available file="${asset-dir}" type="dir"
property="res-target" value="and-assets" />