summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorNaveen Ramaraj <nramaraj@codeaurora.org>2016-07-15 11:39:23 -0700
committerSiqi Lin <siqilin@google.com>2016-07-19 10:46:53 -0700
commit2a276b35e001423d09ac9d81fea6adb40f60ab98 (patch)
tree8a830a985bec3d2ecdb0dad6ccd7ed1fa13d34d9 /Android.mk
parent710b9bfa09d71aca82de172740492c6cd0fa46ab (diff)
downloadandroid_hardware_qcom_bootctrl-2a276b35e001423d09ac9d81fea6adb40f60ab98.tar.gz
android_hardware_qcom_bootctrl-2a276b35e001423d09ac9d81fea6adb40f60ab98.tar.bz2
android_hardware_qcom_bootctrl-2a276b35e001423d09ac9d81fea6adb40f60ab98.zip
bootcontrol: Reduce the number of writes in the set active slot function
We now write the 'gpt_disk' structure back to storage only once per each physical disk. Also did a minor cleanup of the code. Bug: 28352938 Bug: 29436641 Change-Id: Id4fd887fe2978f9cd17447e9a1b715f0a8df5073
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Android.mk b/Android.mk
index 14873fb..3e664cc 100644
--- a/Android.mk
+++ b/Android.mk
@@ -5,7 +5,7 @@ LOCAL_C_INCLUDES += hardware/libhardware/include
LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/gpt-utils/inc
LOCAL_CFLAGS += -Wall -Werror
LOCAL_SHARED_LIBRARIES += liblog librecovery_updater_msm libcutils
-LOCAL_SRC_FILES := boot_control.c
+LOCAL_SRC_FILES := boot_control.cpp
LOCAL_MODULE_RELATIVE_PATH := hw
LOCAL_MODULE := bootctrl.$(TARGET_BOARD_PLATFORM)
include $(BUILD_SHARED_LIBRARY)