You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
900 B
43 lines
900 B
3 years ago
|
LOCAL_PATH := $(call my-dir)
|
||
|
|
||
|
ifeq ($(call is-vendor-board-platform,QCOM),true)
|
||
|
|
||
|
include $(CLEAR_VARS)
|
||
|
|
||
|
LOCAL_MODULE_RELATIVE_PATH := hw
|
||
|
|
||
|
LOCAL_SHARED_LIBRARIES := \
|
||
|
liblog \
|
||
|
libcutils \
|
||
|
libdl \
|
||
|
libbase \
|
||
|
libutils \
|
||
|
android.hardware.power-ndk_platform \
|
||
|
vendor.lineage.power-ndk_platform \
|
||
|
libbinder_ndk
|
||
|
|
||
|
LOCAL_HEADER_LIBRARIES := \
|
||
|
libhardware_headers
|
||
|
|
||
|
LOCAL_SRC_FILES := \
|
||
|
power-common.c \
|
||
|
metadata-parser.c \
|
||
|
utils.c \
|
||
|
list.c \
|
||
|
hint-data.c \
|
||
|
Power.cpp \
|
||
|
LineagePower.cpp \
|
||
|
main.cpp
|
||
|
|
||
|
LOCAL_CFLAGS += -Wall -Wextra -Werror
|
||
|
|
||
|
LOCAL_MODULE := android.hardware.power-service-qti-sm7125
|
||
|
LOCAL_INIT_RC := android.hardware.power-service-qti-sm7125.rc
|
||
|
LOCAL_MODULE_TAGS := optional
|
||
|
LOCAL_CFLAGS += -Wno-unused-parameter -Wno-unused-variable
|
||
|
LOCAL_VENDOR_MODULE := true
|
||
|
LOCAL_VINTF_FRAGMENTS := power.xml
|
||
|
|
||
|
include $(BUILD_EXECUTABLE)
|
||
|
endif
|