Commit f7ae72a3 authored by topjohnwu's avatar topjohnwu

Move CPIO to libutils

parent 391783e2
......@@ -100,7 +100,6 @@ LOCAL_C_INCLUDES := \
LOCAL_SRC_FILES := \
magiskboot/main.cpp \
magiskboot/cpio.cpp \
magiskboot/bootimg.cpp \
magiskboot/hexpatch.cpp \
magiskboot/compress.cpp \
......
......@@ -3,9 +3,9 @@
#include <sys/stat.h>
#include <utils.h>
#include <cpio.h>
#include "magiskboot.h"
#include "cpio.h"
using namespace std;
......
......@@ -9,6 +9,7 @@ LOCAL_SRC_FILES := \
misc.cpp \
selinux.cpp \
logging.cpp \
cpio.cpp \
xwrap.cpp
include $(BUILD_STATIC_LIBRARY)
......@@ -3,10 +3,10 @@
#include <string.h>
#include <stdlib.h>
#include <algorithm>
#include <utils.h>
#include <logging.h>
#include "cpio.h"
#include <cpio.h>
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