diff options
author | Xavier Ducrohet <xav@android.com> | 2011-02-08 13:50:01 -0800 |
---|---|---|
committer | Xavier Ducrohet <xav@android.com> | 2011-02-08 13:53:28 -0800 |
commit | 96f99e924b2e0d1de50418036f2bfc369b89d688 (patch) | |
tree | 26d40ced3b1119b669c62b0df883462539f5eb8a /files/ant | |
parent | 3affb7747350f449529260744f37e0274f8fac50 (diff) | |
download | sdk-96f99e924b2e0d1de50418036f2bfc369b89d688.zip sdk-96f99e924b2e0d1de50418036f2bfc369b89d688.tar.gz sdk-96f99e924b2e0d1de50418036f2bfc369b89d688.tar.bz2 |
Ant tasks and dependency clean up.
Give anttasks.jar a proper manifest with jar dependencies.
Update the manifest of sdklib.jar with the common.jar dependency.
The pre-setup section of build.xml has changed over time
and really we should be able to control it so move it in
$SDK/tools/ant/pre_setup.xml and import it into build.xml
Change-Id: Iab707deccc0cdbe8d1a9db052ee6fb0762853394
Diffstat (limited to 'files/ant')
-rw-r--r-- | files/ant/pre_setup.xml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/files/ant/pre_setup.xml b/files/ant/pre_setup.xml new file mode 100644 index 0000000..eee449a --- /dev/null +++ b/files/ant/pre_setup.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project name="imported" basedir="."> + + <!-- Custom Android task to deal with the project target, and import the + proper rules. + This requires ant 1.6.0 or above. --> + <path id="android.antlibs"> + <pathelement path="${sdk.dir}/tools/lib/anttasks.jar" /> + </path> + + <taskdef name="setup" + classname="com.android.ant.SetupTask" + classpathref="android.antlibs" /> +</project> |