summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2016-11-04 19:14:01 +0100
committerandroid-build-merger <android-build-merger@google.com>2016-11-04 19:14:01 +0100
commit99adda9d67e16e447dffc3e4b7d6505206171f69 (patch)
tree2e98105a06f173122b604ee2a52fbc5307278e11 /Android.mk
parentMerge "updater: Fix a bug in DeleteFn()." (diff)
parentMerge "Cleanup the duplicates of logs rotation functions" (diff)
downloadandroid_bootable_recovery-99adda9d67e16e447dffc3e4b7d6505206171f69.tar
android_bootable_recovery-99adda9d67e16e447dffc3e4b7d6505206171f69.tar.gz
android_bootable_recovery-99adda9d67e16e447dffc3e4b7d6505206171f69.tar.bz2
android_bootable_recovery-99adda9d67e16e447dffc3e4b7d6505206171f69.tar.lz
android_bootable_recovery-99adda9d67e16e447dffc3e4b7d6505206171f69.tar.xz
android_bootable_recovery-99adda9d67e16e447dffc3e4b7d6505206171f69.tar.zst
android_bootable_recovery-99adda9d67e16e447dffc3e4b7d6505206171f69.zip
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk11
1 files changed, 8 insertions, 3 deletions
diff --git a/Android.mk b/Android.mk
index dbc5603d8..2943f016b 100644
--- a/Android.mk
+++ b/Android.mk
@@ -46,6 +46,7 @@ LOCAL_SRC_FILES := \
install.cpp \
recovery.cpp \
roots.cpp \
+ rotate_logs.cpp \
screen_ui.cpp \
ui.cpp \
verifier.cpp \
@@ -119,7 +120,9 @@ include $(BUILD_EXECUTABLE)
# recovery-persist (system partition dynamic executable run after /data mounts)
# ===============================
include $(CLEAR_VARS)
-LOCAL_SRC_FILES := recovery-persist.cpp
+LOCAL_SRC_FILES := \
+ recovery-persist.cpp \
+ rotate_logs.cpp
LOCAL_MODULE := recovery-persist
LOCAL_SHARED_LIBRARIES := liblog libbase
LOCAL_CFLAGS := -Werror
@@ -129,9 +132,11 @@ include $(BUILD_EXECUTABLE)
# recovery-refresh (system partition dynamic executable run at init)
# ===============================
include $(CLEAR_VARS)
-LOCAL_SRC_FILES := recovery-refresh.cpp
+LOCAL_SRC_FILES := \
+ recovery-refresh.cpp \
+ rotate_logs.cpp
LOCAL_MODULE := recovery-refresh
-LOCAL_SHARED_LIBRARIES := liblog
+LOCAL_SHARED_LIBRARIES := liblog libbase
LOCAL_CFLAGS := -Werror
LOCAL_INIT_RC := recovery-refresh.rc
include $(BUILD_EXECUTABLE)