summaryrefslogtreecommitdiff
path: root/rootdir/Android.mk
diff options
context:
space:
mode:
authorIsaac Chen <isaacchen@isaacchen.cn>2018-08-06 03:29:44 +0200
committerIsaac Chen <isaacchen@isaacchen.cn>2018-12-02 11:02:30 +0800
commitdc59590a23ec15e25006d4f70e34684869e75629 (patch)
tree63bdad498dcb44fb52fdad879e923e907de3b777 /rootdir/Android.mk
parent7a59c64c449b614b40fd4619bc29808afddfcab6 (diff)
wayne-common: rootdir: Support A/B fstab
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
Diffstat (limited to 'rootdir/Android.mk')
-rw-r--r--rootdir/Android.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/rootdir/Android.mk b/rootdir/Android.mk
index 280d501..4427d52 100644
--- a/rootdir/Android.mk
+++ b/rootdir/Android.mk
@@ -169,7 +169,11 @@ include $(CLEAR_VARS)
LOCAL_MODULE := fstab.qcom
LOCAL_MODULE_TAGS := optional eng
LOCAL_MODULE_CLASS := ETC
+ifeq ($(AB_OTA_UPDATER), true)
+LOCAL_SRC_FILES := etc/fstab_AB.qcom
+else
LOCAL_SRC_FILES := etc/fstab.qcom
+endif
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_ETC)
include $(BUILD_PREBUILT)