Skip to content

Commit

Permalink
v17.5
Browse files Browse the repository at this point in the history
  • Loading branch information
chiteroman committed Sep 15, 2024
1 parent 621db45 commit cb29622
Show file tree
Hide file tree
Showing 10 changed files with 24,914 additions and 3,625 deletions.
10 changes: 4 additions & 6 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ android {
applicationId = "es.chiteroman.playintegrityfix"
minSdk = 26
targetSdk = 35
versionCode = 17400
versionName = "v17.4"
versionCode = 17500
versionName = "v17.5"
multiDexEnabled = false

externalNativeBuild {
Expand All @@ -42,17 +42,15 @@ android {
cFlags(
"-std=gnu23",
"-fvisibility=hidden",
"-fvisibility-inlines-hidden",
"-ftrivial-auto-var-init=zero"
"-fvisibility-inlines-hidden"
)

cppFlags(
"-std=gnu++26",
"-fno-exceptions",
"-fno-rtti",
"-fvisibility=hidden",
"-fvisibility-inlines-hidden",
"-ftrivial-auto-var-init=zero"
"-fvisibility-inlines-hidden"
)
}
}
Expand Down
6 changes: 3 additions & 3 deletions app/src/main/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ project("playintegrityfix")

find_package(cxx REQUIRED CONFIG)

link_libraries(cxx::cxx)

if (${ANDROID_ABI} STREQUAL "arm64-v8a")
set(ARCH "arm64")
elseif (${ANDROID_ABI} STREQUAL "armeabi-v7a")
Expand All @@ -19,12 +21,10 @@ file(GLOB SHADOWHOOK_SRC

add_library(${CMAKE_PROJECT_NAME} SHARED
main.cpp
cJSON/cJSON.c
${SHADOWHOOK_SRC}
)

target_include_directories(${CMAKE_PROJECT_NAME} PRIVATE
cJSON
shadowhook/.
shadowhook/arch/${ARCH}
shadowhook/include
Expand All @@ -34,4 +34,4 @@ target_include_directories(${CMAKE_PROJECT_NAME} PRIVATE
shadowhook/third_party/xdl
)

target_link_libraries(${CMAKE_PROJECT_NAME} PRIVATE log cxx::cxx)
target_link_libraries(${CMAKE_PROJECT_NAME} PRIVATE log)
Loading

0 comments on commit cb29622

Please sign in to comment.