summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2016-11-04 19:17:31 +0100
committerandroid-build-merger <android-build-merger@google.com>2016-11-04 19:17:31 +0100
commit92097726efb6038b632d3c32b109426d1786bdb6 (patch)
tree3d2a89d6bd3785e4bb0be2055f272b8f9581c04f /Android.mk
parentMerge "updater: Fix a bug in DeleteFn()." am: 529032f4a0 (diff)
parentMerge "Cleanup the duplicates of logs rotation functions" (diff)
downloadandroid_bootable_recovery-92097726efb6038b632d3c32b109426d1786bdb6.tar
android_bootable_recovery-92097726efb6038b632d3c32b109426d1786bdb6.tar.gz
android_bootable_recovery-92097726efb6038b632d3c32b109426d1786bdb6.tar.bz2
android_bootable_recovery-92097726efb6038b632d3c32b109426d1786bdb6.tar.lz
android_bootable_recovery-92097726efb6038b632d3c32b109426d1786bdb6.tar.xz
android_bootable_recovery-92097726efb6038b632d3c32b109426d1786bdb6.tar.zst
android_bootable_recovery-92097726efb6038b632d3c32b109426d1786bdb6.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)