aboutsummaryrefslogtreecommitdiffstats
path: root/anttasks/src
diff options
context:
space:
mode:
authorXavier Ducrohet <xav@android.com>2011-09-29 11:31:10 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-09-29 11:31:10 -0700
commit969387ab34fd270081a23f6c4234bcf09b88f5e8 (patch)
treef1dace1c3e117733931baef96afa5315752cb246 /anttasks/src
parentb962ff06d6a3d31553c145eea00c9a93abfe4f16 (diff)
parent78c89f931135c11c45f26590ea5ae29577bced85 (diff)
downloadsdk-969387ab34fd270081a23f6c4234bcf09b88f5e8.zip
sdk-969387ab34fd270081a23f6c4234bcf09b88f5e8.tar.gz
sdk-969387ab34fd270081a23f6c4234bcf09b88f5e8.tar.bz2
Merge "Also process and cache the png files in libraries."
Diffstat (limited to 'anttasks/src')
-rw-r--r--anttasks/src/com/android/ant/NewSetupTask.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/anttasks/src/com/android/ant/NewSetupTask.java b/anttasks/src/com/android/ant/NewSetupTask.java
index f6ba986..165ea08 100644
--- a/anttasks/src/com/android/ant/NewSetupTask.java
+++ b/anttasks/src/com/android/ant/NewSetupTask.java
@@ -465,7 +465,10 @@ public class NewSetupTask extends Task {
PathElement element = rootPath.createPathElement();
element.setPath(libRootPath);
- // get the res path. Always $PROJECT/res
+ // get the res path. Always $PROJECT/res as well as the crunch cache.
+ element = resPath.createPathElement();
+ element.setPath(libRootPath + "/" + SdkConstants.FD_OUTPUT +
+ "/" + SdkConstants.FD_RES);
element = resPath.createPathElement();
element.setPath(libRootPath + "/" + SdkConstants.FD_RESOURCES);