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

Side by Side Diff: content/public/android/javatests/content_javatests.xml

Issue 10818039: Upstream Android LongPressDetector (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed content/shell nits 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!-- Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 <!-- Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 2
3 Use of this source code is governed by a BSD-style license that can be 3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file. 4 found in the LICENSE file.
5 --> 5 -->
6 <project name="Content" default="dist" basedir="."> 6 <project name="ContentJavaTests" default="dist" basedir=".">
7 <description> 7 <description>
8 building content java source code with ant 8 building content-only instrumentation tests with ant
9 </description> 9 </description>
10 <!-- set global properties for this build --> 10 <!-- set global properties for this build -->
11 <property environment="env"/> 11 <property environment="env"/>
12 <property name="sdk.dir" location="${env.ANDROID_SDK_ROOT}"/> 12 <property name="sdk.dir" location="${env.ANDROID_SDK_ROOT}"/>
13 <property name="sdk.version" value="${env.ANDROID_SDK_VERSION}"/> 13 <property name="sdk.version" value="${env.ANDROID_SDK_VERSION}"/>
14 <property name="src" location="src"/> 14 <property name="src" location="src"/>
15 <property name="out.dir" location="${PRODUCT_DIR}/lib.java"/> 15 <property name="out.dir" location="${PRODUCT_DIR}/lib.java"/>
16 <property name="classes.dir" location="${PRODUCT_DIR}/java/${PACKAGE_NAME}"/> 16 <property name="classes.dir" location="${PRODUCT_DIR}/java/${PACKAGE_NAME}"/>
17 <property name="jar.dir" location="${out.dir}"/> 17 <property name="jar.dir" location="${out.dir}"/>
18 18
(...skipping 11 matching lines...) Expand all
30 </target> 30 </target>
31 31
32 <target name="compile" depends="init" 32 <target name="compile" depends="init"
33 description="compile the source " > 33 description="compile the source " >
34 <!-- Create the classes output directory --> 34 <!-- Create the classes output directory -->
35 <mkdir dir="${classes.dir}"/> 35 <mkdir dir="${classes.dir}"/>
36 36
37 <!-- Compile the java code from ${src} into ${classes.dir} --> 37 <!-- Compile the java code from ${src} into ${classes.dir} -->
38 <!-- Gyp target should have compiled aidl files into java source files in 38 <!-- Gyp target should have compiled aidl files into java source files in
39 lib.jar (see content.gyp:common_aidl). --> 39 lib.jar (see content.gyp:common_aidl). -->
40 <javac srcdir="${src}:${out.dir}" destdir="${classes.dir}" debug="true" incl udeantruntime="false"> 40 <javac srcdir="${src}" destdir="${classes.dir}" debug="true" includeantrunti me="false">
41 <classpath> 41 <classpath>
42 <pathelement path="${location.base}/android.jar" /> 42 <pathelement path="${location.base}/android.jar" />
43 <pathelement path="${jar.dir}/chromium_base.jar" /> 43 <pathelement path="${jar.dir}/chromium_base.jar" />
44 <pathelement path="${jar.dir}/chromium_net.jar" /> 44 <pathelement path="${jar.dir}/chromium_base_javatests.jar" />
45 <pathelement path="${jar.dir}/chromium_content.jar" />
45 </classpath> 46 </classpath>
46 </javac> 47 </javac>
47 </target> 48 </target>
48 49
49 <target name="dist" depends="compile" 50 <target name="dist" depends="compile"
50 description="generate the distribution" > 51 description="generate the distribution" >
51 <!-- Create the distribution directory --> 52 <!-- Create the distribution directory -->
52 <mkdir dir="${jar.dir}"/> 53 <mkdir dir="${jar.dir}"/>
53 54
54 <!-- Put everything in ${classes.dir} into the chromium_content.jar file --> 55 <!-- Put everything in ${classes.dir} into the chromium_content_tests.jar fi le -->
55 <jar jarfile="${jar.dir}/chromium_${PACKAGE_NAME}.jar" basedir="${classes.di r}"/> 56 <jar jarfile="${jar.dir}/chromium_${PACKAGE_NAME}.jar" basedir="${classes.di r}"/>
56 </target> 57 </target>
57 58
58 <target name="clean" description="clean up" > 59 <target name="clean" description="clean up" >
59 <!-- Delete the generated content --> 60 <!-- Delete the generated content -->
60 <delete dir="${classes.dir}"/> 61 <delete dir="${classes.dir}"/>
61 <delete file="${jar.dir}/chromium_${PACKAGE_NAME}.jar"/> 62 <delete file="${jar.dir}/chromium_${PACKAGE_NAME}.jar"/>
62 </target> 63 </target>
63 </project> 64 </project>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698