28 lines
989 B
Makefile
28 lines
989 B
Makefile
LOCAL_PATH := $(call my-dir)
|
|
|
|
# HAL module implemenation stored in
|
|
# hw/<POWERS_HARDWARE_MODULE_ID>.<ro.hardware>.so
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE_RELATIVE_PATH := hw
|
|
LOCAL_SHARED_LIBRARIES := liblog libcutils libdl libxml2 libbase libhidlbase libhidltransport libutils android.hardware.power@1.2
|
|
LOCAL_HEADER_LIBRARIES += libutils_headers
|
|
LOCAL_HEADER_LIBRARIES += libhardware_headers
|
|
LOCAL_SRC_FILES := power-common.c metadata-parser.c utils.c list.c hint-data.c powerhintparser.c service.cpp Power.cpp
|
|
LOCAL_C_INCLUDES := external/libxml2/include \
|
|
external/icu/icu4c/source/common
|
|
|
|
LOCAL_SRC_FILES += power-8953.c
|
|
|
|
ifeq ($(TARGET_USES_INTERACTION_BOOST),true)
|
|
LOCAL_CFLAGS += -DINTERACTION_BOOST
|
|
endif
|
|
|
|
LOCAL_MODULE := android.hardware.power@1.2-service
|
|
LOCAL_INIT_RC := android.hardware.power@1.2-service.rc
|
|
LOCAL_MODULE_TAGS := optional
|
|
LOCAL_CFLAGS += -Wno-unused-parameter -Wno-unused-variable
|
|
LOCAL_VENDOR_MODULE := true
|
|
include $(BUILD_EXECUTABLE)
|
|
|