forked from JingMatrix/LSPosed
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update dependencies * Use prefab dobby * NDK build * Add ccache * Fix library copy * rm CMakeLists.txt
- Loading branch information
Showing
20 changed files
with
77 additions
and
173 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ | |
/release | ||
*.iml | ||
/.cxx | ||
src/main/cpp/main/src/config.cpp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
include src/main/cpp/external/DexBuilder/Android.mk | ||
include src/main/cpp/external/yahfa/Android.mk | ||
include src/main/cpp/main/Android.mk | ||
|
||
$(call import-module,prefab/cxx) | ||
$(call import-module,prefab/riru) | ||
$(call import-module,prefab/dobby) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
APP_CFLAGS := -Wall -Wextra | ||
APP_CFLAGS += -fno-stack-protector -fomit-frame-pointer | ||
APP_CFLAGS += -Wno-builtin-macro-redefined -D__FILE__=__FILE_NAME__ | ||
APP_CPPFLAGS := -std=c++20 | ||
APP_CONLYFLAGS := -std=c18 | ||
APP_LDFLAGS := -Wl,--exclude-libs,ALL | ||
APP_STL := none | ||
|
||
ifneq ($(NDK_DEBUG),1) | ||
APP_CFLAGS += -Oz -Wno-unused -Wno-unused-parameter -Werror | ||
APP_CFLAGS += -fvisibility=hidden -fvisibility-inlines-hidden | ||
APP_CFLAGS += -fno-unwind-tables -fno-asynchronous-unwind-tables | ||
APP_LDFLAGS += -Wl,--gc-sections -Wl,--strip-all | ||
endif |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Submodule Dobby
deleted from
2da2c2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
LOCAL_PATH := $(call my-dir) | ||
|
||
include $(CLEAR_VARS) | ||
LOCAL_MODULE := yahfa | ||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/include | ||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/include | ||
LOCAL_SRC_FILES := src/HookMain.cpp src/trampoline.c | ||
LOCAL_EXPORT_LDLIBS := -llog | ||
LOCAL_STATIC_LIBRARIES := libcxx | ||
include $(BUILD_STATIC_LIBRARY) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
LOCAL_PATH := $(call my-dir) | ||
define walk | ||
$(wildcard $(1)) $(foreach e, $(wildcard $(1)/*), $(call walk, $(e))) | ||
endef | ||
|
||
include $(CLEAR_VARS) | ||
LOCAL_MODULE := lspd | ||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/include $(LOCAL_PATH)/src | ||
FILE_LIST := $(filter %.cpp, $(call walk, $(LOCAL_PATH)/src)) | ||
LOCAL_SRC_FILES := $(FILE_LIST:$(LOCAL_PATH)/%=%) | ||
LOCAL_STATIC_LIBRARIES := cxx yahfa riru dobby dex_builder | ||
LOCAL_CFLAGS := -DRIRU_MODULE -DRIRU_MODULE_API_VERSION=${RIRU_MODULE_API_VERSION} | ||
LOCAL_CFLAGS += -DMODULE_NAME=${MODULE_NAME} | ||
LOCAL_LDLIBS := -llog | ||
include $(BUILD_SHARED_LIBRARY) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters