Support f2fs filesystem compression (needs kernel support and relevant fstab flags)
Change-Id: Ib90ce3a6c96eea84d3d7f6a88e85b931177df5d3
(cherry picked from commit 9fb13afad8331481b4a516ee32620ca49f6c833a)
diff --git a/Android.mk b/Android.mk
index fe10883..da8cdd0 100755
--- a/Android.mk
+++ b/Android.mk
@@ -189,6 +189,10 @@
LOCAL_CFLAGS += -DTW_PREPARE_DATA_MEDIA_EARLY
endif
+ifeq ($(TW_ENABLE_FS_COMPRESSION),true)
+ LOCAL_CFLAGS += -DTW_ENABLE_FS_COMPRESSION
+endif
+
LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/system/bin
ifeq ($(TARGET_RECOVERY_TWRP_LIB),)