Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

Commit

Permalink
Update dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
eebssk1 committed Jan 3, 2022
1 parent ee8fd6b commit a337b1c
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions module.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ ext {
moduleName = "mph"
moduleAuthor = "eebssk1"
moduleDescription = "Hook system prop function with dobby to simulate miui for MiPushFOSS"
moduleVersion = "v25.7.0"
moduleVersionCode = 38
moduleVersion = "v25.7.1"
moduleVersionCode = 39
}
3 changes: 2 additions & 1 deletion module/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,10 @@ dependencies {
// you may have to add android.prefabVersion=1.1.2 in your gradle.properties.
// See https://github.com/google/prefab/issues/122

implementation 'dev.rikka.ndk:riru:25.0.0'
implementation 'dev.rikka.ndk:riru:26.0.0'
implementation 'dev.rikka.ndk.thirdparty:nativehelper:1.0.1'
implementation(name:'dobby', ext:'aar')
implementation(name:'cxx', ext:'aar')
}

def magiskDir = file("$outDir/magisk_module")
Expand Down
Binary file added module/libs/cxx.aar
Binary file not shown.
Binary file modified module/libs/dobby.aar
Binary file not shown.
3 changes: 2 additions & 1 deletion module/src/main/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,10 @@ set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} ${LINKER_FLAGS}")
find_package(riru REQUIRED CONFIG)
find_package(nativehelper REQUIRED CONFIG)
find_package(dobby REQUIRED CONFIG)
find_package(cxx REQUIRED CONFIG)

add_library(${MODULE_NAME} SHARED main.cpp)
target_link_libraries(${MODULE_NAME} log riru::riru nativehelper::nativehelper_header_only dobby::dobby android)
target_link_libraries(${MODULE_NAME} log riru::riru nativehelper::nativehelper_header_only dobby::dobby android cxx::cxx)
set_target_properties(${MODULE_NAME} PROPERTIES LINK_FLAGS_RELEASE "-s -X")
target_compile_options(${MODULE_NAME}
PRIVATE "$<$<CONFIG:RELEASE>:-Os>")
Expand Down

0 comments on commit a337b1c

Please sign in to comment.