mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-12-10 07:22:20 +00:00
Restructure native codebase
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
#include <fcntl.h>
|
||||
#include <vector>
|
||||
|
||||
#include <utils.hpp>
|
||||
#include <base.hpp>
|
||||
|
||||
#include "init.hpp"
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
#include <xz.h>
|
||||
|
||||
#include <utils.hpp>
|
||||
#include <base.hpp>
|
||||
#include <binaries.h>
|
||||
|
||||
#if defined(__arm__)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <utils.hpp>
|
||||
#include <base.hpp>
|
||||
|
||||
using kv_pairs = std::vector<std::pair<std::string, std::string>>;
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#include <sys/sysmacros.h>
|
||||
#include <libgen.h>
|
||||
|
||||
#include <utils.hpp>
|
||||
#include <base.hpp>
|
||||
#include <selinux.hpp>
|
||||
#include <magisk.hpp>
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#include <libgen.h>
|
||||
|
||||
#include <magisk.hpp>
|
||||
#include <utils.hpp>
|
||||
#include <base.hpp>
|
||||
|
||||
#include "init.hpp"
|
||||
#include "magiskrc.inc"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
#include <magisk.hpp>
|
||||
#include <sepolicy.hpp>
|
||||
#include <utils.hpp>
|
||||
#include <base.hpp>
|
||||
|
||||
#include "init.hpp"
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include <sys/mount.h>
|
||||
|
||||
#include <magisk.hpp>
|
||||
#include <utils.hpp>
|
||||
#include <base.hpp>
|
||||
#include <socket.hpp>
|
||||
|
||||
#include "init.hpp"
|
||||
|
||||
Reference in New Issue
Block a user