diff --git a/fastboot/Android.mk b/fastboot/Android.mk index 7112d1dc0..d69a81fc3 100644 --- a/fastboot/Android.mk +++ b/fastboot/Android.mk @@ -21,7 +21,6 @@ include $(CLEAR_VARS) LOCAL_C_INCLUDES := \ $(LOCAL_PATH)/../adb \ $(LOCAL_PATH)/../mkbootimg \ - $(LOCAL_PATH)/../../extras/ext4_utils \ $(LOCAL_PATH)/../../extras/f2fs_utils \ LOCAL_SRC_FILES := \ diff --git a/fastboot/fs.cpp b/fastboot/fs.cpp index 8539e2382..9b73165c1 100644 --- a/fastboot/fs.cpp +++ b/fastboot/fs.cpp @@ -1,7 +1,6 @@ #include "fs.h" #include "fastboot.h" -#include "make_ext4fs.h" #include "make_f2fs.h" #include @@ -12,6 +11,7 @@ #include #include +#include #include static int generate_ext4_image(int fd, long long partSize, const std::string& initial_dir) diff --git a/fs_mgr/fs_mgr.c b/fs_mgr/fs_mgr.c index b11ce754c..2ed6b91d4 100644 --- a/fs_mgr/fs_mgr.c +++ b/fs_mgr/fs_mgr.c @@ -30,20 +30,18 @@ #include #include -#include -#include -#include - #include #include #include +#include +#include +#include +#include +#include #include #include #include -#include "ext4_utils.h" -#include "wipe.h" - #include "fs_mgr_priv.h" #include "fs_mgr_priv_verity.h" diff --git a/fs_mgr/fs_mgr_format.c b/fs_mgr/fs_mgr_format.c index 7ee5832ec..7c3b1ed22 100644 --- a/fs_mgr/fs_mgr_format.c +++ b/fs_mgr/fs_mgr_format.c @@ -24,13 +24,13 @@ #include #include +#include +#include +#include #include #include #include -#include "ext4_utils.h" -#include "ext4.h" -#include "make_ext4fs.h" #include "fs_mgr_priv.h" #include "cryptfs.h" diff --git a/init/Android.mk b/init/Android.mk index 4a8df320f..704304e8f 100644 --- a/init/Android.mk +++ b/init/Android.mk @@ -74,7 +74,6 @@ LOCAL_SRC_FILES:= \ LOCAL_MODULE:= init LOCAL_C_INCLUDES += \ - system/extras/ext4_utils \ system/core/mkbootimg LOCAL_FORCE_STATIC_EXECUTABLE := true diff --git a/init/builtins.cpp b/init/builtins.cpp index 200b723e4..f4ba01822 100644 --- a/init/builtins.cpp +++ b/init/builtins.cpp @@ -37,8 +37,6 @@ #include #include #include -#include -#include #include #include @@ -51,6 +49,8 @@ #include #include #include +#include +#include #include #include "action.h"