Fix userdebug build.
Apparently this code I thought was unused is just unused for eng
builds...
Bug: 17626262
Change-Id: I2e5f411a2ead7f23d9f5822935de66c992750a03
diff --git a/Android.mk b/Android.mk
index cbb49f4..30cbbaa 100644
--- a/Android.mk
+++ b/Android.mk
@@ -162,14 +162,17 @@
LOCAL_FORCE_STATIC_EXECUTABLE := true
LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT_SBIN)
LOCAL_UNSTRIPPED_PATH := $(TARGET_ROOT_OUT_SBIN_UNSTRIPPED)
+LOCAL_C_INCLUDES += system/extras/ext4_utils system/core/fs_mgr/include
LOCAL_STATIC_LIBRARIES := \
libadb \
+ libfs_mgr \
liblog \
libcutils \
libc \
libmincrypt \
libselinux \
+ libext4_utils_static \
LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
diff --git a/set_verity_enable_state_service.c b/set_verity_enable_state_service.c
index 051b9a4..2660ddd 100644
--- a/set_verity_enable_state_service.c
+++ b/set_verity_enable_state_service.c
@@ -26,6 +26,8 @@
#include <inttypes.h>
#include "cutils/properties.h"
+#include "ext4_sb.h"
+#include <fs_mgr.h>
#define FSTAB_PREFIX "/fstab."
struct fstab *fstab;