summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorDavid Anderson <dvander@google.com>2018-06-01 03:01:58 +0200
committerandroid-build-merger <android-build-merger@google.com>2018-06-01 03:01:58 +0200
commitb0d9b3594bd66a0769f73b8a424a1de8a94164ef (patch)
tree6e87f5b4184557f92d7c6a92babdfc84521c5c33 /Android.mk
parentMerge "updater_sample: Add @GuardedBy" (diff)
parentMerge "recovery: add --fsck_unshare_blocks option for adb remount" (diff)
downloadandroid_bootable_recovery-b0d9b3594bd66a0769f73b8a424a1de8a94164ef.tar
android_bootable_recovery-b0d9b3594bd66a0769f73b8a424a1de8a94164ef.tar.gz
android_bootable_recovery-b0d9b3594bd66a0769f73b8a424a1de8a94164ef.tar.bz2
android_bootable_recovery-b0d9b3594bd66a0769f73b8a424a1de8a94164ef.tar.lz
android_bootable_recovery-b0d9b3594bd66a0769f73b8a424a1de8a94164ef.tar.xz
android_bootable_recovery-b0d9b3594bd66a0769f73b8a424a1de8a94164ef.tar.zst
android_bootable_recovery-b0d9b3594bd66a0769f73b8a424a1de8a94164ef.zip
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 6aa91ea21..24da8b28a 100644
--- a/Android.mk
+++ b/Android.mk
@@ -132,6 +132,7 @@ include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
adb_install.cpp \
+ fsck_unshare_blocks.cpp \
fuse_sdcard_provider.cpp \
install.cpp \
recovery.cpp \
@@ -192,6 +193,13 @@ LOCAL_REQUIRED_MODULES += \
endif
endif
+# e2fsck is needed for adb remount -R.
+ifeq ($(BOARD_EXT4_SHARE_DUP_BLOCKS),true)
+ifneq (,$(filter userdebug eng,$(TARGET_BUILD_VARIANT)))
+LOCAL_REQUIRED_MODULES += e2fsck_static
+endif
+endif
+
ifeq ($(BOARD_CACHEIMAGE_PARTITION_SIZE),)
LOCAL_REQUIRED_MODULES += \
recovery-persist \