diff options
author | Tianjie Xu <xunchang@google.com> | 2019-03-15 18:40:52 +0100 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2019-03-15 18:40:52 +0100 |
commit | 698dc08561643025aec34804fda9f5c551d46305 (patch) | |
tree | 3417ec3d003d01cdbe69a5ab876f591602baf4a9 /Android.bp | |
parent | Merge "Start charger at /system/bin/charger." (diff) | |
parent | Implement FilePackage class (diff) | |
download | android_bootable_recovery-698dc08561643025aec34804fda9f5c551d46305.tar android_bootable_recovery-698dc08561643025aec34804fda9f5c551d46305.tar.gz android_bootable_recovery-698dc08561643025aec34804fda9f5c551d46305.tar.bz2 android_bootable_recovery-698dc08561643025aec34804fda9f5c551d46305.tar.lz android_bootable_recovery-698dc08561643025aec34804fda9f5c551d46305.tar.xz android_bootable_recovery-698dc08561643025aec34804fda9f5c551d46305.tar.zst android_bootable_recovery-698dc08561643025aec34804fda9f5c551d46305.zip |
Diffstat (limited to '')
-rw-r--r-- | Android.bp | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp index 10f6c7976..4c7ce52e9 100644 --- a/Android.bp +++ b/Android.bp @@ -151,6 +151,7 @@ cc_defaults { static_libs: [ "librecovery_fastboot", "libminui", + "libpackage", "libverifier", "libotautil", @@ -175,7 +176,6 @@ cc_library_static { "fsck_unshare_blocks.cpp", "fuse_sdcard_provider.cpp", "install.cpp", - "package.cpp", "recovery.cpp", "roots.cpp", ], @@ -210,6 +210,29 @@ cc_library_static { ], } +cc_library_static { + name: "libpackage", + recovery_available: true, + + defaults: [ + "recovery_defaults", + ], + + srcs: [ + "package.cpp", + ], + + shared_libs: [ + "libbase", + "libcrypto", + "libziparchive", + ], + + static_libs: [ + "libotautil", + ], +} + cc_binary { name: "recovery", recovery: true, |