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

Side by Side Diff: chrome/android/testshell/java/chromium_testshell_apk.xml

Issue 10943014: Add support for the ChromiumTestShellTest APK. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 8 years, 3 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="ChromiumTestShell" default="debug" basedir="."> 7 <project name="ChromiumTestShell" default="debug" basedir=".">
8 <description> 8 <description>
9 Building ChromiumTestShell.apk 9 Building ChromiumTestShell.apk
10 </description> 10 </description>
11 <import file="../../../../build/android/ant/common.xml"/> 11 <import file="../../../../build/android/ant/common.xml"/>
12 12
13 <property-value name="target.abi" value="${APP_ABI}"/> 13 <property-value name="target.abi" value="${APP_ABI}"/>
14
15 <!-- Root directory for output -->
16 <property-location name="out.dir" location="${PRODUCT_DIR}/chromium_testshell" 14 <property-location name="out.dir" location="${PRODUCT_DIR}/chromium_testshell"
17 check-exists="false"/> 15 check-exists="false"/>
18 <property name="resource.absolute.dir" value="res"/> 16 <property name="resource.absolute.dir" value="${RESOURCE_DIR}"/>
19 <property name="gen.absolute.dir" value="${out.dir}/gen"/> 17 <property name="gen.absolute.dir" value="${out.dir}/gen"/>
20
21 <!-- Standard directory for chromium_*.jars -->
22 <property-value name="lib.java.dir" value="${PRODUCT_DIR}/lib.java"/>
23 <path id="native.libs.gdbserver"> 18 <path id="native.libs.gdbserver">
24 <fileset file="${android.gdbserver}"/> 19 <fileset file="${android.gdbserver}"/>
25 </path> 20 </path>
26 <!-- Specify directory for libchromiumtestshell.so so that it can be packaged by aapt -->
27 <property name="native.libs.absolute.dir" location="${out.dir}/libs"/> 21 <property name="native.libs.absolute.dir" location="${out.dir}/libs"/>
28 <!-- Specify assets dir, this allows both mmm and SDK builds to use same pak f iles. -->
29 <property-location name="asset.absolute.dir" location="${PRODUCT_DIR}/../asset s/chrome"/> 22 <property-location name="asset.absolute.dir" location="${PRODUCT_DIR}/../asset s/chrome"/>
30 23 <!-- Set the output directory for the final apk to the ${apks.dir}. -->
31 <property name="version.code" value="16"/> 24 <property-location name="out.final.file"
32 <property name="version.name" value="0.1 Developer Build"/> 25 location="${apks.dir}/${ant.project.name}-debug.apk"
26 check-exists="false"/>
33 27
34 <path id="out.dex.jar.input.ref"> 28 <path id="out.dex.jar.input.ref">
35 <pathelement location="${lib.java.dir}/chromium_base.jar"/> 29 <filelist files="${INPUT_JARS_PATHS}"/>
36 <pathelement location="${lib.java.dir}/chromium_content.jar"/>
37 <pathelement location="${lib.java.dir}/chromium_media.jar"/>
38 <pathelement location="${lib.java.dir}/chromium_net.jar"/>
39 <pathelement location="${lib.java.dir}/chromium_chrome.jar"/>
40 <pathelement location="${lib.java.dir}/chromium_web_contents_delegate_androi d.jar"/>
41 </path> 30 </path>
42 31
43 <!-- We expect PRODUCT_DIR to be set like the gyp var (e.g. $ROOT/out/Debug) - -> 32 <!-- We expect PRODUCT_DIR to be set like the gyp var (e.g. $ROOT/out/Debug) - ->
44 <fail message="PRODUCT_DIR env var not set?"> 33 <fail message="PRODUCT_DIR env var not set?">
45 <condition> 34 <condition>
46 <not> 35 <not>
47 <isset property="PRODUCT_DIR"/> 36 <isset property="PRODUCT_DIR"/>
48 </not> 37 </not>
49 </condition> 38 </condition>
50 </fail> 39 </fail>
(...skipping 21 matching lines...) Expand all
72 61
73 <!-- Classpath for javac --> 62 <!-- Classpath for javac -->
74 <path id="javac.custom.classpath"> 63 <path id="javac.custom.classpath">
75 <path refid="out.dex.jar.input.ref"/> 64 <path refid="out.dex.jar.input.ref"/>
76 </path> 65 </path>
77 66
78 <import file="../../../../build/android/ant/sdk-targets.xml"/> 67 <import file="../../../../build/android/ant/sdk-targets.xml"/>
79 <import file="${sdk.dir}/tools/ant/build.xml"/> 68 <import file="${sdk.dir}/tools/ant/build.xml"/>
80 </project> 69 </project>
81 70
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698