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
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",
],
}
diff --git a/recovery/recovery_ui.cpp b/recovery/recovery_ui.cpp
index d67ff5f..e82be6a 100644
--- a/recovery/recovery_ui.cpp
+++ b/recovery/recovery_ui.cpp
@@ -14,8 +14,8 @@
* limitations under the License.
*/
-#include <device.h>
-#include <screen_ui.h>
+#include <recovery_ui/device.h>
+#include <recovery_ui/screen_ui.h>
namespace android {
namespace device {