mediatek: power: Allow devices to exclude custom PowerHAL wrapper
* Some MediaTek devices may not use mtkpower (e.g. switched to
  libperfmgr), so allow them to exclude this wrapper to avoid
  dependency errors.

Signed-off-by: bengris32 <bengris32@protonmail.ch>
Change-Id: Ia8a3695476ebfd368cb4dbca902da0ad1db32f1d
diff --git a/power/Android.mk b/power/Android.mk
index c0cf968..5e0d41a 100644
--- a/power/Android.mk
+++ b/power/Android.mk
@@ -1,3 +1,5 @@
+ifneq ($(TARGET_POWERHAL_AIDL_VERSION),none)
+
 LOCAL_PATH := $(call my-dir)
 
 include $(CLEAR_VARS)
@@ -29,3 +31,5 @@
 endif
 
 include $(BUILD_SHARED_LIBRARY)
+
+endif # TARGET_POWERHAL_AIDL_VERSION