summaryrefslogtreecommitdiffstats
path: root/Android.bp
diff options
context:
space:
mode:
authorxunchang <xunchang@google.com>2019-03-12 20:40:14 +0100
committerxunchang <xunchang@google.com>2019-03-14 23:35:09 +0100
commit37304f3cc920804c97d52df929b9871c057c55e0 (patch)
tree3417ec3d003d01cdbe69a5ab876f591602baf4a9 /Android.bp
parentMerge "Start charger at /system/bin/charger." (diff)
downloadandroid_bootable_recovery-37304f3cc920804c97d52df929b9871c057c55e0.tar
android_bootable_recovery-37304f3cc920804c97d52df929b9871c057c55e0.tar.gz
android_bootable_recovery-37304f3cc920804c97d52df929b9871c057c55e0.tar.bz2
android_bootable_recovery-37304f3cc920804c97d52df929b9871c057c55e0.tar.lz
android_bootable_recovery-37304f3cc920804c97d52df929b9871c057c55e0.tar.xz
android_bootable_recovery-37304f3cc920804c97d52df929b9871c057c55e0.tar.zst
android_bootable_recovery-37304f3cc920804c97d52df929b9871c057c55e0.zip
Diffstat (limited to 'Android.bp')
-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,