summaryrefslogtreecommitdiffstats
path: root/otautil
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 /otautil
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 '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",
],
},
},