Use the exposed librecovery_ui in device specific recovery code
Use the librecovery_ui as shared library instead of including
bootable/recovery.
Bug: 76436783
Test: mma
Change-Id: Id7f87c14db6c44685acd1d153f42d1b059e3582e
(cherry picked from commit 73c3b397a4af925b93c3815416817050416f003c)
diff --git a/recovery/Android.bp b/recovery/Android.bp
index 17dde5f..0fd8906 100644
--- a/recovery/Android.bp
+++ b/recovery/Android.bp
@@ -26,7 +26,8 @@
srcs: [
"recovery_ui.cpp",
],
- include_dirs: [
- "bootable/recovery"
+
+ shared_libs: [
+ "librecovery_ui",
],
}