mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-12-03 12:01:53 +00:00
Use libsystemproperties in resetprop
Upstream to latest Android Pie
This commit is contained in:
@@ -10,6 +10,7 @@ LIBLZ4 := $(EXT_PATH)/lz4/lib
|
||||
LIBBZ2 := $(EXT_PATH)/bzip2
|
||||
LIBFDT := $(EXT_PATH)/dtc/libfdt
|
||||
LIBNANOPB := $(EXT_PATH)/nanopb
|
||||
LIBSYSTEMPROPERTIES := jni/resetprop/libsystemproperties/include
|
||||
COMMON_UTILS := \
|
||||
utils/file.c \
|
||||
utils/list.c \
|
||||
@@ -27,13 +28,14 @@ ifdef B_MAGISK
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := magisk
|
||||
LOCAL_SHARED_LIBRARIES := libsqlite libselinux
|
||||
LOCAL_STATIC_LIBRARIES := libnanopb
|
||||
LOCAL_STATIC_LIBRARIES := libnanopb libsystemproperties
|
||||
LOCAL_C_INCLUDES := \
|
||||
jni/include \
|
||||
jni/magiskpolicy \
|
||||
$(EXT_PATH)/include \
|
||||
$(LIBSELINUX) \
|
||||
$(LIBNANOPB)
|
||||
$(LIBNANOPB) \
|
||||
$(LIBSYSTEMPROPERTIES)
|
||||
|
||||
LOCAL_SRC_FILES := \
|
||||
core/magisk.c \
|
||||
@@ -45,9 +47,10 @@ LOCAL_SRC_FILES := \
|
||||
magiskhide/magiskhide.c \
|
||||
magiskhide/proc_monitor.c \
|
||||
magiskhide/hide_utils.c \
|
||||
resetprop/persist_props.c \
|
||||
resetprop/persist_properties.c \
|
||||
resetprop/resetprop.c \
|
||||
resetprop/system_properties.cpp \
|
||||
resetprop/system_property_api.cpp \
|
||||
resetprop/system_property_set.cpp \
|
||||
su/su.c \
|
||||
su/activity.c \
|
||||
su/pts.c \
|
||||
@@ -145,3 +148,4 @@ endif
|
||||
# Externals
|
||||
########################
|
||||
include jni/external/Android.mk
|
||||
include jni/resetprop/libsystemproperties/Android.mk
|
||||
|
||||
Reference in New Issue
Block a user