Move CPIO to libutils
This commit is contained in:
parent
391783e268
commit
f7ae72a36c
@ -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 @@
|
|||||||
#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 := \
|
|||||||
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 @@
|
|||||||
#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;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user