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 21 matching lines...) Expand all Loading... |
32 <pathelement path="${sdk.dir}/tools/lib/anttasks.jar" /> | 32 <pathelement path="${sdk.dir}/tools/lib/anttasks.jar" /> |
33 </path> | 33 </path> |
34 | 34 |
35 <!-- Custom tasks --> | 35 <!-- Custom tasks --> |
36 <taskdef resource="anttasks.properties" classpathref="android.antlibs" /> | 36 <taskdef resource="anttasks.properties" classpathref="android.antlibs" /> |
37 | 37 |
38 <condition property="build.target" value="release" else="debug"> | 38 <condition property="build.target" value="release" else="debug"> |
39 <equals arg1="${CONFIGURATION_NAME}" arg2="Release" /> | 39 <equals arg1="${CONFIGURATION_NAME}" arg2="Release" /> |
40 </condition> | 40 </condition> |
41 <condition property="build.is.packaging.debug" value="true" else="false"> | 41 <condition property="build.is.packaging.debug" value="true" else="false"> |
42 <equals arg1="build.target" arg2="debug" /> | 42 <equals arg1="${build.target}" arg2="debug" /> |
43 </condition> | 43 </condition> |
44 | 44 |
45 <property name="resource.dir" value="${RESOURCE_DIR}"/> | 45 <property name="resource.dir" value="${RESOURCE_DIR}"/> |
46 <property name="resource.absolute.dir" location="${resource.dir}"/> | 46 <property name="resource.absolute.dir" location="${resource.dir}"/> |
47 | 47 |
48 <property name="asset.dir" value="${ASSET_DIR}" /> | 48 <property name="asset.dir" value="${ASSET_DIR}" /> |
49 <property name="asset.absolute.dir" location="${asset.dir}" /> | 49 <property name="asset.absolute.dir" location="${asset.dir}" /> |
50 | 50 |
51 <property name="aapt" location="${android.platform.tools.dir}/aapt" /> | 51 <property name="aapt" location="${android.platform.tools.dir}/aapt" /> |
52 | 52 |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 ignoreAssets="${aapt.ignore.assets}"> | 124 ignoreAssets="${aapt.ignore.assets}"> |
125 <res path="${out.res.absolute.dir}" /> | 125 <res path="${out.res.absolute.dir}" /> |
126 <res path="${resource.absolute.dir}" /> | 126 <res path="${resource.absolute.dir}" /> |
127 <!-- <nocompress /> forces no compression on any files in assets or res/ra
w --> | 127 <!-- <nocompress /> forces no compression on any files in assets or res/ra
w --> |
128 <!-- <nocompress extension="xml" /> forces no compression on specific file
extensions in assets and res/raw --> | 128 <!-- <nocompress extension="xml" /> forces no compression on specific file
extensions in assets and res/raw --> |
129 </aapt> | 129 </aapt> |
130 | 130 |
131 <touch file="${STAMP}" /> | 131 <touch file="${STAMP}" /> |
132 </target> | 132 </target> |
133 </project> | 133 </project> |
OLD | NEW |