Merge "libotautil exports libfstab header." am: 8e0821e690 am: 416343e73a
am: 19d587d22c
Change-Id: Id40eeb018b6ad5dfb0d5326b8c1144dba4788619
diff --git a/Android.bp b/Android.bp
index a44a2c6..fc8b139 100644
--- a/Android.bp
+++ b/Android.bp
@@ -75,7 +75,6 @@
// external dependencies
"libhealthhalutils",
- "libfstab",
],
}
@@ -153,7 +152,6 @@
static_libs: [
"libotautil",
- "libfstab",
],
init_rc: [
@@ -181,7 +179,6 @@
static_libs: [
"libotautil",
- "libfstab",
],
init_rc: [
diff --git a/fsck_unshare_blocks.cpp b/fsck_unshare_blocks.cpp
index e74f8ba..0f8fffa 100644
--- a/fsck_unshare_blocks.cpp
+++ b/fsck_unshare_blocks.cpp
@@ -34,7 +34,6 @@
#include <android-base/logging.h>
#include <android-base/properties.h>
#include <android-base/unique_fd.h>
-#include <fstab/fstab.h>
#include "otautil/roots.h"
diff --git a/install/Android.bp b/install/Android.bp
index aa47990..095a6d0 100644
--- a/install/Android.bp
+++ b/install/Android.bp
@@ -43,7 +43,6 @@
// external dependencies
"libvintf_recovery",
"libvintf",
- "libfstab",
],
}
diff --git a/otautil/Android.bp b/otautil/Android.bp
index b4936c0..c9ecba7 100644
--- a/otautil/Android.bp
+++ b/otautil/Android.bp
@@ -61,6 +61,10 @@
"libfs_mgr",
"libselinux",
],
+
+ export_static_lib_headers: [
+ "libfstab",
+ ],
},
},
}