summaryrefslogtreecommitdiffstats
path: root/Android.bp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2018-08-07 00:52:24 +0200
committerTao Bao <tbao@google.com>2018-08-08 23:26:27 +0200
commit818f938188b577c91c3f6cf9b87cfff714f4388f (patch)
treeb759475311552befd6668665871e629f5177c190 /Android.bp
parentMerge "Revert "Build and use minadbd as a shared library."" (diff)
downloadandroid_bootable_recovery-818f938188b577c91c3f6cf9b87cfff714f4388f.tar
android_bootable_recovery-818f938188b577c91c3f6cf9b87cfff714f4388f.tar.gz
android_bootable_recovery-818f938188b577c91c3f6cf9b87cfff714f4388f.tar.bz2
android_bootable_recovery-818f938188b577c91c3f6cf9b87cfff714f4388f.tar.lz
android_bootable_recovery-818f938188b577c91c3f6cf9b87cfff714f4388f.tar.xz
android_bootable_recovery-818f938188b577c91c3f6cf9b87cfff714f4388f.tar.zst
android_bootable_recovery-818f938188b577c91c3f6cf9b87cfff714f4388f.zip
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp14
1 files changed, 13 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp
index 22c90bd3e..97126f5b1 100644
--- a/Android.bp
+++ b/Android.bp
@@ -16,6 +16,11 @@ cc_defaults {
name: "recovery_defaults",
cflags: [
+ "-D_FILE_OFFSET_BITS=64",
+
+ // Must be the same as RECOVERY_API_VERSION.
+ "-DRECOVERY_API_VERSION=3",
+
"-Wall",
"-Werror",
],
@@ -24,6 +29,7 @@ cc_defaults {
// Generic device that uses ScreenRecoveryUI.
cc_library_static {
name: "librecovery_ui_default",
+ recovery_available: true,
defaults: [
"recovery_defaults",
@@ -37,6 +43,7 @@ cc_library_static {
// The default wear device that uses WearRecoveryUI.
cc_library_static {
name: "librecovery_ui_wear",
+ recovery_available: true,
defaults: [
"recovery_defaults",
@@ -50,6 +57,7 @@ cc_library_static {
// The default VR device that uses VrRecoveryUI.
cc_library_static {
name: "librecovery_ui_vr",
+ recovery_available: true,
defaults: [
"recovery_defaults",
@@ -62,6 +70,7 @@ cc_library_static {
cc_library_static {
name: "libverifier",
+ recovery_available: true,
defaults: [
"recovery_defaults",
@@ -72,10 +81,13 @@ cc_library_static {
"verifier.cpp",
],
- static_libs: [
+ shared_libs: [
"libbase",
"libcrypto",
"libcrypto_utils",
+ ],
+
+ static_libs: [
"libotautil",
],
}