diff options
author | Xavier Ducrohet <xav@android.com> | 2011-10-10 17:53:21 -0700 |
---|---|---|
committer | Xavier Ducrohet <xav@android.com> | 2011-10-10 19:07:48 -0700 |
commit | b92742797f979667fad027e35e04efff6e7df0aa (patch) | |
tree | fb6130ebf6b12f21b4f3cefc5a36d9773f6b6395 /files | |
parent | a6dc10887d24122fa8a9d8b590ac7eff2c36724c (diff) | |
download | sdk-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')
-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 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> |