diff options
author | xunchang <xunchang@google.com> | 2019-03-20 10:47:41 -0700 |
---|---|---|
committer | xunchang <xunchang@google.com> | 2019-03-21 18:28:33 -0700 |
commit | 95a20ef47a4a8868244b45e180d828048728effd (patch) | |
tree | 5ac6dc7cc947a71d29599d5f4e482f46191e4d2d | |
parent | 78c597e27981e43657f123a3b6d7a46ce4e91e6f (diff) | |
download | hikey-95a20ef47a4a8868244b45e180d828048728effd.tar.gz |
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)
-rw-r--r-- | recovery/Android.bp | 5 | ||||
-rw-r--r-- | recovery/recovery_ui.cpp | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/recovery/Android.bp b/recovery/Android.bp index 17dde5f0..0fd89068 100644 --- a/recovery/Android.bp +++ b/recovery/Android.bp @@ -26,7 +26,8 @@ cc_library_static { 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 d67ff5f8..e82be6a6 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 { |