power: Replace library name with ndk from ndk_platform for upgrade sdk version
Replace library name with suffix ndk from ndk_platform for upgrade sdk version Change-Id: If9f07dd855bf5b13806a8c80036c49c2c2df8f51 Signed-off-by: Vinay Rijhwani <quic_vrijhwan@quicinc.com>
This commit is contained in:
@@ -8,7 +8,14 @@ include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE_RELATIVE_PATH := hw
|
||||
# KEYSTONE(I1132378f14428bf511f3cea4f419e90a6e89f823,b/181709127)
|
||||
LOCAL_SHARED_LIBRARIES := liblog libcutils libdl libxml2 libbase libutils android.hardware.power-V1-ndk_platform libbinder_ndk
|
||||
LOCAL_SHARED_LIBRARIES := liblog libcutils libdl libxml2 libbase libutils libbinder_ndk
|
||||
|
||||
ifeq ($(call math_gt_or_eq, $(PLATFORM_SDK_VERSION), 34), true)
|
||||
LOCAL_SHARED_LIBRARIES += android.hardware.power-V1-ndk
|
||||
else
|
||||
LOCAL_SHARED_LIBRARIES += android.hardware.power-V1-ndk_platform
|
||||
endif
|
||||
|
||||
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 Power.cpp main.cpp
|
||||
|
||||
Reference in New Issue
Block a user