diff options
| author | Xavier Ducrohet <xav@android.com> | 2009-08-07 10:40:24 -0700 |
|---|---|---|
| committer | Xavier Ducrohet <xav@android.com> | 2009-08-07 10:43:47 -0700 |
| commit | 74dca0efdcf15d0d59c3d8e4da0c51acc5437757 (patch) | |
| tree | 3a576ac6bbdde76c86b2afbfe678d57be22d0988 /tools/scripts | |
| parent | 36e0ac795e9ec37323e25e0acf04b3090fe4c266 (diff) | |
| download | android_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.template | 15 |
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> |
