742888f0fd9f00574049f52f6ede610888eea4ed |
|
29-Apr-2017 |
Adam Lesinski <adamlesinski@google.com> |
AAPT2: binary parser should be more lenient with files Some APKs have file references that reference files that don't exist. For now, just be lenient and ignore the files themselves. Keep the actual reference until such a time as general resource stripping is implemented. Bug: 37749644 Test: manual Change-Id: I773685acf41212405b71b064d64045fb4556dcfc
/frameworks/base/tools/aapt2/cmd/Optimize.cpp
|
b522f04bc2a581e2877bef4a44ac00b827f879ed |
|
22-Apr-2017 |
Adam Lesinski <adamlesinski@google.com> |
AAPT2: Allow truncating of package names ResTable_package header only allows 127 UTF-16 characters, so AAPT would truncate the real package name to fit. AAPT2 would error-out on any package name longer than 127 UTF-16 characters. This strictness is not required except when building shared libraries, which use the full package name as a way of identifying the runtime assigned package ID to package name mapping. Bug: 36940145 Test: make aapt2_tests Change-Id: I7d2b7e50c7ab30c6a6c4f15d310e711f68e35091
/frameworks/base/tools/aapt2/cmd/Optimize.cpp
|
db091577fff5bcddac703bc8ac4f932fd53e0621 |
|
13-Apr-2017 |
Adam Lesinski <adamlesinski@google.com> |
AAPT2: Allow the ';' separator on Windows for split args Bug: 36870463 Test: manual (wine) Change-Id: I8a38545a3cac9354b41858e1840b197b60925c03
/frameworks/base/tools/aapt2/cmd/Optimize.cpp
|
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/cmd/Optimize.cpp
|