PowerHAL: Make powerHAL calls compatible with HIDL
Bug: 31177288
Change-Id: Ibce75c770996aa32385dab388baf32abb27792cb
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
diff --git a/services/surfaceflinger/Android.mk b/services/surfaceflinger/Android.mk
index 39b4528..be892c9 100644
--- a/services/surfaceflinger/Android.mk
+++ b/services/surfaceflinger/Android.mk
@@ -143,7 +143,12 @@
libgui \
libpowermanager \
libvulkan \
- libprotobuf-cpp-full
+ libprotobuf-cpp-full \
+ libhidl \
+ libhwbinder \
+ libbase \
+ libutils \
+ android.hardware.power@1.0
LOCAL_CFLAGS += -Wall -Werror -Wunused -Wunreachable-code