2009-02-17 04:27:14 -08:00
|
|
|
<?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/>
|
2012-01-19 08:46:54 -08:00
|
|
|
<mkdir dir="build"/>
|
2009-02-17 04:27:14 -08:00
|
|
|
</target>
|
|
|
|
|
2012-01-19 08:46:54 -08:00
|
|
|
<target name="build" depends="init,build.legacy,build.honeycomb,build.supportv4">
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="build.legacy" depends="init">
|
|
|
|
<mkdir dir="build/legacy"/>
|
2009-02-17 04:27:14 -08:00
|
|
|
<javac srcdir="src"
|
2012-01-19 08:46:54 -08:00
|
|
|
destdir="build/legacy"
|
2011-11-02 04:16:30 -07:00
|
|
|
source="6"
|
|
|
|
target="6"
|
2009-02-17 04:27:14 -08:00
|
|
|
optimize="true"
|
|
|
|
debug="true"
|
2010-10-25 14:03:11 -07:00
|
|
|
deprecation="true"
|
2012-01-19 08:46:54 -08:00
|
|
|
excludes="**/IntentIntegratorV30.java,**/IntentIntegratorSupportV4.java"
|
2010-10-25 14:03:11 -07:00
|
|
|
includeantruntime="false">
|
2009-02-17 04:27:14 -08:00
|
|
|
<classpath>
|
2012-01-19 08:46:54 -08:00
|
|
|
<pathelement location="${android-home}/platforms/android-10/android.jar"/>
|
2009-02-17 04:27:14 -08:00
|
|
|
</classpath>
|
|
|
|
</javac>
|
2012-01-19 08:46:54 -08:00
|
|
|
<jar jarfile="android-integration.jar" basedir="build/legacy"/>
|
2009-02-17 04:27:14 -08:00
|
|
|
</target>
|
2012-01-19 08:46:54 -08:00
|
|
|
|
|
|
|
<target name="build.honeycomb" depends="init">
|
|
|
|
<mkdir dir="build/honeycomb"/>
|
|
|
|
<javac srcdir="src"
|
|
|
|
destdir="build/honeycomb"
|
|
|
|
source="6"
|
|
|
|
target="6"
|
|
|
|
optimize="true"
|
|
|
|
debug="true"
|
|
|
|
deprecation="true"
|
|
|
|
excludes="**/IntentIntegratorSupportV4.java"
|
|
|
|
includeantruntime="false">
|
|
|
|
<classpath>
|
2012-11-13 13:18:11 -08:00
|
|
|
<pathelement location="${android-home}/platforms/android-17/android.jar"/>
|
2012-01-19 08:46:54 -08:00
|
|
|
</classpath>
|
|
|
|
</javac>
|
|
|
|
<jar jarfile="android-integration-honeycomb.jar" basedir="build/honeycomb"/>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="build.supportv4" depends="init">
|
|
|
|
<mkdir dir="build/supportv4"/>
|
|
|
|
<javac srcdir="src"
|
|
|
|
destdir="build/supportv4"
|
|
|
|
source="6"
|
|
|
|
target="6"
|
|
|
|
optimize="true"
|
|
|
|
debug="true"
|
|
|
|
deprecation="true"
|
|
|
|
excludes="**/IntentIntegratorV30.java"
|
|
|
|
includeantruntime="false">
|
|
|
|
<classpath>
|
2012-11-13 13:18:11 -08:00
|
|
|
<pathelement location="${android-home}/platforms/android-17/android.jar"/>
|
2012-01-19 08:46:54 -08:00
|
|
|
<pathelement location="${android-home}/extras/android/compatibility/v4/android-support-v4.jar"/>
|
|
|
|
</classpath>
|
|
|
|
</javac>
|
|
|
|
<jar jarfile="android-integration-supportv4.jar" basedir="build/supportv4"/>
|
|
|
|
</target>
|
|
|
|
|
2011-11-10 03:16:24 -08:00
|
|
|
<target name="export" depends="build">
|
|
|
|
<copy file="android-integration.jar" todir="../androidtest/libs"/>
|
|
|
|
</target>
|
2009-02-17 04:27:14 -08:00
|
|
|
|
|
|
|
<target name="clean">
|
|
|
|
<delete dir="build"/>
|
|
|
|
<delete file="android-integration.jar"/>
|
2012-01-19 08:46:54 -08:00
|
|
|
<delete file="android-integration-honeycomb.jar"/>
|
|
|
|
<delete file="android-integration-supportv4.jar"/>
|
2009-02-17 04:27:14 -08:00
|
|
|
</target>
|
|
|
|
|
|
|
|
</project>
|