diff options
| author | The Android Open Source Project <initial-contribution@android.com> | 2009-02-20 07:38:28 -0800 |
|---|---|---|
| committer | The Android Open Source Project <initial-contribution@android.com> | 2009-02-20 07:38:28 -0800 |
| commit | 74a996a2c7251790ab3cc6a10358c31ad0fed828 (patch) | |
| tree | 956fa1a7028ffa62eb5dde702411c008f9f38a69 /tools/scripts/build.template | |
| parent | ff4b5f241f323a335897aff754d144f246caede7 (diff) | |
| download | android_development-74a996a2c7251790ab3cc6a10358c31ad0fed828.tar.gz android_development-74a996a2c7251790ab3cc6a10358c31ad0fed828.tar.bz2 android_development-74a996a2c7251790ab3cc6a10358c31ad0fed828.zip | |
auto import from //branches/cupcake/...@132569
Diffstat (limited to 'tools/scripts/build.template')
| -rw-r--r-- | tools/scripts/build.template | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/tools/scripts/build.template b/tools/scripts/build.template index 1f7f90868..7939e6c63 100644 --- a/tools/scripts/build.template +++ b/tools/scripts/build.template @@ -10,7 +10,7 @@ by the 'android' tool. This is the place to change some of the default property values used by the Ant rules. Here are some properties you may want to change/update: - + application-package the name of your application package as defined in the manifest. Used by the 'uninstall' rule. @@ -40,12 +40,22 @@ <pathelement path="${sdk-location}/tools/lib/anttasks.jar" /> <pathelement path="${sdk-location}/tools/lib/sdklib.jar" /> <pathelement path="${sdk-location}/tools/lib/androidprefs.jar" /> + <pathelement path="${sdk-location}/tools/lib/apkbuilder.jar" /> + <pathelement path="${sdk-location}/tools/lib/jarutils.jar" /> </path> - - <taskdef name="androidinit" classname="com.android.ant.AndroidInitTask" + + <taskdef name="setup" + classname="com.android.ant.SetupTask" classpathref="android.antlibs"/> - <!-- Execute the Android Init task that will import the proper rule file containing - all the Ant targets, as well as setup some properties specific to the target. --> - <androidinit /> + <!-- 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" /> + + This will ensure that the properties are setup correctly but that your customized + targets are used. + --> + <setup /> </project> |
