summaryrefslogtreecommitdiffstats
path: root/tools/aapt2/Linker.cpp
Commit message (Collapse)AuthorAgeFilesLines
* AAPT2: Support static lib referencing static libAdam Lesinski2015-05-121-83/+66
| | | | | | | | | | | | When a static library A references static library B, and app C references both A and B, we get the following symbol merging, symbols from library B get imported twice. We must only check that symbol references to library B are valid when building library A. We should only merge all the symbols when building final app C. Change-Id: I23cba33b0901dcbb5328d9c9dfaa6a979c073c36
* AAPT2: Record public status in a more robust wayAdam Lesinski2015-05-041-12/+15
| | | | | | | | | This allows us to store the source and comments of a resource's public declaration and avoids issues where there is no default configuration for a publicly declared resource (like with drawables of various densities) and AAPT2 mistakenly took this as an error. Change-Id: I07a2fe9f551daefcce842f205fb219d2fa453ebc
* Add namespace handling in attribute valuesAdam Lesinski2015-05-041-10/+17
| | | | | | | | | | | | | | | | | | Previously, you could only reference namespace prefixes in attribute names: <View xmlns:appcompat="http://schemas.android.com/apk/res/android.support.v7.appcompat" appcompat:name="hey" ... Now you can also reference them in resource names within an attribute value: ... android:text="@appcompat:string/confirm" ... Which will be treated as "@android.support.v7.appcompat:string/confirm". Change-Id: Ib076e867a990c80cf877a704eb77cd1ef0b23b52
* AAPT2: Add library supportAdam Lesinski2015-04-151-1/+15
| | | | Change-Id: I307f56d9631784ab29ee4156d94886f9b2f25b30
* Fix windows build of AAPT2Adam Lesinski2015-04-031-0/+1
| | | | Change-Id: Ib8e1a4322510b582e9600a08d3118842c9abc73c
* AAPT2Adam Lesinski2015-04-021-0/+282
First checking of AAPT2. The individual phases of AAPT2 work, but there are some missing pieces. For early testing we are missing: - Need to properly mark file references and include them in package - Need to package into zip Final AAPT for apps we are missing: - Need to crush PNGs - Need to parse 9-patches - Need to validate all of AndroidManifest.xml - Need to write align method to align resource tables for splits. Final AAPT for apps + system we are missing: - Need to handle overlays - Need to store comments for R file - Need to handle --shared-lib (dynamic references too). New AAPT features coming: - Need to import compiled libraries - Name mangling - R file generation for library code Change-Id: I95f8a63581b81a1f424ae6fb2c373c883b72c18d