sanders: Import CAF binderized power hal from LA.UM.8.6.r1-02600-89xx.0
Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
This commit is contained in:
30
power/Android.mk
Normal file
30
power/Android.mk
Normal file
@@ -0,0 +1,30 @@
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
ifeq ($(call is-vendor-board-platform,QCOM),true)
|
||||
|
||||
# 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
|
||||
LOCAL_HEADER_LIBRARIES += libutils_headers
|
||||
LOCAL_HEADER_LIBRARIES += libhardware_headers
|
||||
LOCAL_SRC_FILES := power.c metadata-parser.c utils.c list.c hint-data.c powerhintparser.c
|
||||
LOCAL_C_INCLUDES := external/libxml2/include \
|
||||
external/icu/icu4c/source/common
|
||||
|
||||
# Include target-specific files.
|
||||
LOCAL_SRC_FILES += power-8953.c
|
||||
|
||||
ifeq ($(TARGET_USES_INTERACTION_BOOST),true)
|
||||
LOCAL_CFLAGS += -DINTERACTION_BOOST
|
||||
endif
|
||||
|
||||
LOCAL_MODULE := power.qcom
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_CFLAGS += -Wno-unused-parameter -Wno-unused-variable
|
||||
LOCAL_VENDOR_MODULE := true
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
||||
endif
|
||||
Reference in New Issue
Block a user