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