Build Static version of bootctrl library for A/B sideloading

To support sideloading in recovery mode on A/B, we need static
version of bootcontrol hal library, enable the same.

Change-Id: I6f1343129d1f8a088210fed2313c193996755cdb
diff --git a/Android.mk b/Android.mk
index 1f5250c..32c315c 100644
--- a/Android.mk
+++ b/Android.mk
@@ -11,4 +11,14 @@
 LOCAL_MODULE_OWNER := qti
 LOCAL_VENDOR_MODULE := true
 include $(BUILD_SHARED_LIBRARY)
+
+include $(CLEAR_VARS)
+LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/gpt-utils/inc
+LOCAL_CFLAGS += -Wall -Werror
+LOCAL_SHARED_LIBRARIES += liblog librecovery_updater_msm libcutils
+LOCAL_HEADER_LIBRARIES := libhardware_headers
+LOCAL_SRC_FILES := boot_control.cpp
+LOCAL_MODULE := bootctrl.$(TARGET_BOARD_PLATFORM)
+include $(BUILD_STATIC_LIBRARY)
+
 endif