]> sigrok.org Git - sigrok-androidutils.git/blob - build.xml
CopyLibsTask: Fix unchecked warning
[sigrok-androidutils.git] / build.xml
1 <!--
2
3    This file is part of the sigrok-androidutils project.
4
5    Copyright (C) 2014 Marcus Comstedt <marcus@mc.pp.se>
6
7    This program is free software: you can redistribute it and/or modify
8    it under the terms of the GNU General Public License as published by
9    the Free Software Foundation, either version 3 of the License, or
10    (at your option) any later version.
11
12    This program is distributed in the hope that it will be useful,
13    but WITHOUT ANY WARRANTY; without even the implied warranty of
14    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15    GNU General Public License for more details.
16
17    You should have received a copy of the GNU General Public License
18    along with this program.  If not, see <http://www.gnu.org/licenses/>.
19
20 -->
21
22 <project>
23
24   <target name="utils" >
25     <mkdir dir="build"/>
26     <javac srcdir="src" destdir="build" includeantruntime="no"
27         classpath="${android.sdk}/platforms/${android.platform}/android.jar"/>
28     <jar destfile="sigrok-androidutils.jar">
29       <fileset dir="build" />
30     </jar>
31   </target>
32
33   <target name="anttasks" >
34     <mkdir dir="ant/build"/>
35     <javac srcdir="ant/src" destdir="ant/build" includeantruntime="yes"/>
36     <jar destfile="ant/sigrok-androidutils-anttasks.jar">
37       <fileset dir="ant/build" />
38       <fileset dir="ant/resources"/>
39     </jar>
40   </target>
41
42 </project>