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

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

Issue 10700167: Adds ContentShellTest.apk and very simple test. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
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
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="ContentShell" default="debug" basedir="."> 7 <project name="ContentShellTest" default="debug" basedir=".">
8 8
9 <description> 9 <description>
10 Building ContentShell.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"/> 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 file="${out.dir}/java/libs/chromium_content.jar"/> 29 <fileset dir="${PRODUCT_DIR}/content_shell/java/libs"/>
30 <fileset file="${out.dir}/java/libs/chromium_net.jar"/> 30 <pathelement location="${PRODUCT_DIR}/content_shell/classes"/>
31 <fileset file="${out.dir}/java/libs/chromium_base.jar"/>
32 <fileset file="${out.dir}/java/libs/chromium_media.jar"/>
33 </path> 31 </path>
34 <property name="java.compilerargs" value="-classpath ${toString:out.dex.jar.in put.ref}"/> 32 <property name="java.compilerargs" value="-classpath ${toString:out.dex.jar.in put.ref}"/>
35 33
36 <!-- We expect PRODUCT_DIR to be set like the gyp var 34 <!-- We expect PRODUCT_DIR to be set like the gyp var
37 (e.g. $ROOT/out/Debug) --> 35 (e.g. $ROOT/out/Debug) -->
38 <!-- TODO(satish): ideally we need this to run before -build-setup, where 36 <!-- TODO(satish): ideally we need this to run before -build-setup, where
39 directories are made based on this variable. --> 37 directories are made based on this variable. -->
40 <target name="-pre-build"> 38 <target name="-pre-build">
41 <if> 39 <if>
42 <condition> 40 <condition>
(...skipping 20 matching lines...) Expand all
63 <copy todir="${out.dir}/libs/${target.abi}"> 61 <copy todir="${out.dir}/libs/${target.abi}">
64 <path refid="native.libs.gdbserver"/> 62 <path refid="native.libs.gdbserver"/>
65 </copy> 63 </copy>
66 </then> 64 </then>
67 </if> 65 </if>
68 </target> 66 </target>
69 67
70 <import file="${sdk.dir}/tools/ant/build.xml" /> 68 <import file="${sdk.dir}/tools/ant/build.xml" />
71 69
72 </project> 70 </project>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698