1# TODO: Find a better way to separate build configs for ADP vs non-ADP devices 2ifneq ($(TARGET_BOARD_AUTO),true) 3 ifneq ($(filter msm8960 msm8974,$(TARGET_BOARD_PLATFORM)),) 4 LOCAL_PATH := $(call my-dir) 5 6 # HAL module implemenation stored in 7 # hw/<POWERS_HARDWARE_MODULE_ID>.<ro.hardware>.so 8 include $(CLEAR_VARS) 9 10 11 LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw 12 LOCAL_SHARED_LIBRARIES := liblog libcutils libdl 13 LOCAL_SRC_FILES := \ 14 power.c \ 15 16 LOCAL_MODULE:= power.$(TARGET_BOARD_PLATFORM) 17 LOCAL_MODULE_TAGS := optional 18 include $(BUILD_SHARED_LIBRARY) 19 endif 20endif 21