1LOCAL_PATH := $(call my-dir) 2 3# HAL module implemenation stored in 4# hw/<POWERS_HARDWARE_MODULE_ID>.<ro.hardware>.so 5include $(CLEAR_VARS) 6 7LOCAL_MODULE_RELATIVE_PATH := hw 8LOCAL_MULTILIB := both 9LOCAL_SHARED_LIBRARIES := liblog libcutils libdl 10LOCAL_SRC_FILES := power.c metadata-parser.c utils.c list.c hint-data.c 11 12# Include target-specific files. 13 14ifeq ($(call is-board-platform-in-list, msm8994), true) 15LOCAL_SRC_FILES += power-8994.c 16endif 17 18ifeq ($(call is-board-platform-in-list, msm8992), true) 19LOCAL_SRC_FILES += power-8992.c 20endif 21 22ifeq ($(TARGET_USES_INTERACTION_BOOST),true) 23 LOCAL_CFLAGS += -DINTERACTION_BOOST 24endif 25 26LOCAL_MODULE := power.angler 27LOCAL_MODULE_TAGS := optional 28include $(BUILD_SHARED_LIBRARY) 29