aboutsummaryrefslogtreecommitdiffstats
path: root/files
diff options
context:
space:
mode:
authorXavier Ducrohet <xav@android.com>2012-03-01 18:02:19 -0800
committerXavier Ducrohet <xav@android.com>2012-03-01 18:05:17 -0800
commit314a75226677df8933fd38824e9510acde90fe87 (patch)
tree456ad99f91b1b1ee5cb421ed6e51019fa5c32dc2 /files
parent8e700cd45398cabff12e16ee535d02933c0d3220 (diff)
downloadsdk-314a75226677df8933fd38824e9510acde90fe87.zip
sdk-314a75226677df8933fd38824e9510acde90fe87.tar.gz
sdk-314a75226677df8933fd38824e9510acde90fe87.tar.bz2
Only generate the libraries R/manifest classes in the app project.
If the project is a library itself then there's no need to generate them. Change-Id: I9896e2bac81979797cca10fc606c66e5139fc9a1
Diffstat (limited to 'files')
-rw-r--r--files/ant/build.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/ant/build.xml b/files/ant/build.xml
index d1596eb..d68b56b 100644
--- a/files/ant/build.xml
+++ b/files/ant/build.xml
@@ -700,7 +700,7 @@
<jar destfile="${out.library.jar.file}">
<fileset dir="${out.classes.absolute.dir}"
- excludes="**/R.class **/R$*.class ${manifest.package.path}/Manifest.class ${manifest.package.path}/Manifest$*.class ${manifest.package.path}/BuildConfig.class"/>
+ excludes="${manifest.package.path}/R.class ${manifest.package.path}/R$*.class ${manifest.package.path}/Manifest.class ${manifest.package.path}/Manifest$*.class ${manifest.package.path}/BuildConfig.class"/>
<fileset dir="${source.absolute.dir}" excludes="**/*.java ${android.package.excludes}" />
</jar>
</then>