sdm845-common: Add power hal

Change-Id: I764cccb93b01ea2bfaca4cfe93ac314b7c680d5d
This commit is contained in:
Luca Stefani
2018-07-15 00:11:17 +02:00
committed by LuK1337
parent 3c7edbc4a3
commit 924e50ddc2
21 changed files with 2131 additions and 0 deletions

26
power/Android.mk Normal file
View File

@@ -0,0 +1,26 @@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := power.qcom
LOCAL_MODULE_RELATIVE_PATH := hw
LOCAL_MODULE_TAGS := optional
LOCAL_SRC_FILES := \
hint-data.c \
list.c \
metadata-parser.c \
power-845.c \
power.c \
powerhintparser.c \
utils.c
LOCAL_C_INCLUDES := external/libxml2/include \
external/icu/icu4c/source/common
LOCAL_SHARED_LIBRARIES := liblog libcutils libdl libxml2
LOCAL_CFLAGS += -Werror -Wall -Wno-unused-parameter
LOCAL_CFLAGS += -DINTERACTION_BOOST
include $(BUILD_SHARED_LIBRARY)