zxing/android-integration/build.xml

54 lines
1.5 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2009 ZXing authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<project name="android-integration" default="build">
<property file="../build.properties"/>
<target name="init">
<tstamp/>
</target>
<target name="build" depends="init">
<mkdir dir="build"/>
<javac srcdir="src"
destdir="build"
source="6"
target="6"
optimize="true"
debug="true"
deprecation="true"
includeantruntime="false">
<classpath>
<pathelement location="${android-home}/platforms/android-7/android.jar"/>
</classpath>
</javac>
<jar jarfile="android-integration.jar" basedir="build"/>
</target>
<target name="export" depends="build">
<copy file="android-integration.jar" todir="../androidtest/libs"/>
</target>
<target name="clean">
<delete dir="build"/>
<delete file="android-integration.jar"/>
</target>
</project>