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 <property-value name="target.abi" value="${APP_ABI}"/> | 13 <property-value name="target.abi" value="${APP_ABI}"/> |
14 <property-location name="out.dir" location="${PRODUCT_DIR}/content_shell" | 14 <property-location name="out.dir" location="${PRODUCT_DIR}/content_shell" |
15 check-exists="false"/> | 15 check-exists="false"/> |
16 <property name="resource.absolute.dir" value="../res"/> | 16 <property name="resource.absolute.dir" value="../res"/> |
17 <property name="gen.absolute.dir" value="${out.dir}/gen"/> | 17 <property name="gen.absolute.dir" value="${out.dir}/gen"/> |
18 <property name="jar.libs.dir" value="${out.dir}/java/libs"/> | 18 <property name="jar.libs.dir" value="${out.dir}/java/libs"/> |
19 <path id="native.libs.gdbserver"> | 19 <path id="native.libs.gdbserver"> |
20 <fileset file="${toolchain.dir}/../../gdbserver"/> | 20 <fileset file="${toolchain.dir}/../../../../../prebuilt/android-${ndk.target .arch}/gdbserver/gdbserver"/> |
Yaron
2012/08/22 22:51:35
Actually I don't think you can do this in one chan
Peter Beverloo
2012/08/23 10:45:48
We can pass defines/properties to ant without thin
michaelbai
2012/08/23 22:53:00
I agreed and will file a bug for refactoring this
| |
21 </path> | 21 </path> |
22 <property name="native.libs.absolute.dir" location="${out.dir}/libs"/> | 22 <property name="native.libs.absolute.dir" location="${out.dir}/libs"/> |
23 <property name="asset.absolute.dir" location="${out.dir}/assets"/> | 23 <property name="asset.absolute.dir" location="${out.dir}/assets"/> |
24 | 24 |
25 <path id="out.dex.jar.input.ref"> | 25 <path id="out.dex.jar.input.ref"> |
26 <fileset file="${out.dir}/java/libs/chromium_content.jar"/> | 26 <fileset file="${out.dir}/java/libs/chromium_content.jar"/> |
27 <fileset file="${out.dir}/java/libs/chromium_net.jar"/> | 27 <fileset file="${out.dir}/java/libs/chromium_net.jar"/> |
28 <fileset file="${out.dir}/java/libs/chromium_base.jar"/> | 28 <fileset file="${out.dir}/java/libs/chromium_base.jar"/> |
29 <fileset file="${out.dir}/java/libs/chromium_media.jar"/> | 29 <fileset file="${out.dir}/java/libs/chromium_media.jar"/> |
30 </path> | 30 </path> |
(...skipping 28 matching lines...) Expand all Loading... | |
59 </then> | 59 </then> |
60 </if> | 60 </if> |
61 </target> | 61 </target> |
62 | 62 |
63 <!-- Classpath for javac --> | 63 <!-- Classpath for javac --> |
64 <path id="javac.custom.classpath"> | 64 <path id="javac.custom.classpath"> |
65 <path refid="out.dex.jar.input.ref"/> | 65 <path refid="out.dex.jar.input.ref"/> |
66 </path> | 66 </path> |
67 <import file="${sdk.dir}/tools/ant/build.xml"/> | 67 <import file="${sdk.dir}/tools/ant/build.xml"/> |
68 </project> | 68 </project> |
OLD | NEW |