diff options
author | Xavier Ducrohet <xav@android.com> | 2012-12-04 18:34:43 -0800 |
---|---|---|
committer | Xavier Ducrohet <xav@android.com> | 2012-12-05 12:52:20 -0800 |
commit | 131459f779b1a98bf354663298637589a2860fff (patch) | |
tree | cd6cda7e03b6872ba200a0412cbc71f5ca80fba9 /emulator | |
parent | 0f9622decc4d8ff78dc7ea6ca703841db44d69b7 (diff) | |
download | sdk-131459f779b1a98bf354663298637589a2860fff.zip sdk-131459f779b1a98bf354663298637589a2860fff.tar.gz sdk-131459f779b1a98bf354663298637589a2860fff.tar.bz2 |
Support package conflicts between app and libs.
If 2 libraries share the same package name, this is now
a build breakage, unless all libraries share the same
package.
This is because the libraries R classes only contain the
resources declared in the libraries themselves (plus
dependencies). Since two libraries could share the same
package name without depending on one another, it's possible
to ensure that creating only one R class would work for both.
(Merging both R class might be possible but is too risky for
a quick fix like this).
If all the libraries share the same package, then a single R
class is created for that package that contains all the symbol
of the app (simpler than merging all the symbols for now)
If a library and the app share the same package name, the
R class for the library is not created (since the R class for
the app contains all resources). This already worked in ADT,
so this changeset only fixes Ant.
Change-Id: I95f0b734ba263051961268d960d59749f5b6e1a5
Diffstat (limited to 'emulator')
0 files changed, 0 insertions, 0 deletions