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

Side by Side Diff: content/shell/android/javatests/content_shell_test_apk.xml

Issue 10690190: Upstream GestureDetectorProxyTest (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 <?xml version="1.0" encoding="UTF-8"?> 1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- 2 <!--
3 Copyright (c) 2012 The Chromium Authors. All rights reserved. 3 Copyright (c) 2012 The Chromium Authors. All rights reserved.
4 Use of this source code is governed by a BSD-style license that can be 4 Use of this source code is governed by a BSD-style license that can be
5 found in the LICENSE file. 5 found in the LICENSE file.
6 --> 6 -->
7 <project name="ContentShellTest" default="debug" basedir="."> 7 <project name="ContentShellTest" default="debug" basedir=".">
8 8
9 <description> 9 <description>
10 Building ContentShellTest.apk 10 Building ContentShellTest.apk
11 </description> 11 </description>
12 12
13 <property environment="env"/> 13 <property environment="env"/>
14 <property name="sdk.dir" location="${env.ANDROID_SDK_ROOT}"/> 14 <property name="sdk.dir" location="${env.ANDROID_SDK_ROOT}"/>
15 <property name="toolchain.dir" location="${env.ANDROID_TOOLCHAIN}"/> 15 <property name="toolchain.dir" location="${env.ANDROID_TOOLCHAIN}"/>
16 <property name="source.dir" location="src"/> 16 <property name="source.dir" location="src"/>
17 <property name="target" value="android-${env.ANDROID_SDK_VERSION}"/> 17 <property name="target" value="android-${env.ANDROID_SDK_VERSION}"/>
18 <property name="target.abi" value="${APP_ABI}"/> 18 <property name="target.abi" value="${APP_ABI}"/>
19 <property name="out.dir" location="${PRODUCT_DIR}/content_shell_test"/> 19 <property name="out.dir" location="${PRODUCT_DIR}/content_shell_test"/>
20 <property name="resource.absolute.dir" value="../res"/> 20 <property name="resource.absolute.dir" value="../res"/>
21 <property name="gen.absolute.dir" value="${out.dir}/gen"/> 21 <property name="gen.absolute.dir" value="${out.dir}/gen"/>
22 <path id="native.libs.gdbserver"> 22 <path id="native.libs.gdbserver">
23 <fileset file="${toolchain.dir}/../../gdbserver"/> 23 <fileset file="${toolchain.dir}/../../gdbserver"/>
24 </path> 24 </path>
25 <property name="native.libs.absolute.dir" location="${out.dir}/libs" /> 25 <property name="native.libs.absolute.dir" location="${out.dir}/libs" />
26 <property name="asset.absolute.dir" location="${out.dir}/assets" /> 26 <property name="asset.absolute.dir" location="${out.dir}/assets" />
27 27
28 <path id="out.dex.jar.input.ref"> 28 <path id="out.dex.jar.input.ref">
29 <fileset dir="${PRODUCT_DIR}/content_shell/java/libs"/> 29 <fileset dir="${PRODUCT_DIR}/content_shell/java/libs"/>
30 <fileset dir="${PRODUCT_DIR}/content_shell_test/java/libs"/>
30 <pathelement location="${PRODUCT_DIR}/content_shell/classes"/> 31 <pathelement location="${PRODUCT_DIR}/content_shell/classes"/>
31 </path> 32 </path>
32 <property name="java.compilerargs" value="-classpath ${toString:out.dex.jar.in put.ref}"/> 33 <property name="java.compilerargs" value="-classpath ${toString:out.dex.jar.in put.ref}"/>
33 34
34 <!-- We expect PRODUCT_DIR to be set like the gyp var 35 <!-- We expect PRODUCT_DIR to be set like the gyp var
35 (e.g. $ROOT/out/Debug) --> 36 (e.g. $ROOT/out/Debug) -->
36 <!-- TODO(satish): ideally we need this to run before -build-setup, where 37 <!-- TODO(satish): ideally we need this to run before -build-setup, where
37 directories are made based on this variable. --> 38 directories are made based on this variable. -->
38 <target name="-pre-build"> 39 <target name="-pre-build">
39 <if> 40 <if>
(...skipping 16 matching lines...) Expand all
56 <condition> 57 <condition>
57 <equals arg1="${build.target}" arg2="debug" /> 58 <equals arg1="${build.target}" arg2="debug" />
58 </condition> 59 </condition>
59 <then> 60 <then>
60 <echo message="Copying gdbserver to the apk to enable native debugging"/ > 61 <echo message="Copying gdbserver to the apk to enable native debugging"/ >
61 <copy todir="${out.dir}/libs/${target.abi}"> 62 <copy todir="${out.dir}/libs/${target.abi}">
62 <path refid="native.libs.gdbserver"/> 63 <path refid="native.libs.gdbserver"/>
63 </copy> 64 </copy>
64 </then> 65 </then>
65 </if> 66 </if>
67
68 <!-- We also want a .jar as well as an .apk for so that proguard can
69 be used to list the tests by annotation. -->
70 <jar destfile="${out.dir}/${ant.project.name}-debug.jar">
71 <fileset dir="${out.dir}/classes" includes="**/*.class"/>
72 <zipfileset
73 includes="**/*.class"
74 src="${PRODUCT_DIR}/content_shell_test/java/libs/chromium_content_javat ests.jar"/>
75 </jar>
76
66 </target> 77 </target>
67 78
68 <import file="${sdk.dir}/tools/ant/build.xml" /> 79 <import file="${sdk.dir}/tools/ant/build.xml" />
69 80
70 </project> 81 </project>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698