Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2820)

Unified Diff: base/android/javatests/base_javatests.xml

Issue 10831227: Make jars build from a single ant .xml template (Closed) Base URL: http://git.chromium.org/chromium/src.git@ant_aidl
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: base/android/javatests/base_javatests.xml
diff --git a/base/android/javatests/base_javatests.xml b/base/android/javatests/base_javatests.xml
deleted file mode 100644
index ba16358df7f0c2151806e852cae9cb5b4ef29ec1..0000000000000000000000000000000000000000
--- 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>
« no previous file with comments | « base/android/java/base.xml ('k') | build/android/ant/chromium-jars.xml » ('j') | build/java.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698