aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Hsu <robinhsu@google.com>2020-12-30 03:07:38 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-12-30 03:07:38 +0000
commit9e14661b09f34a2103dbbeeb290ad10603db9142 (patch)
treef3b3932fd6b3466c89101944d0aa80f34ec463f5
parent4fe35240fc684c3e6e6f0fb1801318351a19e548 (diff)
parentd3939f3224692048aab130831be7f48952c8164f (diff)
downloadf2fs-tools-9e14661b09f34a2103dbbeeb290ad10603db9142.tar.gz
Android.bp: sload.f2fs compression support am: c4ac121622 am: d3939f3224
Original change: https://android-review.googlesource.com/c/platform/external/f2fs-tools/+/1536943 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Id42b945ec3435a529a83940c765ddf29574d06c6
-rw-r--r--Android.bp8
-rw-r--r--include/android_config.h2
2 files changed, 9 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp
index 24d38b5..4242a49 100644
--- a/Android.bp
+++ b/Android.bp
@@ -191,7 +191,11 @@ cc_binary {
host_supported: true,
recovery_available: true,
cflags: ["-DWITH_SLOAD"],
- srcs: ["fsck/fsck.c", "fsck/sload.c"],
+ srcs: [
+ "fsck/fsck.c",
+ "fsck/sload.c",
+ "fsck/compress.c",
+ ],
target: {
android: {
shared_libs: [
@@ -202,6 +206,7 @@ cc_binary {
"libselinux",
"libcutils",
"liblog",
+ "liblz4",
],
},
host: {
@@ -214,6 +219,7 @@ cc_binary {
"libcutils",
"liblog",
"libz",
+ "liblz4",
],
},
},
diff --git a/include/android_config.h b/include/android_config.h
index 0a03d35..cae1669 100644
--- a/include/android_config.h
+++ b/include/android_config.h
@@ -29,6 +29,7 @@
#define HAVE_LSEEK64 1
#define HAVE_MEMSET 1
#define HAVE_SETMNTENT 1
+#define HAVE_LIBLZ4 1
#ifdef WITH_SLOAD
#define HAVE_LIBSELINUX 1
@@ -55,6 +56,7 @@
#define HAVE_GETMNTENT 1
#define HAVE_LLSEEK 1
#define HAVE_MEMSET 1
+#define HAVE_LIBLZ4 1
#ifdef WITH_SLOAD
#define HAVE_LIBSELINUX 1