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="AndroidWebView" default="debug" basedir="."> | 7 <project name="AndroidWebView" default="debug" basedir="."> |
8 <description> | 8 <description> |
9 Building AndroidWebView.apk | 9 Building AndroidWebView.apk |
10 </description> | 10 </description> |
(...skipping 15 matching lines...) Expand all Loading... |
26 <path id="native.libs.gdbserver"> | 26 <path id="native.libs.gdbserver"> |
27 <fileset file="${android.gdbserver}"/> | 27 <fileset file="${android.gdbserver}"/> |
28 </path> | 28 </path> |
29 <property name="native.libs.absolute.dir" location="${out.dir}/libs"/> | 29 <property name="native.libs.absolute.dir" location="${out.dir}/libs"/> |
30 <property name="asset.absolute.dir" location="${out.dir}/assets"/> | 30 <property name="asset.absolute.dir" location="${out.dir}/assets"/> |
31 <!-- Set the output directory for the final apk to the ${apks.dir}. --> | 31 <!-- Set the output directory for the final apk to the ${apks.dir}. --> |
32 <property-location name="out.final.file" | 32 <property-location name="out.final.file" |
33 location="${apks.dir}/${ant.project.name}-debug.apk" | 33 location="${apks.dir}/${ant.project.name}-debug.apk" |
34 check-exists="false"/> | 34 check-exists="false"/> |
35 | 35 |
| 36 <path id="javac.srcdirs.additional"> |
| 37 <filelist files="${ADDITIONAL_SRC_DIRS}"/> |
| 38 <filelist files="${GENERATED_SRC_DIRS}"/> |
| 39 </path> |
| 40 |
36 <path id="out.dex.jar.input.ref"> | 41 <path id="out.dex.jar.input.ref"> |
37 <filelist files="${INPUT_JARS_PATHS}"/> | 42 <filelist files="${INPUT_JARS_PATHS}"/> |
38 </path> | 43 </path> |
39 <echo>resources: ${RESOURCE_DIR} classpath: ${toString:out.dex.jar.input.ref}<
/echo> | 44 <echo>resources: ${RESOURCE_DIR} classpath: ${toString:out.dex.jar.input.ref}<
/echo> |
40 <target name="-post-compile"> | 45 <target name="-post-compile"> |
41 <!-- | 46 <!-- |
42 Copy gdbserver to main libs directory if building debug. | 47 Copy gdbserver to main libs directory if building debug. |
43 TODO(jrg): for now, Chrome on Android always builds native code | 48 TODO(jrg): for now, Chrome on Android always builds native code |
44 as Release and java/ant as Debug, which means we always install | 49 as Release and java/ant as Debug, which means we always install |
45 gdbserver. Resolve this discrepancy, possibly by making this | 50 gdbserver. Resolve this discrepancy, possibly by making this |
(...skipping 13 matching lines...) Expand all Loading... |
59 </target> | 64 </target> |
60 | 65 |
61 <!-- Classpath for javac --> | 66 <!-- Classpath for javac --> |
62 <path id="javac.custom.classpath"> | 67 <path id="javac.custom.classpath"> |
63 <path refid="out.dex.jar.input.ref"/> | 68 <path refid="out.dex.jar.input.ref"/> |
64 </path> | 69 </path> |
65 | 70 |
66 <import file="../../build/android/ant/sdk-targets.xml"/> | 71 <import file="../../build/android/ant/sdk-targets.xml"/> |
67 <import file="${sdk.dir}/tools/ant/build.xml"/> | 72 <import file="${sdk.dir}/tools/ant/build.xml"/> |
68 </project> | 73 </project> |
OLD | NEW |