termux-packages/packages/aapt/aapt-Main.cpp.patch
2022-02-06 18:06:23 +09:00

13 lines
371 B
Diff

--- a/base/tools/aapt/Main.cpp
+++ b/base/tools/aapt/Main.cpp
@@ -270,6 +270,9 @@
/* default to compression */
bundle.setCompressionMethod(ZipEntry::kCompressDeflated);
+ // Convenience when using aapt in termux.
+ bundle.addPackageInclude("@TERMUX_PREFIX@/share/aapt/android.jar");
+
if (argc < 2) {
wantUsage = true;
goto bail;