OLD | NEW |
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 <import file="../../../../build/android/ant/common.xml"/> |
14 <property name="sdk.dir" location="${env.ANDROID_SDK_ROOT}"/> | 14 <import file="../../../../build/android/ant/sdk-targets.xml"/> |
15 <property name="toolchain.dir" location="${env.ANDROID_TOOLCHAIN}"/> | |
16 <property name="source.dir" location="src"/> | |
17 <property name="target" value="android-${env.ANDROID_SDK_VERSION}"/> | |
18 <property name="target.abi" value="${APP_ABI}"/> | 15 <property name="target.abi" value="${APP_ABI}"/> |
19 <property name="out.dir" location="${PRODUCT_DIR}/content_shell_test"/> | 16 <property name="out.dir" location="${PRODUCT_DIR}/content_shell_test"/> |
20 <property name="resource.absolute.dir" value="../res"/> | 17 <property name="resource.absolute.dir" value="../res"/> |
21 <property name="gen.absolute.dir" value="${out.dir}/gen"/> | 18 <property name="gen.absolute.dir" value="${out.dir}/gen"/> |
22 <path id="native.libs.gdbserver"> | 19 <path id="native.libs.gdbserver"> |
23 <fileset file="${toolchain.dir}/../../gdbserver"/> | 20 <fileset file="${toolchain.dir}/../../gdbserver"/> |
24 </path> | 21 </path> |
25 <property name="native.libs.absolute.dir" location="${out.dir}/libs" /> | 22 <property name="native.libs.absolute.dir" location="${out.dir}/libs" /> |
26 <property name="asset.absolute.dir" location="${out.dir}/assets" /> | 23 <property name="asset.absolute.dir" location="${out.dir}/assets" /> |
27 | 24 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 so that proguard can be used to list the tests by annotation. --> | 61 so that proguard can be used to list the tests by annotation. --> |
65 <jar destfile="${out.dir}/${ant.project.name}-debug.jar"> | 62 <jar destfile="${out.dir}/${ant.project.name}-debug.jar"> |
66 <fileset dir="${out.dir}/classes" includes="**/*.class"/> | 63 <fileset dir="${out.dir}/classes" includes="**/*.class"/> |
67 <zipfileset | 64 <zipfileset |
68 includes="**/*.class" | 65 includes="**/*.class" |
69 src="${PRODUCT_DIR}/content_shell_test/java/libs/chromium_content_javat
ests.jar"/> | 66 src="${PRODUCT_DIR}/content_shell_test/java/libs/chromium_content_javat
ests.jar"/> |
70 </jar> | 67 </jar> |
71 | 68 |
72 </target> | 69 </target> |
73 | 70 |
| 71 <!-- Classpath for javac --> |
| 72 <path id="javac.custom.classpath"> |
| 73 <path refid="out.dex.jar.input.ref"/> |
| 74 </path> |
74 <import file="${sdk.dir}/tools/ant/build.xml" /> | 75 <import file="${sdk.dir}/tools/ant/build.xml" /> |
75 | 76 |
76 </project> | 77 </project> |
OLD | NEW |