diff options
| -rw-r--r-- | Android.mk | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -11,6 +11,10 @@ LOCAL_SHARED_LIBRARIES := liblog libcutils libdl libbase libhidlbase libhidltran LOCAL_HEADER_LIBRARIES += libhardware_headers LOCAL_SRC_FILES := power-common.c metadata-parser.c utils.c list.c hint-data.c service.cpp Power.cpp +ifneq ($(BOARD_POWER_CUSTOM_BOARD_LIB),) + LOCAL_WHOLE_STATIC_LIBRARIES += $(BOARD_POWER_CUSTOM_BOARD_LIB) +else + # Include target-specific files. ifeq ($(call is-board-platform-in-list, msm8974), true) LOCAL_SRC_FILES += power-8974.c @@ -72,6 +76,8 @@ ifeq ($(call is-board-platform-in-list,msmnile), true) LOCAL_SRC_FILES += power-msmnile.c endif +endif # End of board specific list + ifneq ($(TARGET_POWER_SET_FEATURE_LIB),) LOCAL_STATIC_LIBRARIES += $(TARGET_POWER_SET_FEATURE_LIB) endif |
