Skip to content

Commit

Permalink
Add external project xz-embedded
Browse files Browse the repository at this point in the history
  • Loading branch information
JingMatrix committed Sep 12, 2024
1 parent 9222db4 commit c2c4e52
Show file tree
Hide file tree
Showing 16 changed files with 137 additions and 4,146 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,6 @@
[submodule "patch/libs/manifest-editor"]
path = axml/libs/manifest-editor
url = https://github.com/WindySha/ManifestEditor.git
[submodule "external/xz-embedded"]
path = external/xz-embedded
url = https://github.com/tukaani-project/xz-embedded
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ You can contribute translation [here](https://crowdin.com/project/lsposed_jingma
- [Dobby](https://github.com/JingMatrix/Dobby): used for fallback and `native_api` inline hooking
- [LSPlant](https://github.com/JingMatrix/LSPlant): the core ART hooking framework
- [EdXposed](https://github.com/ElderDrivers/EdXposed): fork source
- [xz-embedded](https://github.com/tukaani-project/xz-embedded): decompress `.gnu_debugdata` header section of stripped `libart.so`
- ~[SandHook](https://github.com/ganyao114/SandHook/): ART hooking framework for SandHook variant~
- ~[YAHFA](https://github.com/rk700/YAHFA): previous ART hooking framework~
- ~[dexmaker](https://github.com/linkedin/dexmaker) and [dalvikdx](https://github.com/JakeWharton/dalvik-dx): to dynamically generate YAHFA hooker classes~
Expand Down
4 changes: 2 additions & 2 deletions core/src/main/jni/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ aux_source_directory(src/xz SRC_LIST)
add_library(${PROJECT_NAME} STATIC ${SRC_LIST})

target_include_directories(${PROJECT_NAME} PUBLIC include)
target_include_directories(${PROJECT_NAME} PRIVATE src)
target_include_directories(${PROJECT_NAME} PRIVATE src ${EXTERNAL_ROOT}/xz-embedded/linux/include)

target_link_libraries(${PROJECT_NAME} PUBLIC dobby_static lsplt_static lsplant_static log fmt-header-only)
target_link_libraries(${PROJECT_NAME} PUBLIC dobby_static lsplant_static lsplt_static xz_static log fmt-header-only)
target_link_libraries(${PROJECT_NAME} PRIVATE dex_builder_static)
452 changes: 0 additions & 452 deletions core/src/main/jni/include/xz/xz.h

This file was deleted.

129 changes: 0 additions & 129 deletions core/src/main/jni/include/xz/xz_config.h

This file was deleted.

204 changes: 0 additions & 204 deletions core/src/main/jni/include/xz/xz_lzma2.h

This file was deleted.

Loading

0 comments on commit c2c4e52

Please sign in to comment.