diff options
Diffstat (limited to 'otautil/Android.bp')
-rw-r--r-- | otautil/Android.bp | 34 |
1 files changed, 5 insertions, 29 deletions
diff --git a/otautil/Android.bp b/otautil/Android.bp index 0a21731e8..3b3f9cbc4 100644 --- a/otautil/Android.bp +++ b/otautil/Android.bp @@ -16,6 +16,7 @@ cc_library_static { name: "libotautil", host_supported: true, + vendor_available: true, recovery_available: true, defaults: [ @@ -24,44 +25,19 @@ cc_library_static { // Minimal set of files to support host build. srcs: [ + "dirutil.cpp", "paths.cpp", "rangeset.cpp", + "sysutil.cpp", ], shared_libs: [ "libbase", + "libcutils", + "libselinux", ], export_include_dirs: [ "include", ], - - target: { - android: { - srcs: [ - "dirutil.cpp", - "logging.cpp", - "mounts.cpp", - "parse_install_logs.cpp", - "roots.cpp", - "sysutil.cpp", - "thermalutil.cpp", - ], - - include_dirs: [ - "system/vold", - ], - - static_libs: [ - "libfstab", - ], - - shared_libs: [ - "libcutils", - "libext4_utils", - "libfs_mgr", - "libselinux", - ], - }, - }, } |