OLD | NEW |
1 <!-- | 1 <!-- |
2 Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 Copyright (c) 2012 The Chromium Authors. All rights reserved. |
3 Use of this source code is governed by a BSD-style license that can be | 3 Use of this source code is governed by a BSD-style license that can be |
4 found in the LICENSE file. | 4 found in the LICENSE file. |
5 --> | 5 --> |
6 <project default="debug"> | 6 <project default="error"> |
7 <property name="ant.project.name" value="${APK_NAME}"/> | 7 <property name="ant.project.name" value="${APK_NAME}"/> |
| 8 <!-- |
| 9 Gyp will pass CONFIGURATION_NAME as the target for ant to build. These targe
ts will call the |
| 10 appropriate sdk tools target. |
| 11 --> |
| 12 <target name="Debug" depends="debug"/> |
| 13 <target name="Release" depends="release"/> |
| 14 <target name="error"> |
| 15 <fail message="CONFIGURATION_NAME should be passed as a target to ant."/> |
| 16 </target> |
8 | 17 |
9 <description> | 18 <description> |
10 Building ${ant.project.name}.apk | 19 Building ${ant.project.name}.apk |
11 </description> | 20 </description> |
12 <import file="common.xml"/> | 21 <import file="common.xml"/> |
13 | 22 |
14 <property-location | 23 <property-location |
15 name="out.dir" | 24 name="out.dir" |
16 location="${PRODUCT_DIR}/${PACKAGE_NAME}" | 25 location="${PRODUCT_DIR}/${PACKAGE_NAME}" |
17 check-exists="false" | 26 check-exists="false" |
(...skipping 27 matching lines...) Expand all Loading... |
45 | 54 |
46 <!-- Classpath for javac --> | 55 <!-- Classpath for javac --> |
47 <path id="javac.custom.classpath"> | 56 <path id="javac.custom.classpath"> |
48 <path refid="out.dex.jar.input.ref"/> | 57 <path refid="out.dex.jar.input.ref"/> |
49 </path> | 58 </path> |
50 | 59 |
51 <import file="sdk-targets.xml"/> | 60 <import file="sdk-targets.xml"/> |
52 <import file="${sdk.dir}/tools/ant/build.xml"/> | 61 <import file="${sdk.dir}/tools/ant/build.xml"/> |
53 </project> | 62 </project> |
54 | 63 |
OLD | NEW |