OLD | NEW |
1 <?xml version="1.0" encoding="UTF-8"?> | 1 <?xml version="1.0" encoding="UTF-8"?> |
2 <project name="SkiaAndroid" default="help"> | 2 <project name="HelloSkia" default="help"> |
3 | 3 |
4 <!-- The local.properties file is created and updated by the 'android' tool. | 4 <!-- The local.properties file is created and updated by the 'android' tool. |
5 It contains the path to the SDK. It should *NOT* be checked into | 5 It contains the path to the SDK. It should *NOT* be checked into |
6 Version Control Systems. --> | 6 Version Control Systems. --> |
7 <property file="local.properties" /> | 7 <property file="local.properties" /> |
8 | 8 |
| 9 <!-- The ant.properties file can be created by you. It is only edited by the |
| 10 'android' tool to add properties to it. |
| 11 This is the place to change some Ant specific build properties. |
| 12 Here are some properties you may want to change/update: |
| 13 |
| 14 source.dir |
| 15 The name of the source directory. Default is 'src'. |
| 16 out.dir |
| 17 The name of the output directory. Default is 'bin'. |
| 18 |
| 19 For other overridable properties, look at the beginning of the rules |
| 20 files in the SDK, at tools/ant/build.xml |
| 21 |
| 22 Properties related to the SDK location or the project target should |
| 23 be updated using the 'android' tool with the 'update' action. |
| 24 |
| 25 This file is an integral part of the build system for your |
| 26 application and should be checked into Version Control Systems. |
| 27 |
| 28 --> |
| 29 <property file="ant.properties" /> |
| 30 |
| 31 <!-- if sdk.dir was not set from one of the property file, then |
| 32 get it from the ANDROID_HOME env var. |
| 33 This must be done before we load project.properties since |
| 34 the proguard config can use sdk.dir --> |
| 35 <property environment="env" /> |
| 36 <condition property="sdk.dir" value="${env.ANDROID_HOME}"> |
| 37 <isset property="env.ANDROID_HOME" /> |
| 38 </condition> |
| 39 |
9 <!-- The project.properties file is created and updated by the 'android' | 40 <!-- The project.properties file is created and updated by the 'android' |
10 tool, as well as ADT. | 41 tool, as well as ADT. |
11 | 42 |
12 This contains project specific properties such as project target, and l
ibrary | 43 This contains project specific properties such as project target, and l
ibrary |
13 dependencies. Lower level build properties are stored in ant.properties | 44 dependencies. Lower level build properties are stored in ant.properties |
14 (or in .classpath for Eclipse projects). | 45 (or in .classpath for Eclipse projects). |
15 | 46 |
16 This file is an integral part of the build system for your | 47 This file is an integral part of the build system for your |
17 application and should be checked into Version Control Systems. --> | 48 application and should be checked into Version Control Systems. --> |
18 <loadproperties srcFile="project.properties" /> | 49 <loadproperties srcFile="project.properties" /> |
19 | 50 |
20 <!-- quick check on sdk.dir --> | 51 <!-- quick check on sdk.dir --> |
21 <fail | 52 <fail |
22 message="sdk.dir is missing. Make sure to generate local.properties
using 'android update project' or to inject it through an env var" | 53 message="sdk.dir is missing. Make sure to generate local.properties
using 'android update project' or to inject it through the ANDROID_HOME environm
ent variable." |
23 unless="sdk.dir" | 54 unless="sdk.dir" |
24 /> | 55 /> |
25 | 56 |
26 <!-- | 57 <!-- |
27 Import per project custom build rules if present at the root of the proj
ect. | 58 Import per project custom build rules if present at the root of the proj
ect. |
28 This is the place to put custom intermediary targets such as: | 59 This is the place to put custom intermediary targets such as: |
29 -pre-build | 60 -pre-build |
30 -pre-compile | 61 -pre-compile |
31 -post-compile (This is typically used for code obfuscation. | 62 -post-compile (This is typically used for code obfuscation. |
32 Compiled code location: ${out.classes.absolute.dir} | 63 Compiled code location: ${out.classes.absolute.dir} |
(...skipping 19 matching lines...) Expand all Loading... |
52 *********************** | 83 *********************** |
53 ****** IMPORTANT ****** | 84 ****** IMPORTANT ****** |
54 *********************** | 85 *********************** |
55 In all cases you must update the value of version-tag below to read 'cu
stom' instead of an integer, | 86 In all cases you must update the value of version-tag below to read 'cu
stom' instead of an integer, |
56 in order to avoid having your file be overridden by tools such as "andr
oid update project" | 87 in order to avoid having your file be overridden by tools such as "andr
oid update project" |
57 --> | 88 --> |
58 <!-- version-tag: 1 --> | 89 <!-- version-tag: 1 --> |
59 <import file="${sdk.dir}/tools/ant/build.xml" /> | 90 <import file="${sdk.dir}/tools/ant/build.xml" /> |
60 | 91 |
61 </project> | 92 </project> |
OLD | NEW |