004511660671511ae88e0e837a6f92db28eadaef |
|
03-Oct-2017 |
Adam Lesinski <adamlesinski@google.com> |
AAPT2: Define and Implement AAPT Container Format AAPT Container Format (.apc) is a simple container that enumerates the various intermediate files that AAPT2 generates during the compile phase. The format is defined in formats.md. For now, continue using the .flat extension for the container file, and keep making use of the .flata zip for storing multiple files. This will allow easier integration with existing build systems and allow the evolution of the APC format to better handle arbitrarily large files. Test: make aapt2_tests Change-Id: Id7216e5b76316bdd683f0fa4eaf2d2da273ba815
/frameworks/base/tools/aapt2/xml/XmlUtil.cpp
|
1ef0fa9d7242b1926543bc49e35905d1be02a781 |
|
16-Aug-2017 |
Adam Lesinski <adamlesinski@google.com> |
AAPT2: Fixup namespace implementation A few pieces were missing in the namespace mangling implementation. Namespace aware libraries now work, along with R class generation. Bug: 64706588 Test: make AaptTestNamespace_App Change-Id: I12f78d6aa909e782c0faf7ceaa36058f2e6c864a
/frameworks/base/tools/aapt2/xml/XmlUtil.cpp
|
bb94f32a0042c8e2ab3d6e0de1b693713d2a6eab |
|
12-Jul-2017 |
Adam Lesinski <adamlesinski@google.com> |
Revert "AAPT2: Auto-version adaptive-icon XML" This reverts commit 5b7337f77cf036dda2c7218ccf22dedc774dcf76. Bug: 63579299 Test: none Change-Id: Ib617c4edfc16eeae3507b59b2debeae4f8bbf9a5
/frameworks/base/tools/aapt2/xml/XmlUtil.cpp
|
5b7337f77cf036dda2c7218ccf22dedc774dcf76 |
|
26-Jun-2017 |
Adam Lesinski <adamlesinski@google.com> |
AAPT2: Auto-version adaptive-icon XML Auto version adaptive-icon XML to v26. This change makes the logic for generating versioned resources simpler by changing the comparison function of ResTable_config to evaluate the sdkVersion property last, making configurations that differ only in sdkVersion next to each other in a sorted vector. Bug: 62316340 Test: manual (verified output of tools/aapt2/integration-tests/AppOne) Change-Id: I977d45821722a65d2135efb4693304eacc565c9a
/frameworks/base/tools/aapt2/xml/XmlUtil.cpp
|
d5083f6f6b9bc76bbe64052bcec639eee752a321 |
|
17-Jan-2017 |
Adam Lesinski <adamlesinski@google.com> |
Move StringPiece to libandroidfw libandroidfw needs to make use of StringPiece, so move it to libandroidfw and update all code referencing StringPiece in aapt2. Test: make libandroidfw_tests libaapt2_tests Change-Id: I68d7f0fc7c651b048d9d1f5e7971f10ef5349fa1
/frameworks/base/tools/aapt2/xml/XmlUtil.cpp
|
ce5e56e243d262a9b65459c3bd0bb9eaadd40628 |
|
22-Oct-2016 |
Adam Lesinski <adamlesinski@google.com> |
AAPT2: Rename to match new style Use Google3 naming style to match new projects' and open source google projects' style. Preferred to do this in a massive CL so as to avoid style inconsistencies that plague legacy code bases. This is a relatively NEW code base, may as well keep it up to date. Test: name/style refactor - existing tests pass Change-Id: Ie80ecb78d46ec53efdfca2336bb57d96cbb7fb87
/frameworks/base/tools/aapt2/xml/XmlUtil.cpp
|
5eeaaddffd23d8d85aeb321e3ceea626e42cf9de |
|
25-Aug-2016 |
Adam Lesinski <adamlesinski@google.com> |
AAPT2: Add Inline Complex XML support See: https://developer.android.com/guide/topics/resources/complex-xml-resources.html Change-Id: I8274c85e25cabf90423141c228697e873167d136
/frameworks/base/tools/aapt2/xml/XmlUtil.cpp
|
d0f116b619feede0cfdb647157ce5ab4d50a1c46 |
|
09-Jul-2016 |
Adam Lesinski <adamlesinski@google.com> |
AAPT2: Remove usage of u16string For legacy reasons, we kept around the use of UTF-16 internally in AAPT2. We don't need this and this CL removes all instances of std::u16string and StringPiece16. The only places still needed are when interacting with the ResTable APIs that only operate in UTF16. Change-Id: I492475b84bb9014fa13bf992cff447ee7a5fe588
/frameworks/base/tools/aapt2/xml/XmlUtil.cpp
|
467f171315f9c2037fcd3eb5edcfabc40671bf7b |
|
17-Nov-2015 |
Adam Lesinski <adamlesinski@google.com> |
AAPT2: Fail compiling when private symbols are referenced Also moved some XML specific stuff into its own directory, and refactored ReferenceLinker a bit. Change-Id: I912247a82023c1bbf72dc191fbdaf62858cbec0c
/frameworks/base/tools/aapt2/xml/XmlUtil.cpp
|