diff options
| author | Xavier Ducrohet <xav@android.com> | 2009-08-07 16:56:44 -0700 |
|---|---|---|
| committer | Android Git Automerger <android-git-automerger@android.com> | 2009-08-07 16:56:44 -0700 |
| commit | 81e744fe3712bd1573a11366585ad4fdb276a99c (patch) | |
| tree | 729dee330d65acb942003fe75f5060e57e93782a /tools | |
| parent | 26bdd15452aa2fcce1993f995556643a463d61ef (diff) | |
| parent | e2778775411c3ef8d2d20351963715904135e9ec (diff) | |
| download | android_development-81e744fe3712bd1573a11366585ad4fdb276a99c.tar.gz android_development-81e744fe3712bd1573a11366585ad4fdb276a99c.tar.bz2 android_development-81e744fe3712bd1573a11366585ad4fdb276a99c.zip | |
am e2778775: Merge change 20426 into donut
Merge commit 'e2778775411c3ef8d2d20351963715904135e9ec'
* commit 'e2778775411c3ef8d2d20351963715904135e9ec':
Improve the comments in build.xml to help people customize their build.
Diffstat (limited to 'tools')
| -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> |
