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 11 matching lines...) Expand all Loading... |
22 <property name="out.absolute.dir" location="${out.dir}" /> | 22 <property name="out.absolute.dir" location="${out.dir}" /> |
23 <property name="out.res.absolute.dir" location="${out.dir}/res" /> | 23 <property name="out.res.absolute.dir" location="${out.dir}/res" /> |
24 <property name="out.manifest.abs.file" location="${out.dir}/AndroidManifest.xm
l" /> | 24 <property name="out.manifest.abs.file" location="${out.dir}/AndroidManifest.xm
l" /> |
25 <property name="gen.absolute.dir" value="${out.dir}/gen"/> | 25 <property name="gen.absolute.dir" value="${out.dir}/gen"/> |
26 | 26 |
27 <!-- tools location --> | 27 <!-- tools location --> |
28 <property name="sdk.dir" location="${ANDROID_SDK_ROOT}"/> | 28 <property name="sdk.dir" location="${ANDROID_SDK_ROOT}"/> |
29 <property name="target" value="android-${ANDROID_SDK_VERSION}"/> | 29 <property name="target" value="android-${ANDROID_SDK_VERSION}"/> |
30 <property name="android.tools.dir" location="${sdk.dir}/tools" /> | 30 <property name="android.tools.dir" location="${sdk.dir}/tools" /> |
31 <property name="android.platform.tools.dir" location="${sdk.dir}/platform-tool
s" /> | 31 <property name="android.platform.tools.dir" location="${sdk.dir}/platform-tool
s" /> |
32 <property name="aapt" location="${android.platform.tools.dir}/aapt" /> | 32 <property name="android.sdk.build.tools.dir" location="${ANDROID_SDK_BUILD_TOO
LS}" /> |
| 33 <property name="aapt" location="${android.sdk.build.tools.dir}/aapt" /> |
33 <property name="project.target.android.jar" location="${ANDROID_SDK_JAR}" /> | 34 <property name="project.target.android.jar" location="${ANDROID_SDK_JAR}" /> |
34 | 35 |
35 <!-- jar file from where the tasks are loaded --> | 36 <!-- jar file from where the tasks are loaded --> |
36 <path id="android.antlibs"> | 37 <path id="android.antlibs"> |
37 <pathelement path="${sdk.dir}/tools/lib/anttasks.jar" /> | 38 <pathelement path="${sdk.dir}/tools/lib/ant-tasks.jar" /> |
38 </path> | 39 </path> |
39 | 40 |
40 <!-- Custom tasks --> | 41 <!-- Custom tasks --> |
41 <taskdef resource="anttasks.properties" classpathref="android.antlibs" /> | 42 <taskdef resource="anttasks.properties" classpathref="android.antlibs" /> |
42 | 43 |
43 <!-- | 44 <!-- |
44 Include additional resource folders in the apk, e.g. content/.../res. We | 45 Include additional resource folders in the apk, e.g. content/.../res. We |
45 list the res folders in project.library.res.folder.path and the | 46 list the res folders in project.library.res.folder.path and the |
46 corresponding java packages in project.library.packages, which must be | 47 corresponding java packages in project.library.packages, which must be |
47 semicolon-delimited while ADDITIONAL_RES_PACKAGES is space-delimited, hence | 48 semicolon-delimited while ADDITIONAL_RES_PACKAGES is space-delimited, hence |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 ignoreAssets="${aapt.ignore.assets}" | 108 ignoreAssets="${aapt.ignore.assets}" |
108 binFolder="${out.absolute.dir}" | 109 binFolder="${out.absolute.dir}" |
109 proguardFile="${out.absolute.dir}/proguard.txt"> | 110 proguardFile="${out.absolute.dir}/proguard.txt"> |
110 <res path="${out.res.absolute.dir}" /> | 111 <res path="${out.res.absolute.dir}" /> |
111 <res path="${resource.absolute.dir}" /> | 112 <res path="${resource.absolute.dir}" /> |
112 </aapt> | 113 </aapt> |
113 | 114 |
114 <touch file="${STAMP}" /> | 115 <touch file="${STAMP}" /> |
115 </target> | 116 </target> |
116 </project> | 117 </project> |
OLD | NEW |