diff options
author | xunchang <xunchang@google.com> | 2019-03-20 10:47:41 -0700 |
---|---|---|
committer | xunchang <xunchang@google.com> | 2019-03-20 10:47:41 -0700 |
commit | 73c3b397a4af925b93c3815416817050416f003c (patch) | |
tree | 4e83c10561b89fafa2911ee7ce7841a5beba6835 | |
parent | 7484f8a62a5bfed3829c129c0156152a38e8d0f2 (diff) | |
download | hikey-73c3b397a4af925b93c3815416817050416f003c.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
-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 { |