| 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 28 matching lines...) Expand all Loading... |
| 39 <!-- Custom tasks --> | 39 <!-- Custom tasks --> |
| 40 <taskdef resource="anttasks.properties" classpathref="android.antlibs" /> | 40 <taskdef resource="anttasks.properties" classpathref="android.antlibs" /> |
| 41 | 41 |
| 42 <condition property="build.target" value="release" else="debug"> | 42 <condition property="build.target" value="release" else="debug"> |
| 43 <equals arg1="${CONFIGURATION_NAME}" arg2="Release" /> | 43 <equals arg1="${CONFIGURATION_NAME}" arg2="Release" /> |
| 44 </condition> | 44 </condition> |
| 45 <condition property="build.is.packaging.debug" value="true" else="false"> | 45 <condition property="build.is.packaging.debug" value="true" else="false"> |
| 46 <equals arg1="build.target" arg2="debug" /> | 46 <equals arg1="build.target" arg2="debug" /> |
| 47 </condition> | 47 </condition> |
| 48 | 48 |
| 49 | 49 <property name="out.final.file" location="${FINAL_APK_PATH}" /> |
| 50 <!-- Set the output directory for the final apk to the ${apks.dir}. --> | |
| 51 <property name="out.final.file" location="${APKS_DIR}/${APK_NAME}.apk" /> | |
| 52 | 50 |
| 53 <!-- Disables automatic signing. --> | 51 <!-- Disables automatic signing. --> |
| 54 <property name="build.is.signing.debug" value="false"/> | 52 <property name="build.is.signing.debug" value="false"/> |
| 55 | 53 |
| 56 <!-- SDK tools assume that out.packaged.file is signed and name it "...-unalig
ned" --> | 54 <!-- 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"
/> | 55 <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" /> | 56 <property name="out.unaligned.file" value="${out.dir}/${APK_NAME}-unaligned.ap
k" /> |
| 59 | 57 |
| 60 <property name="resource.dir" value="${RESOURCE_DIR}"/> | 58 <property name="resource.dir" value="${RESOURCE_DIR}"/> |
| 61 <property name="resource.absolute.dir" location="${resource.dir}"/> | 59 <property name="resource.absolute.dir" location="${resource.dir}"/> |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 | 190 |
| 193 <zipalign | 191 <zipalign |
| 194 executable="${zipalign}" | 192 executable="${zipalign}" |
| 195 input="${out.unaligned.file}" | 193 input="${out.unaligned.file}" |
| 196 output="${out.final.file}" | 194 output="${out.final.file}" |
| 197 verbose="${verbose}" /> | 195 verbose="${verbose}" /> |
| 198 <echo level="info">Release Package: ${out.final.file}</echo> | 196 <echo level="info">Release Package: ${out.final.file}</echo> |
| 199 </sequential> | 197 </sequential> |
| 200 </target> | 198 </target> |
| 201 </project> | 199 </project> |
| OLD | NEW |