summaryrefslogtreecommitdiffstats
path: root/base/android/javatests
diff options
context:
space:
mode:
authorcjhopman@chromium.org <cjhopman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-13 20:17:24 +0000
committercjhopman@chromium.org <cjhopman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-13 20:17:24 +0000
commit1d1ebf4802b8b425659d7a853e8a8453adce0c05 (patch)
tree5a471f95fcbc8b06dc4caa2bd1609de5422d43dc /base/android/javatests
parentd6fb791f82043564d3e617a21fb8b92dcd70197d (diff)
downloadchromium_src-1d1ebf4802b8b425659d7a853e8a8453adce0c05.zip
chromium_src-1d1ebf4802b8b425659d7a853e8a8453adce0c05.tar.gz
chromium_src-1d1ebf4802b8b425659d7a853e8a8453adce0c05.tar.bz2
Make jars build from a single ant .xml template
The ant build files for each of the jars that we create consisted of only fairly straightforward boilerplate. With the recent changes to java.gypi and java_aidl.gypi we can now build these correctly from a single .xml with GYP passing in defines for the minor differences. BUG=136756 Review URL: https://chromiumcodereview.appspot.com/10831227 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151334 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/android/javatests')
-rw-r--r--base/android/javatests/base_javatests.xml52
1 files changed, 0 insertions, 52 deletions
diff --git a/base/android/javatests/base_javatests.xml b/base/android/javatests/base_javatests.xml
deleted file mode 100644
index ba16358..0000000
--- a/base/android/javatests/base_javatests.xml
+++ /dev/null
@@ -1,52 +0,0 @@
-<project name="BaseJavaTests" default="dist" basedir=".">
- <description>
- building base java tests source code with ant
- </description>
- <!-- Set global properties for this build -->
- <property name="src" location="src"/>
- <property name="dist" location="dist"/>
- <property name="out.dir" location="${PRODUCT_DIR}/lib.java"/>
- <!-- TODO(jrg): establish a standard for the intermediate java
- directories. Settle on a standard once ant/jar build files
- like this are androidified -->
- <property name="dest.dir" location="${PRODUCT_DIR}/java/base_javatests"/>
-
- <target name="init">
- <!-- Create the time stamp -->
- <tstamp/>
- <!-- Create the build directory structure used by compile -->
- <mkdir dir="${out.dir}"/>
- <mkdir dir="${dest.dir}"/>
- </target>
-
- <target name="compile" depends="init"
- description="compile the source " >
- <!-- Compile the java code from ${src} into ${build} -->
- <!-- TODO(jrg): adapting this to a proper android antfile will
- remove warnings like this:
- base.xml:23: warning: 'includeantruntime' was not set,
- defaulting to build.sysclasspath=last;
- set to false for repeatable builds
- -->
- <javac srcdir="${src}" destdir="${dest.dir}" debug="true" includeantruntime="false">
- <classpath>
- <path location="${ANDROID_SDK}/android.jar"/>
- </classpath>
- </javac>
- </target>
-
- <target name="dist" depends="compile"
- description="generate the distribution" >
- <!-- Create the distribution directory -->
- <mkdir dir="${out.dir}"/>
-
- <jar jarfile="${out.dir}/chromium_base_javatests.jar" basedir="${dest.dir}"/>
- </target>
-
- <target name="clean"
- description="clean up" >
- <!-- Delete the appropriate directory trees -->
- <delete dir="${dest.dir}"/>
- <delete dir="${dist}"/>
- </target>
-</project>