forked from geometer/FBReaderJ
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.xml
40 lines (33 loc) · 1.12 KB
/
build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?xml version="1.0" encoding="UTF-8"?>
<project name="FBReaderJ" default="package">
<property file="local.properties" />
<property file="build.properties" />
<property file="default.properties" />
<path id="android.antlibs">
<pathelement path="${sdk.dir}/tools/lib/anttasks.jar" />
<pathelement path="${sdk.dir}/tools/lib/sdklib.jar" />
<pathelement path="${sdk.dir}/tools/lib/androidprefs.jar" />
<pathelement path="${sdk.dir}/tools/lib/apkbuilder.jar" />
<pathelement path="${sdk.dir}/tools/lib/jarutils.jar" />
</path>
<taskdef name="setup"
classname="com.android.ant.SetupTask"
classpathref="android.antlibs" />
<setup />
<target name="native">
<exec executable="${ndk.dir}/ndk-build" />
</target>
<target name="resources">
<exec executable="./createRawResources.py" />
</target>
<target name="package" depends="native,resources,release" />
<target name="dbg" depends="native,resources,debug" />
<target name="clean">
<delete dir="gen" />
<delete dir="bin" />
<delete dir="res/raw" />
<delete dir="res/drawable" />
<delete dir="libs/armeabi" />
<delete dir="obj" />
</target>
</project>