OLD | NEW |
1 <?xml version="1.0" encoding="UTF-8"?> | 1 <?xml version="1.0" encoding="UTF-8"?> |
2 <!-- | 2 <!-- |
3 Copyright (C) 2005-2008 The Android Open Source Project | 3 Copyright (C) 2005-2008 The Android Open Source Project |
4 | 4 |
5 Licensed under the Apache License, Version 2.0 (the "License"); | 5 Licensed under the Apache License, Version 2.0 (the "License"); |
6 you may not use this file except in compliance with the License. | 6 you may not use this file except in compliance with the License. |
7 You may obtain a copy of the License at | 7 You may obtain a copy of the License at |
8 | 8 |
9 http://www.apache.org/licenses/LICENSE-2.0 | 9 http://www.apache.org/licenses/LICENSE-2.0 |
10 | 10 |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 <!-- SDK tools assume that out.packaged.file is signed and name it "...-unalig
ned" --> | 56 <!-- SDK tools assume that out.packaged.file is signed and name it "...-unalig
ned" --> |
57 <property name="out.packaged.file" value="${out.dir}/${APK_NAME}-unsigned.apk"
/> | 57 <property name="out.packaged.file" value="${out.dir}/${APK_NAME}-unsigned.apk"
/> |
58 <property name="out.unaligned.file" value="${out.dir}/${APK_NAME}-unaligned.ap
k" /> | 58 <property name="out.unaligned.file" value="${out.dir}/${APK_NAME}-unaligned.ap
k" /> |
59 | 59 |
60 <property name="resource.dir" value="${RESOURCE_DIR}"/> | 60 <property name="resource.dir" value="${RESOURCE_DIR}"/> |
61 <property name="resource.absolute.dir" location="${resource.dir}"/> | 61 <property name="resource.absolute.dir" location="${resource.dir}"/> |
62 | 62 |
63 <property name="asset.dir" value="${ASSET_DIR}" /> | 63 <property name="asset.dir" value="${ASSET_DIR}" /> |
64 <property name="asset.absolute.dir" location="${asset.dir}" /> | 64 <property name="asset.absolute.dir" location="${asset.dir}" /> |
65 | 65 |
66 <property name="native.libs.absolute.dir" location="${out.dir}/libs" /> | 66 <property name="native.libs.absolute.dir" location="${NATIVE_LIBS_DIR}" /> |
67 | 67 |
68 <property name="aapt" location="${android.platform.tools.dir}/aapt" /> | 68 <property name="aapt" location="${android.platform.tools.dir}/aapt" /> |
69 | 69 |
70 <target name="-crunch"> | 70 <target name="-crunch"> |
71 <!-- Updates the pre-processed PNG cache --> | 71 <!-- Updates the pre-processed PNG cache --> |
72 <exec executable="${aapt}" taskName="crunch"> | 72 <exec executable="${aapt}" taskName="crunch"> |
73 <arg value="crunch" /> | 73 <arg value="crunch" /> |
74 <arg value="-v" /> | 74 <arg value="-v" /> |
75 <arg value="-S" /> | 75 <arg value="-S" /> |
76 <arg path="${resource.absolute.dir}" /> | 76 <arg path="${resource.absolute.dir}" /> |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 | 192 |
193 <zipalign | 193 <zipalign |
194 executable="${zipalign}" | 194 executable="${zipalign}" |
195 input="${out.unaligned.file}" | 195 input="${out.unaligned.file}" |
196 output="${out.final.file}" | 196 output="${out.final.file}" |
197 verbose="${verbose}" /> | 197 verbose="${verbose}" /> |
198 <echo level="info">Release Package: ${out.final.file}</echo> | 198 <echo level="info">Release Package: ${out.final.file}</echo> |
199 </sequential> | 199 </sequential> |
200 </target> | 200 </target> |
201 </project> | 201 </project> |
OLD | NEW |