d0f492db038c6210c1138865d816bfb134376538 |
|
04-Apr-2017 |
Adam Lesinski <adamlesinski@google.com> |
AAPT2: Share split functionality between link and optimize Generating splits should be possible to do from the optimize command. This means that a lot of infrastructure around split APKs can be shared by both the optimize and link phase. Bug: 35925830 Change-Id: Ia88b9e4bff300a56353b2f7a4a2547c8eb43a299 Test: manual
/frameworks/base/tools/aapt2/LoadedApk.cpp
|
06460ef0d7072114ea3280e1650f77f55e7223f4 |
|
15-Mar-2017 |
Adam Lesinski <adamlesinski@google.com> |
AAPT2: Fix up file IO This also enables an AAPT behavior that CTS tests have come to depend on. Small files that compress negatively (get larger) are stored uncompressed. Some CTS tests assume this and try to open these files by mmapping them, which is only possible if they are uncompressed. Bug: 35461578 Test: make aapt2_tests Change-Id: Id622a6150fe72477ad65d67d1bad897a8ee2ffb9
/frameworks/base/tools/aapt2/LoadedApk.cpp
|
d48944a745f9ed121e6bde22ef6feb3a44fbec39 |
|
21-Feb-2017 |
Adam Lesinski <adamlesinski@google.com> |
AAPT2: Rename strip phase to optimize - Allow resource deduping, version collapsing, and sparse resource encoding. Test: manual Change-Id: Ia4aa892ab5b06ba1d5ea4a6efb51b00bc3a980c4
/frameworks/base/tools/aapt2/LoadedApk.cpp
|
c8f71aa67ea599cb80205496cb67e9e7a121299c |
|
08-Feb-2017 |
Adam Lesinski <adamlesinski@google.com> |
Add ResTable_sparseTypeEntry support Benchmarks on bullhead-userdebug show that there is a negligent performance impact when using sparse entries on a 30% loaded sparse type of 1000 resources. Benchmark Time CPU Iterations ----------------------------------------------------------------------------------- BM_SparseEntryGetResourceSparseLarge 255 ns 254 ns 2751408 BM_SparseEntryGetResourceNotSparseLarge 254 ns 254 ns 2756534 Bug: 27381711 Test: make libandroidfw_tests aapt2_tests Change-Id: I051ea22f2f6b2bc3696e446adc9e2a34be18009f
/frameworks/base/tools/aapt2/LoadedApk.cpp
|
fa131d5312011fc1a95cc9a679dbe52f0a7dbe4d |
|
03-Feb-2017 |
Pierre Lecesne <lecesne@google.com> |
Only compress files that were already compressed in the original APK. Also fix a log message. Test: Manually. Unit tests pass. Change-Id: Iea236bbcfbe1a0a0894ce1bfce09c19208c5a0bc
/frameworks/base/tools/aapt2/LoadedApk.cpp
|
2599aa4dfd29627a5690460bdcd5568d1029d4dc |
|
01-Feb-2017 |
Pierre Lecesne <lecesne@google.com> |
Add a method LoadedApk::WriteToArchive. Test: Manually. Change-Id: I61717204e58ca2bbfba9a52c7aecf27882a853f8
/frameworks/base/tools/aapt2/LoadedApk.cpp
|
ff759e6a6ef6dd741b174e58a0f01cb87accc897 |
|
01-Feb-2017 |
Pierre Lecesne <lecesne@google.com> |
Moving the LoadedApk class to its own file. Test: Unit tests pass. Change-Id: Id706f9ad1f3406bb73a60a33139a04745d5d72c0
/frameworks/base/tools/aapt2/LoadedApk.cpp
|