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="ContentShell" default="debug" basedir="."> | 7 <project name="ContentShell" default="debug" basedir="."> |
8 <description> | 8 <description> |
9 Building ContentShell.apk | 9 Building ContentShell.apk |
10 </description> | 10 </description> |
11 <import file="../../../../build/android/ant/common.xml"/> | 11 <import file="../../../../build/android/ant/common.xml"/> |
12 <import file="../../../../build/android/ant/sdk-targets.xml"/> | 12 <import file="../../../../build/android/ant/sdk-targets.xml"/> |
13 | 13 |
14 <!-- Convert the buildtype to lowercase. E.g Debug -> debug, Release -> releas
e. --> | 14 <!-- Convert the buildtype to lowercase. E.g Debug -> debug, Release -> releas
e. --> |
15 <script language="javascript"> | 15 <script language="javascript"> |
16 project.setProperty("configuration.name", | 16 project.setProperty("configuration.name", |
17 project.getProperty("CONFIGURATION_NAME").toLowerCase()) | 17 project.getProperty("CONFIGURATION_NAME").toLowerCase()) |
18 </script> | 18 </script> |
19 <property-value name="target.abi" value="${APP_ABI}"/> | 19 <property-value name="target.abi" value="${APP_ABI}"/> |
20 <property-location name="out.dir" location="${PRODUCT_DIR}/content_shell" | 20 <property-location name="out.dir" location="${PRODUCT_DIR}/content_shell" |
21 check-exists="false"/> | 21 check-exists="false"/> |
22 <property name="resource.absolute.dir" value="../res"/> | 22 <property name="resource.absolute.dir" value="../res"/> |
23 <property name="gen.absolute.dir" value="${out.dir}/gen"/> | 23 <property name="gen.absolute.dir" value="${out.dir}/gen"/> |
24 <property name="jar.libs.dir" value="${out.dir}/java/libs"/> | 24 <property name="jar.libs.dir" value="${out.dir}/java/libs"/> |
25 <path id="native.libs.gdbserver"> | 25 <path id="native.libs.gdbserver"> |
26 <fileset file="${toolchain.dir}/../../gdbserver"/> | 26 <fileset file="${android.gdbserver}"/> |
27 </path> | 27 </path> |
28 <property name="native.libs.absolute.dir" location="${out.dir}/libs"/> | 28 <property name="native.libs.absolute.dir" location="${out.dir}/libs"/> |
29 <property name="asset.absolute.dir" location="${out.dir}/assets"/> | 29 <property name="asset.absolute.dir" location="${out.dir}/assets"/> |
30 | 30 |
31 <path id="out.dex.jar.input.ref"> | 31 <path id="out.dex.jar.input.ref"> |
32 <fileset file="${out.dir}/java/libs/chromium_content.jar"/> | 32 <fileset file="${out.dir}/java/libs/chromium_content.jar"/> |
33 <fileset file="${out.dir}/java/libs/chromium_net.jar"/> | 33 <fileset file="${out.dir}/java/libs/chromium_net.jar"/> |
34 <fileset file="${out.dir}/java/libs/chromium_base.jar"/> | 34 <fileset file="${out.dir}/java/libs/chromium_base.jar"/> |
35 <fileset file="${out.dir}/java/libs/chromium_media.jar"/> | 35 <fileset file="${out.dir}/java/libs/chromium_media.jar"/> |
36 </path> | 36 </path> |
(...skipping 28 matching lines...) Expand all Loading... |
65 </then> | 65 </then> |
66 </if> | 66 </if> |
67 </target> | 67 </target> |
68 | 68 |
69 <!-- Classpath for javac --> | 69 <!-- Classpath for javac --> |
70 <path id="javac.custom.classpath"> | 70 <path id="javac.custom.classpath"> |
71 <path refid="out.dex.jar.input.ref"/> | 71 <path refid="out.dex.jar.input.ref"/> |
72 </path> | 72 </path> |
73 <import file="${sdk.dir}/tools/ant/build.xml"/> | 73 <import file="${sdk.dir}/tools/ant/build.xml"/> |
74 </project> | 74 </project> |
OLD | NEW |