termux-packages/packages/aapt/aapt-Main.cpp.patch

13 lines
371 B
Diff
Raw Normal View History

2022-02-05 06:17:26 +01:00
--- 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;