diff options
| author | Android (Google) Code Review <android-gerrit@google.com> | 2009-08-07 16:54:34 -0700 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2009-08-07 16:54:34 -0700 |
| commit | e2778775411c3ef8d2d20351963715904135e9ec (patch) | |
| tree | 2ec3ab6093567422427f3c5b33b26cc87bca18c0 /tools | |
| parent | 1cf0c7fe0ecc5d412910669520a7ab19988bcdee (diff) | |
| parent | 74dca0efdcf15d0d59c3d8e4da0c51acc5437757 (diff) | |
| download | android_development-e2778775411c3ef8d2d20351963715904135e9ec.tar.gz android_development-e2778775411c3ef8d2d20351963715904135e9ec.tar.bz2 android_development-e2778775411c3ef8d2d20351963715904135e9ec.zip | |
Merge change 20426 into donut
* changes:
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> |
