Revert "Power:Replace library name from ndk_platform to ndk"
Replace library name to ndk_platform for Android-S targets. Change-Id: Ia27a33a0d78671b5087abe6a562a7513053981ac
This commit is contained in:
@@ -8,14 +8,7 @@ include $(CLEAR_VARS)
|
|||||||
|
|
||||||
LOCAL_MODULE_RELATIVE_PATH := hw
|
LOCAL_MODULE_RELATIVE_PATH := hw
|
||||||
# KEYSTONE(I1132378f14428bf511f3cea4f419e90a6e89f823,b/181709127)
|
# KEYSTONE(I1132378f14428bf511f3cea4f419e90a6e89f823,b/181709127)
|
||||||
LOCAL_SHARED_LIBRARIES := liblog libcutils libdl libxml2 libbase libutils libbinder_ndk
|
LOCAL_SHARED_LIBRARIES := liblog libcutils libdl libxml2 libbase libutils android.hardware.power-V1-ndk_platform libbinder_ndk
|
||||||
|
|
||||||
ifeq ($(call math_gt_or_eq, 33, $(PLATFORM_SDK_VERSION)), 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 += libutils_headers
|
||||||
LOCAL_HEADER_LIBRARIES += libhardware_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
|
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