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="error"> | 6 <project default="error"> |
7 <property name="ant.project.name" value="${APK_NAME}"/> | 7 <property name="ant.project.name" value="${APK_NAME}"/> |
8 <!-- | 8 <!-- |
9 Gyp will pass CONFIGURATION_NAME as the target for ant to build. These targe
ts will call the | 9 Gyp will pass CONFIGURATION_NAME as the target for ant to build. These targe
ts will call the |
10 appropriate sdk tools target. | 10 appropriate sdk tools target. |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 <!-- TODO(shashishekhar): Enable emma and code-coverage filters. --> | 51 <!-- TODO(shashishekhar): Enable emma and code-coverage filters. --> |
52 | 52 |
53 <condition property="asset.absolute.dir" | 53 <condition property="asset.absolute.dir" |
54 value="${out.dir}/assets" | 54 value="${out.dir}/assets" |
55 else="${ASSET_DIR}"> | 55 else="${ASSET_DIR}"> |
56 <equals arg1="${ASSET_DIR}" arg2=""/> | 56 <equals arg1="${ASSET_DIR}" arg2=""/> |
57 </condition> | 57 </condition> |
58 | 58 |
59 <!-- Set the output directory for the final apk to the ${apks.dir}. --> | 59 <!-- Set the output directory for the final apk to the ${apks.dir}. --> |
60 <property-location name="out.final.file" | 60 <property-location name="out.final.file" |
61 location="${apks.dir}/${ant.project.name}-debug.apk" | 61 location="${apks.dir}/${ant.project.name}.apk" |
62 check-exists="false"/> | 62 check-exists="false"/> |
63 | 63 |
64 <!-- Classpath for javac --> | 64 <!-- Classpath for javac --> |
65 <path id="javac.custom.classpath"> | 65 <path id="javac.custom.classpath"> |
66 <filelist files="${INPUT_JARS_PATHS}"/> | 66 <filelist files="${INPUT_JARS_PATHS}"/> |
67 </path> | 67 </path> |
68 | 68 |
69 <path id="out.dex.jar.input.ref"> | 69 <path id="out.dex.jar.input.ref"> |
70 <path refid="javac.custom.classpath"/> | 70 <path refid="javac.custom.classpath"/> |
71 </path> | 71 </path> |
72 | 72 |
73 <import file="sdk-targets.xml"/> | 73 <import file="sdk-targets.xml"/> |
74 <import file="${sdk.dir}/tools/ant/build.xml"/> | 74 <import file="${sdk.dir}/tools/ant/build.xml"/> |
75 </project> | 75 </project> |
76 | 76 |
OLD | NEW |