diff --git a/Android.mk b/Android.mk index 3b90046..f2ef2b6 100644 --- a/Android.mk +++ b/Android.mk @@ -8,14 +8,7 @@ include $(CLEAR_VARS) LOCAL_MODULE_RELATIVE_PATH := hw # KEYSTONE(I1132378f14428bf511f3cea4f419e90a6e89f823,b/181709127) -LOCAL_SHARED_LIBRARIES := liblog libcutils libdl libxml2 libbase libutils 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_SHARED_LIBRARIES := liblog libcutils libdl libxml2 libbase libutils android.hardware.power-V1-ndk_platform libbinder_ndk 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