1ifneq ($(filter msm8996,$(TARGET_BOARD_PLATFORM)),) 2LOCAL_PATH := $(call my-dir) 3 4# HAL Shared library for the target. Used by libhardware. 5include $(CLEAR_VARS) 6LOCAL_C_INCLUDES += hardware/libhardware/include 7LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/gpt-utils/inc 8LOCAL_CFLAGS += -Wall -Werror 9LOCAL_SHARED_LIBRARIES += liblog librecovery_updater_msm libcutils 10LOCAL_SRC_FILES := boot_control.cpp 11LOCAL_MODULE_RELATIVE_PATH := hw 12LOCAL_MODULE := bootctrl.$(TARGET_BOARD_PLATFORM) 13include $(BUILD_SHARED_LIBRARY) 14 15# Static library for the target. Used by update_engine_sideload from recovery. 16include $(CLEAR_VARS) 17LOCAL_C_INCLUDES += hardware/libhardware/include 18LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/gpt-utils/inc 19LOCAL_CFLAGS += -Wall -Werror 20LOCAL_SHARED_LIBRARIES += liblog librecovery_updater_msm libcutils 21LOCAL_SRC_FILES := boot_control.cpp 22LOCAL_MODULE := bootctrl.$(TARGET_BOARD_PLATFORM) 23include $(BUILD_STATIC_LIBRARY) 24 25endif 26