Add libhardware header library
Change-Id: I6605dffb63e4564c705ab3f8ee6af5f158550ee4
diff --git a/Android.mk b/Android.mk
index a981ff5..1f5250c 100644
--- a/Android.mk
+++ b/Android.mk
@@ -1,10 +1,10 @@
ifeq ($(AB_OTA_UPDATER),true)
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
-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_HEADER_LIBRARIES += libhardware_headers
LOCAL_SRC_FILES := boot_control.cpp
LOCAL_MODULE_RELATIVE_PATH := hw
LOCAL_MODULE := bootctrl.$(TARGET_BOARD_PLATFORM)