summaryrefslogtreecommitdiffstats
path: root/tools/scripts
diff options
context:
space:
mode:
authorXavier Ducrohet <xav@android.com>2009-08-07 10:40:24 -0700
committerXavier Ducrohet <xav@android.com>2009-08-07 10:43:47 -0700
commit74dca0efdcf15d0d59c3d8e4da0c51acc5437757 (patch)
tree3a576ac6bbdde76c86b2afbfe678d57be22d0988 /tools/scripts
parent36e0ac795e9ec37323e25e0acf04b3090fe4c266 (diff)
downloadandroid_development-74dca0efdcf15d0d59c3d8e4da0c51acc5437757.tar.gz
android_development-74dca0efdcf15d0d59c3d8e4da0c51acc5437757.tar.bz2
android_development-74dca0efdcf15d0d59c3d8e4da0c51acc5437757.zip
Improve the comments in build.xml to help people customize their build.
Diffstat (limited to 'tools/scripts')
-rw-r--r--tools/scripts/build.template15
1 files changed, 10 insertions, 5 deletions
diff --git a/tools/scripts/build.template b/tools/scripts/build.template
index 7939e6c63..1ed385345 100644
--- a/tools/scripts/build.template
+++ b/tools/scripts/build.template
@@ -49,13 +49,18 @@
classpathref="android.antlibs"/>
<!-- Execute the Android Setup task that will setup some properties specific to the target,
- and import the rules files.
- To customize the rules, copy/paste them below the task, and disable import by setting
- the import attribute to false:
- <setup import="false" />
+ and import the build rules files.
+
+ The rules file is imported from
+ <SDK>/platforms/<target_platform>/templates/android_rules.xml
+
+ To customize some build steps for your project:
+ - copy the content of the main node <project> from android_rules.xml
+ - paste it in this build.xml below the <setup /> task.
+ - disable the import by changing the setup task below to <setup import="false" />
This will ensure that the properties are setup correctly but that your customized
- targets are used.
+ build steps are used.
-->
<setup />
</project>