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="ChromiumTestShellTest" default="debug" basedir="."> | 7 <project name="ChromiumTestShellTest" default="debug" basedir="."> |
8 | 8 |
9 <description> | 9 <description> |
10 Building ChromiumTestShellTest.apk | 10 Building ChromiumTestShellTest.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-location name="out.dir" location="${PRODUCT_DIR}/chromium_testshell_
test" | 16 <property-location name="out.dir" location="${PRODUCT_DIR}/chromium_testshell_
test" |
17 check-exists="false"/> | 17 check-exists="false"/> |
18 <property name="resource.absolute.dir" value="${RESOURCE_DIR}"/> | 18 <property name="resource.absolute.dir" value="${RESOURCE_DIR}"/> |
19 <property name="gen.absolute.dir" value="${out.dir}/gen"/> | 19 <property name="gen.absolute.dir" value="${out.dir}/gen"/> |
20 <property-location name="native.libs.absolute.dir" location="${out.dir}/libs" | 20 <property-location name="native.libs.absolute.dir" location="${out.dir}/libs" |
21 check-exists="false"/> | 21 check-exists="false"/> |
22 <property-location name="asset.absolute.dir" location="${out.dir}/assets" | 22 <property-location name="asset.absolute.dir" location="${out.dir}/assets" |
23 check-exists="false"/> | 23 check-exists="false"/> |
24 <!-- Set the output directory for the final apk to the ${apks.dir}. --> | 24 <!-- Set the output directory for the final apk to the ${apks.dir}. --> |
25 <property-location name="out.final.file" | 25 <property-location name="out.final.file" |
26 location="${apks.dir}/${ant.project.name}-debug.apk" | 26 location="${apks.dir}/${ant.project.name}-debug.apk" |
27 check-exists="false"/> | 27 check-exists="false"/> |
28 <property name="generate.test.jar" value="true"/> | 28 <property name="generate.test.jar" value="true"/> |
29 | 29 |
| 30 <path id="javac.custom.sourcepath"> |
| 31 <filelist files="${ADDITIONAL_SRC_DIRS}"/> |
| 32 <filelist files="${GENERATED_SRC_DIRS}"/> |
| 33 </path> |
| 34 |
30 <path id="out.dex.jar.input.ref"> | 35 <path id="out.dex.jar.input.ref"> |
31 <filelist files="${INPUT_JARS_PATHS}"/> | 36 <filelist files="${INPUT_JARS_PATHS}"/> |
32 </path> | 37 </path> |
33 | 38 |
34 <path id="javac.custom.sourcepath"> | |
35 <pathelement location="../../javatests/src" /> | |
36 </path> | |
37 | |
38 <!-- Classpath for javac --> | 39 <!-- Classpath for javac --> |
39 <path id="javac.custom.classpath"> | 40 <path id="javac.custom.classpath"> |
40 <path refid="out.dex.jar.input.ref"/> | 41 <path refid="out.dex.jar.input.ref"/> |
41 </path> | 42 </path> |
42 | 43 |
43 <import file="../../../../build/android/ant/sdk-targets.xml"/> | 44 <import file="../../../../build/android/ant/sdk-targets.xml"/> |
44 <import file="${sdk.dir}/tools/ant/build.xml" /> | 45 <import file="${sdk.dir}/tools/ant/build.xml" /> |
45 </project> | 46 </project> |
OLD | NEW |