b791721cd1a6154e5582d824f5d20b2c8b8d5ac5 |
|
11-Aug-2017 |
Adam Lesinski <adamlesinski@google.com> |
AAPT2: Define intermediate compiled XML proto This proto format is meant to encapsulate more information that is specific to Android and allows for easier validation and manipulation across tools. Test: make aapt2_tests Bug: 65645766 Change-Id: I13bc34a460671fc0a36246be0d287a3d37d244d6 Merged-In: I13bc34a460671fc0a36246be0d287a3d37d244d6
/frameworks/base/tools/aapt2/cmd/Compile.cpp
|
5b54ca2d72c410aa34363b0f3bb0fe1666954aea |
|
02-Aug-2017 |
Adam Lesinski <adamlesinski@google.com> |
AAPT2: Fix windows unicode path issues Mingw64 was being difficult, so instead of defining a wmain entrypoint, the command line parameters are parsed manually using built-in Windows methods that support Unicode. The results are converted to UTF8 and handled just like the rest of the linux/mac version of the code. This also removes dependencies on std::istream in favour of a FileInputStream which calls the appropriate unicode version of open to read a file. No speed regressions found on Linux or MacOS. Bug: 62336414 Bug: 63830502 Bug: 65645766 Test: manual Change-Id: I597da51e33729ed1b98bf246e7e773337fd3fee8 Merged-In: I597da51e33729ed1b98bf246e7e773337fd3fee8
/frameworks/base/tools/aapt2/cmd/Compile.cpp
|
e3d684a86a15f5af7439a77e1e38ff8a9e8a7652 |
|
30-May-2017 |
Adam Lesinski <adamlesinski@google.com> |
Merge "AAPT2: Follow symlinks when compiling" into oc-dev am: 6ea61f9c6d am: c69611fd86 Change-Id: Idd8ebb98c04fcfd061c36c2e5dcd678d88c5a267
|
2354b568379fe31ba4e774f7a92d4c685a60a2ab |
|
27-May-2017 |
Adam Lesinski <adamlesinski@google.com> |
AAPT2: Follow symlinks when compiling Bug: 62144459 Test: make AaptSymlinkTest Change-Id: Idb3ab1ece17c52bb4fd174ec4c08a9e173289e55
/frameworks/base/tools/aapt2/cmd/Compile.cpp
|
60d9c2fd55ef8e64ab3f39980b78389cd1317ee5 |
|
18-May-2017 |
Adam Lesinski <adamlesinski@google.com> |
AAPT2: improve some error messages Test: manual Change-Id: I11c96f8c825ffd43b7f68cb24f2c0746d75845f5
/frameworks/base/tools/aapt2/cmd/Compile.cpp
|
cc73e990e5381adfa605ccacad431231d9269893 |
|
13-May-2017 |
Adam Lesinski <adamlesinski@google.com> |
AAPT2: Ignore trailing data after IEND chunk in PNG libpng seems to do the same, so our chunk filter should not care what comes after. Bug: 38169876 Test: manual Change-Id: I020ddfe29ac3eb4d5ef9ace5611c6f6497de443d
/frameworks/base/tools/aapt2/cmd/Compile.cpp
|
28e6c0bac2f22e63bc044fc44a82ec5282d2709c |
|
10-May-2017 |
Adam Lesinski <adamlesinski@google.com> |
AAPT2: Add option to disable PNG crunching When compiling, a developer may want to disable PNG crunching for a specific set of PNGs. Bug: 37729284 Test: manual Change-Id: I134f208f8bb212df07a4eef65b467985a6443375
/frameworks/base/tools/aapt2/cmd/Compile.cpp
|
820d72adc0eccbfe4ac4238cdc89b7680ea03d9e |
|
27-Apr-2017 |
Chris Warrington <cmw@google.com> |
AAPT2: Error reporting through JNI. Rather than relying on stderr being wired correctly. Test: Tests for JNI integration in studio-master-dev. Change-Id: I1c7e7130bc4e56d61de259a9596bee3a6b3520fb
/frameworks/base/tools/aapt2/cmd/Compile.cpp
|
b9dbee430dda735b8a92d150349381a9e147c682 |
|
25-Apr-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "AAPT2: Add better error message when processing invalid files" into oc-dev
|
776aa959c7122f23f3c58443ea1b673127ed01f2 |
|
25-Apr-2017 |
Adam Lesinski <adamlesinski@google.com> |
AAPT2: Add better error message when processing invalid files Instead of showing a failed mmap error, show a better error when a file being compiled is a directory or other unsupported file type. Bug: 37626838 Test: manual Change-Id: Ib9acf5f48ab5da37e79411c6a9f37c51f00f925f
/frameworks/base/tools/aapt2/cmd/Compile.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/Compile.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/Compile.cpp
|