aboutsummaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorAmit Blay <ablay@codeaurora.org>2015-08-23 20:26:31 +0300
committerLinux Build Service Account <lnxbuild@localhost>2015-10-06 03:20:38 -0600
commitf5b60941ac29e8525e68d2b564da248622390ca7 (patch)
tree8203fa3879d06c02f996acfba998f60f152e6494 /Android.mk
parentf5cfdcecf577a435aa76592398dc80fc415fa9d6 (diff)
downloadbootable_recovery-f5b60941ac29e8525e68d2b564da248622390ca7.zip
bootable_recovery-f5b60941ac29e8525e68d2b564da248622390ca7.tar.gz
bootable_recovery-f5b60941ac29e8525e68d2b564da248622390ca7.tar.bz2
recovery: Add support for MDTP
Mobile Device Theft Protection prevents unauthorized modification of the system image, ensuring existing of an Anti-Theft solution. During FOTA, the baseline of the system image which is stored in a dedicated DIP partition (Device Integrity Partition) is updated with the baseline of the new received system image. CRs-fixed: 777015 Change-Id: Ib2ff4bb16db5a08e69432ef3d6d7af26a447dea5
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 0484065..e8df006 100644
--- a/Android.mk
+++ b/Android.mk
@@ -88,6 +88,10 @@ endif
LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin
+ifeq ($(TARGET_USE_MDTP), true)
+ LOCAL_CFLAGS += -DUSE_MDTP
+endif
+
ifeq ($(TARGET_RECOVERY_UI_LIB),)
LOCAL_SRC_FILES += default_device.cpp
else