From 1437c5c63f0fb2c58e6bd2432e18b33d7c625207 Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Tue, 28 Feb 2017 17:24:27 +0800 Subject: [PATCH] Add ndk-compression with liblzma --- .gitmodules | 3 +++ jni/Android.mk | 2 ++ jni/ndk-compression | 1 + 3 files changed, 6 insertions(+) create mode 160000 jni/ndk-compression diff --git a/.gitmodules b/.gitmodules index 40ee763b1..527ea52ad 100644 --- a/.gitmodules +++ b/.gitmodules @@ -7,3 +7,6 @@ [submodule "jni/su"] path = jni/su url = https://github.com/topjohnwu/MagiskSU.git +[submodule "jni/ndk-compression"] + path = jni/ndk-compression + url = https://github.com/topjohnwu/ndk-compression.git diff --git a/jni/Android.mk b/jni/Android.mk index 7bc4e9962..e78514d40 100644 --- a/jni/Android.mk +++ b/jni/Android.mk @@ -6,5 +6,7 @@ include jni/resetprop/Android.mk include jni/sepolicy-inject/Android.mk include jni/su/Android.mk +# Libraries include jni/selinux/libsepol/Android.mk include jni/selinux/libselinux/Android.mk +include jni/ndk-compression/xz/src/liblzma/Android.mk diff --git a/jni/ndk-compression b/jni/ndk-compression new file mode 160000 index 000000000..7cfa31b27 --- /dev/null +++ b/jni/ndk-compression @@ -0,0 +1 @@ +Subproject commit 7cfa31b27065249b4d35cd1c7ceef4c2453b48b8