aboutsummaryrefslogtreecommitdiffstats
path: root/files/ant
diff options
context:
space:
mode:
authorXavier Ducrohet <xav@android.com>2011-10-10 17:53:21 -0700
committerXavier Ducrohet <xav@android.com>2011-10-10 19:07:48 -0700
commitb92742797f979667fad027e35e04efff6e7df0aa (patch)
treefb6130ebf6b12f21b4f3cefc5a36d9773f6b6395 /files/ant
parenta6dc10887d24122fa8a9d8b590ac7eff2c36724c (diff)
downloadsdk-b92742797f979667fad027e35e04efff6e7df0aa.zip
sdk-b92742797f979667fad027e35e04efff6e7df0aa.tar.gz
sdk-b92742797f979667fad027e35e04efff6e7df0aa.tar.bz2
Improved RenderScript support in SDK build.
- renderscript output is now in bin/res/ instead of res/ - Ant build system properly handle dependencies to only recompile files that need it. Change-Id: Ic2cd4487a26e7a7fcb0b475ee52fa0ccf8a07c0b
Diffstat (limited to 'files/ant')
-rw-r--r--files/ant/build.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/files/ant/build.xml b/files/ant/build.xml
index 9315a5e..cc8f398 100644
--- a/files/ant/build.xml
+++ b/files/ant/build.xml
@@ -550,7 +550,7 @@
<renderscript executable="${renderscript}"
framework="${android.rs}"
genFolder="${gen.absolute.dir}"
- resFolder="${resource.absolute.dir}/raw"
+ resFolder="${out.res.absolute.dir}/raw"
targetApi="${target.api}">
<source path="${source.absolute.dir}"/>
</renderscript>
@@ -566,6 +566,7 @@
nonConstantId="${android.library}"
projectLibrariesResName="project.libraries.res"
projectLibrariesPackageName="project.libraries.package">
+ <res path="${out.res.absolute.dir}" />
<res path="${resource.absolute.dir}" />
</aapt>
</do-only-if-manifest-hasCode>