Include android in main build; add android clean target
authorsrowen <srowen@59b500cc-1b3d-0410-9834-0bbf25fbcc57>
Thu, 14 Feb 2008 21:06:57 +0000 (21:06 +0000)
committersrowen <srowen@59b500cc-1b3d-0410-9834-0bbf25fbcc57>
Thu, 14 Feb 2008 21:06:57 +0000 (21:06 +0000)
git-svn-id: http://zxing.googlecode.com/svn/trunk@194 59b500cc-1b3d-0410-9834-0bbf25fbcc57

android/build.xml
build.xml

index 4226f61..5a92331 100644 (file)
@@ -199,4 +199,9 @@ only when the assets dir exists. -->
 
   <!-- Create the package file for this project from the sources. -->
   <target name="package" depends="package-dex"/>
+
+  <target name="clean">
+    <delete dir="${outdir}"/>
+  </target>
+
 </project>
index 9e67c39..697bdf7 100644 (file)
--- a/build.xml
+++ b/build.xml
@@ -24,6 +24,7 @@
     <ant dir="core" target="build"/>
     <ant dir="javame" target="build"/>
     <ant dir="javase" target="build"/>
+    <ant dir="android" target="build"/>
   </target>
 
   <target name="buildwithoutj2me">
@@ -35,6 +36,7 @@
     <ant dir="core" target="clean"/>
     <ant dir="javame" target="clean"/>
     <ant dir="javase" target="clean"/>
+    <ant dir="android" target="clean"/>
   </target>
 
   <target name="test">
@@ -49,6 +51,7 @@
         <include name="CHANGES"/>
         <include name="build.xml"/>
         <include name="build.properties"/>
+        <include name="android/**"/>
         <include name="core/**"/>
         <include name="javame/**"/>
         <include name="javase/**"/>
@@ -64,6 +67,7 @@
     <javadoc destdir="docs/javadoc"
              footer="&lt;script src=&quot;http://www.google-analytics.com/urchin.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;&lt;script type=&quot;text/javascript&quot;&gt;_uacct = &quot;UA-788492-5&quot;; urchinTracker();&lt;/script&gt;">
       <sourcepath>
+        <pathelement location="android/src"/>
         <pathelement location="core/src"/>
         <pathelement location="javame/src"/>
         <pathelement location="javase/src"/>
@@ -73,6 +77,7 @@
         <pathelement location="${WTK-home}/lib/midpapi20.jar"/>
         <pathelement location="${WTK-home}/lib/mmapi.jar"/>
         <pathelement location="${WTK-home}/lib/jsr234.jar"/>
+        <pathelement location="${android-home}/android.jar"/>
       </classpath>
     </javadoc>
   </target>