Commit f7ae72a3 authored by topjohnwu's avatar topjohnwu

Move CPIO to libutils

parent 391783e2
...@@ -100,7 +100,6 @@ LOCAL_C_INCLUDES := \ ...@@ -100,7 +100,6 @@ LOCAL_C_INCLUDES := \
LOCAL_SRC_FILES := \ LOCAL_SRC_FILES := \
magiskboot/main.cpp \ magiskboot/main.cpp \
magiskboot/cpio.cpp \
magiskboot/bootimg.cpp \ magiskboot/bootimg.cpp \
magiskboot/hexpatch.cpp \ magiskboot/hexpatch.cpp \
magiskboot/compress.cpp \ magiskboot/compress.cpp \
......
...@@ -3,9 +3,9 @@ ...@@ -3,9 +3,9 @@
#include <sys/stat.h> #include <sys/stat.h>
#include <utils.h> #include <utils.h>
#include <cpio.h>
#include "magiskboot.h" #include "magiskboot.h"
#include "cpio.h"
using namespace std; using namespace std;
......
...@@ -9,6 +9,7 @@ LOCAL_SRC_FILES := \ ...@@ -9,6 +9,7 @@ LOCAL_SRC_FILES := \
misc.cpp \ misc.cpp \
selinux.cpp \ selinux.cpp \
logging.cpp \ logging.cpp \
cpio.cpp \
xwrap.cpp xwrap.cpp
include $(BUILD_STATIC_LIBRARY) include $(BUILD_STATIC_LIBRARY)
...@@ -3,10 +3,10 @@ ...@@ -3,10 +3,10 @@
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
#include <algorithm> #include <algorithm>
#include <utils.h> #include <utils.h>
#include <logging.h> #include <logging.h>
#include <cpio.h>
#include "cpio.h"
using namespace std; using namespace std;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment