1 ifneq ($(filter msm8960 msm8974,$(TARGET_BOARD_PLATFORM)),) 2 LOCAL_PATH := $(call my-dir) 3 4 # HAL module implemenation stored in 5 # hw/<POWERS_HARDWARE_MODULE_ID>.<ro.hardware>.so 6 include $(CLEAR_VARS) 7 8 9 LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw 10 LOCAL_SHARED_LIBRARIES := liblog libcutils libdl 11 LOCAL_SRC_FILES := \ 12 power.c \ 13 14 LOCAL_MODULE:= power.$(TARGET_BOARD_PLATFORM) 15 LOCAL_MODULE_TAGS := optional 16 include $(BUILD_SHARED_LIBRARY) 17 endif 18