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

Side by Side Diff: android_webview/javatests/android_webview_test_apk.xml

Issue 10933055: Revert "Clean up android_webview build scripts" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « android_webview/java/android_webview_apk.xml ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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="AndroidWebViewTest" default="debug" basedir="."> 7 <project name="AndroidWebViewTest" default="debug" basedir=".">
8 8
9 <description> 9 <description>
10 Building AndroidWebViewTest.apk 10 Building AndroidWebViewTest.apk
11 </description> 11 </description>
12 12
13 <import file="../../build/android/ant/common.xml"/> 13 <import file="../../build/android/ant/common.xml"/>
14 14
15 <property name="target.abi" value="${APP_ABI}"/> 15 <property name="target.abi" value="${APP_ABI}"/>
16 <property name="out.dir" location="${PRODUCT_DIR}/android_webview_test"/> 16 <property name="out.dir" location="${PRODUCT_DIR}/android_webview_test"/>
17 <property name="resource.absolute.dir" value="../res"/> 17 <property name="resource.absolute.dir" value="../res"/>
18 <property name="gen.absolute.dir" value="${out.dir}/gen"/> 18 <property name="gen.absolute.dir" value="${out.dir}/gen"/>
19 <property name="native.libs.absolute.dir" location="${out.dir}/libs" /> 19 <property name="native.libs.absolute.dir" location="${out.dir}/libs" />
20 <property name="asset.absolute.dir" location="${out.dir}/assets" /> 20 <property name="asset.absolute.dir" location="${out.dir}/assets" />
21 21
22 <path id="out.dex.jar.input.ref"> 22 <path id="out.dex.jar.input.ref">
23 <filelist files="${INPUT_JARS_PATHS}"/> 23 <fileset dir="${PRODUCT_DIR}/android_webview_test/java/libs"/>
24 </path> 24 </path>
25 <property name="java.compilerargs" value="-classpath ${toString:out.dex.jar.in put.ref}"/> 25 <property name="java.compilerargs" value="-classpath ${toString:out.dex.jar.in put.ref}"/>
26 26
27 <!-- We expect PRODUCT_DIR to be set like the gyp var 27 <!-- We expect PRODUCT_DIR to be set like the gyp var
28 (e.g. $ROOT/out/Debug) --> 28 (e.g. $ROOT/out/Debug) -->
29 <fail message="PRODUCT_DIR env var not set?"> 29 <fail message="PRODUCT_DIR env var not set?">
30 <condition> 30 <condition>
31 <not> 31 <not>
32 <isset property="PRODUCT_DIR"/> 32 <isset property="PRODUCT_DIR"/>
33 </not> 33 </not>
34 </condition> 34 </condition>
35 </fail> 35 </fail>
36 36
37 <target name="-post-compile"> 37 <target name="-post-compile">
38 <!-- We also want a .jar as well as an .apk for AndroidWebViewTest-debug 38 <!-- We also want a .jar as well as an .apk for AndroidWebViewTest-debug
39 so that proguard can be used to list the tests by annotation. --> 39 so that proguard can be used to list the tests by annotation. -->
40 <jar destfile="${out.dir}/${ant.project.name}-debug.jar"> 40 <jar destfile="${out.dir}/${ant.project.name}-debug.jar">
41 <fileset dir="${out.dir}/classes" includes="**/*.class"/> 41 <fileset dir="${out.dir}/classes" includes="**/*.class"/>
42 <zipfileset 42 <zipfileset
43 includes="**/*.class" 43 includes="**/*.class"
44 src="${PRODUCT_DIR}/lib.java/chromium_android_webview_javatests.jar"/> 44 src="${PRODUCT_DIR}/android_webview/java/libs/chromium_android_webview_ javatests.jar"/>
45 </jar> 45 </jar>
46 46
47 </target> 47 </target>
48 48
49 <!-- Classpath for javac --> 49 <!-- Classpath for javac -->
50 <path id="javac.custom.classpath"> 50 <path id="javac.custom.classpath">
51 <path refid="out.dex.jar.input.ref"/> 51 <path refid="out.dex.jar.input.ref"/>
52 </path> 52 </path>
53 <import file="../../build/android/ant/sdk-targets.xml"/> 53 <import file="../../build/android/ant/sdk-targets.xml"/>
54 <import file="${sdk.dir}/tools/ant/build.xml" /> 54 <import file="${sdk.dir}/tools/ant/build.xml" />
55 55
56 </project> 56 </project>
OLDNEW
« no previous file with comments | « android_webview/java/android_webview_apk.xml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698