Move CPIO to libutils

This commit is contained in:
topjohnwu 2019-02-23 02:42:26 -05:00
parent 391783e268
commit f7ae72a36c
5 changed files with 4 additions and 4 deletions

View File

@ -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 \

View File

@ -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;

View File

@ -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)

View File

@ -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;