summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2016-03-31 22:49:56 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2016-03-31 22:49:56 +0200
commit75da77105f329f5d6c1b4dc46ce02377ec4afd6a (patch)
tree4933eddb18ba77609a3db32d54901d72287d9178 /Android.mk
parentMerge "uncrypt: remove --read-bcb option." (diff)
parentrecovery: use __android_log_pmsg_file_write for log files (diff)
downloadandroid_bootable_recovery-75da77105f329f5d6c1b4dc46ce02377ec4afd6a.tar
android_bootable_recovery-75da77105f329f5d6c1b4dc46ce02377ec4afd6a.tar.gz
android_bootable_recovery-75da77105f329f5d6c1b4dc46ce02377ec4afd6a.tar.bz2
android_bootable_recovery-75da77105f329f5d6c1b4dc46ce02377ec4afd6a.tar.lz
android_bootable_recovery-75da77105f329f5d6c1b4dc46ce02377ec4afd6a.tar.xz
android_bootable_recovery-75da77105f329f5d6c1b4dc46ce02377ec4afd6a.tar.zst
android_bootable_recovery-75da77105f329f5d6c1b4dc46ce02377ec4afd6a.zip
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk24
1 files changed, 24 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index fc981e12d..12a37ba43 100644
--- a/Android.mk
+++ b/Android.mk
@@ -102,6 +102,30 @@ else
LOCAL_STATIC_LIBRARIES += $(TARGET_RECOVERY_UI_LIB)
endif
+ifeq ($(BOARD_CACHEIMAGE_PARTITION_SIZE),)
+LOCAL_REQUIRED_MODULES := recovery-persist recovery-refresh
+endif
+
+include $(BUILD_EXECUTABLE)
+
+# recovery-persist (system partition dynamic executable run after /data mounts)
+# ===============================
+include $(CLEAR_VARS)
+LOCAL_SRC_FILES := recovery-persist.cpp
+LOCAL_MODULE := recovery-persist
+LOCAL_SHARED_LIBRARIES := liblog libbase
+LOCAL_CFLAGS := -Werror
+LOCAL_INIT_RC := recovery-persist.rc
+include $(BUILD_EXECUTABLE)
+
+# recovery-refresh (system partition dynamic executable run at init)
+# ===============================
+include $(CLEAR_VARS)
+LOCAL_SRC_FILES := recovery-refresh.cpp
+LOCAL_MODULE := recovery-refresh
+LOCAL_SHARED_LIBRARIES := liblog
+LOCAL_CFLAGS := -Werror
+LOCAL_INIT_RC := recovery-refresh.rc
include $(BUILD_EXECUTABLE)
# libverifier (static library)