diff options
author | Robin Hsu <robinhsu@google.com> | 2020-12-30 03:07:38 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2020-12-30 03:07:38 +0000 |
commit | 9e14661b09f34a2103dbbeeb290ad10603db9142 (patch) | |
tree | f3b3932fd6b3466c89101944d0aa80f34ec463f5 | |
parent | 4fe35240fc684c3e6e6f0fb1801318351a19e548 (diff) | |
parent | d3939f3224692048aab130831be7f48952c8164f (diff) | |
download | f2fs-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.bp | 8 | ||||
-rw-r--r-- | include/android_config.h | 2 |
2 files changed, 9 insertions, 1 deletions
@@ -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 |