summaryrefslogtreecommitdiffstats
path: root/Android.bp
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2019-03-15 18:40:52 +0100
committerGerrit Code Review <noreply-gerritcodereview@google.com>2019-03-15 18:40:52 +0100
commit698dc08561643025aec34804fda9f5c551d46305 (patch)
tree3417ec3d003d01cdbe69a5ab876f591602baf4a9 /Android.bp
parentMerge "Start charger at /system/bin/charger." (diff)
parentImplement FilePackage class (diff)
downloadandroid_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.bp25
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,