summaryrefslogtreecommitdiffstats
path: root/Android.bp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2018-08-10 23:04:01 +0200
committerandroid-build-merger <android-build-merger@google.com>2018-08-10 23:04:01 +0200
commit4a05e5ebdfd849682b40d8da41a257652017d0a5 (patch)
treeb759475311552befd6668665871e629f5177c190 /Android.bp
parentMerge "Revert "Build and use minadbd as a shared library."" am: 08cf9ccb2f am: 60e218cb5e am: 60fafd50d3 (diff)
parentMerge "`recovery` uses more shared libraries." am: 3c5e2c1c7e am: f8f53fd04c (diff)
downloadandroid_bootable_recovery-4a05e5ebdfd849682b40d8da41a257652017d0a5.tar
android_bootable_recovery-4a05e5ebdfd849682b40d8da41a257652017d0a5.tar.gz
android_bootable_recovery-4a05e5ebdfd849682b40d8da41a257652017d0a5.tar.bz2
android_bootable_recovery-4a05e5ebdfd849682b40d8da41a257652017d0a5.tar.lz
android_bootable_recovery-4a05e5ebdfd849682b40d8da41a257652017d0a5.tar.xz
android_bootable_recovery-4a05e5ebdfd849682b40d8da41a257652017d0a5.tar.zst
android_bootable_recovery-4a05e5ebdfd849682b40d8da41a257652017d0a5.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",
],
}