1 <?xml version="1.0" encoding="UTF-8"?>
\r
3 <project name="Juce Demo" default="debug">
\r
4 <property file="local.properties"/>
\r
5 <property file="build.properties"/>
\r
6 <property file="default.properties"/>
\r
7 <path id="android.antlibs">
\r
8 <pathelement path="${sdk.dir}/tools/lib/anttasks.jar"/>
\r
9 <pathelement path="${sdk.dir}/tools/lib/sdklib.jar"/>
\r
10 <pathelement path="${sdk.dir}/tools/lib/androidprefs.jar"/>
\r
12 <taskdef name="setup" classname="com.android.ant.SetupTask" classpathref="android.antlibs"/>
\r
13 <target name="clean">
\r
14 <exec executable="${ndk.dir}/ndk-build" dir="${basedir}" failonerror="true">
\r
15 <arg value="--jobs=2"/>
\r
16 <arg value="clean"/>
\r
19 <exec executable="ln" dir="${basedir}" failonerror="false">
\r
21 <arg value="${basedir}/../../../../../juce/src/native/android/java/"/>
\r
22 <arg value="src/com/juce"/>
\r
24 <target name="debug">
\r
25 <exec executable="${ndk.dir}/ndk-build" dir="${basedir}" failonerror="true">
\r
26 <arg value="--jobs=2"/>
\r
27 <arg value="CONFIG=Debug"/>
\r
30 <target name="release">
\r
31 <exec executable="${ndk.dir}/ndk-build" dir="${basedir}" failonerror="true">
\r
32 <arg value="--jobs=2"/>
\r
33 <arg value="CONFIG=Release"/>
\r