summaryrefslogtreecommitdiffstats
path: root/otautil
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2018-08-10 22:12:34 +0200
committerandroid-build-merger <android-build-merger@google.com>2018-08-10 22:12:34 +0200
commit8ff5570ae550d416c414d07fa160acbc00cac18d (patch)
treeb759475311552befd6668665871e629f5177c190 /otautil
parentMerge "Revert "Build and use minadbd as a shared library."" am: 08cf9ccb2f am: 60e218cb5e (diff)
parentMerge "`recovery` uses more shared libraries." am: 3c5e2c1c7e (diff)
downloadandroid_bootable_recovery-8ff5570ae550d416c414d07fa160acbc00cac18d.tar
android_bootable_recovery-8ff5570ae550d416c414d07fa160acbc00cac18d.tar.gz
android_bootable_recovery-8ff5570ae550d416c414d07fa160acbc00cac18d.tar.bz2
android_bootable_recovery-8ff5570ae550d416c414d07fa160acbc00cac18d.tar.lz
android_bootable_recovery-8ff5570ae550d416c414d07fa160acbc00cac18d.tar.xz
android_bootable_recovery-8ff5570ae550d416c414d07fa160acbc00cac18d.tar.zst
android_bootable_recovery-8ff5570ae550d416c414d07fa160acbc00cac18d.zip
Diffstat (limited to 'otautil')
-rw-r--r--otautil/Android.bp17
1 files changed, 8 insertions, 9 deletions
diff --git a/otautil/Android.bp b/otautil/Android.bp
index b058f7b35..56c7c9e89 100644
--- a/otautil/Android.bp
+++ b/otautil/Android.bp
@@ -16,6 +16,11 @@ cc_library_static {
name: "libotautil",
host_supported: true,
+ recovery_available: true,
+
+ defaults: [
+ "recovery_defaults",
+ ],
// Minimal set of files to support host build.
srcs: [
@@ -23,16 +28,10 @@ cc_library_static {
"rangeset.cpp",
],
- static_libs: [
+ shared_libs: [
"libbase",
],
- cflags: [
- "-D_FILE_OFFSET_BITS=64",
- "-Werror",
- "-Wall",
- ],
-
export_include_dirs: [
"include",
],
@@ -46,9 +45,9 @@ cc_library_static {
"thermalutil.cpp",
],
- static_libs: [
- "libselinux",
+ shared_libs: [
"libcutils",
+ "libselinux",
],
},
},