diff options
author | Xavier Ducrohet <xav@android.com> | 2012-02-27 16:58:55 -0800 |
---|---|---|
committer | Xavier Ducrohet <xav@android.com> | 2012-02-27 16:58:55 -0800 |
commit | ee01dd0e2dfc082fbe4c5f73d0ea27df49e217a9 (patch) | |
tree | 97e40fc325ed02b26a27ca3f27dcb92a3f73dcd3 /files | |
parent | f2b5037221d45de68aa50e47a9b2c6de37fddaaa (diff) | |
download | sdk-ee01dd0e2dfc082fbe4c5f73d0ea27df49e217a9.zip sdk-ee01dd0e2dfc082fbe4c5f73d0ea27df49e217a9.tar.gz sdk-ee01dd0e2dfc082fbe4c5f73d0ea27df49e217a9.tar.bz2 |
Improve "ant all clean" to clean libraries only once.
This is done by going through the flat dependency of the main
project and not having the libs look at their own dependencies.
This is similar to what has been done for the regular build steps.
Change-Id: I597c8f931c231c5260cc5b33965b9938fe24c01f
Diffstat (limited to 'files')
-rw-r--r-- | files/ant/build.xml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/files/ant/build.xml b/files/ant/build.xml index a54efbb..d68b56b 100644 --- a/files/ant/build.xml +++ b/files/ant/build.xml @@ -421,13 +421,14 @@ <if> <condition> <isreference refid="project.libraries" /> + <not><isset property="dont.do.deps" /></not> </condition> <then> <subant buildpathref="project.libraries" antfile="build.xml" failonerror="true"> - <target name="all" /> + <target name="nodeps" /> <target name="clean" /> </subant> </then> |