Skip to content

Commit

Permalink
Prepare v15.7
Browse files Browse the repository at this point in the history
  • Loading branch information
chiteroman committed Feb 7, 2024
1 parent 92eee68 commit bdef429
Show file tree
Hide file tree
Showing 350 changed files with 50,902 additions and 19,874 deletions.
7 changes: 0 additions & 7 deletions .idea/vcs.xml

This file was deleted.

29 changes: 19 additions & 10 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ android {
applicationId = "es.chiteroman.playintegrityfix"
minSdk = 26
targetSdk = 34
versionCode = 15600
versionName = "v15.6"
versionCode = 15700
versionName = "v15.7"
multiDexEnabled = false

buildFeatures {
Expand All @@ -24,16 +24,20 @@ android {
jniLibs {
excludes += "**/liblog.so"
excludes += "**/libdobby.so"
excludes += "**/libshadowhook.so"
}
}

externalNativeBuild {
ndk {
abiFilters += "arm64-v8a"
abiFilters += "armeabi-v7a"

jobs = Runtime.getRuntime().availableProcessors()
cmake {
arguments += "-DANDROID_STL=none"
arguments += "-DCMAKE_BUILD_TYPE=MinSizeRel"
arguments += "-DPlugin.Android.BionicLinkerUtil=ON"

cppFlags += "-std=c++20"
cppFlags += "-fno-exceptions"
cppFlags += "-fno-rtti"
cppFlags += "-fvisibility=hidden"
cppFlags += "-fvisibility-inlines-hidden"
}
}
}
Expand All @@ -53,12 +57,17 @@ android {
}

externalNativeBuild {
ndkBuild {
path = file("src/main/cpp/Android.mk")
cmake {
path = file("src/main/cpp/CMakeLists.txt")
version = "3.22.1"
}
}
}

dependencies {
implementation("dev.rikka.ndk.thirdparty:cxx:1.2.0")
}

tasks.register("updateModuleProp") {
doLast {
val versionName = project.android.defaultConfig.versionName
Expand Down
30 changes: 0 additions & 30 deletions app/src/main/cpp/Android.mk

This file was deleted.

8 changes: 0 additions & 8 deletions app/src/main/cpp/Application.mk

This file was deleted.

13 changes: 13 additions & 0 deletions app/src/main/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
cmake_minimum_required(VERSION 3.22.1)

project(playintegrityfix)

find_package(cxx REQUIRED CONFIG)

link_libraries(cxx::cxx)

add_library(${CMAKE_PROJECT_NAME} SHARED main.cpp)

add_subdirectory(Dobby)

target_link_libraries(${CMAKE_PROJECT_NAME} PUBLIC log dobby_static)
18 changes: 18 additions & 0 deletions app/src/main/cpp/Dobby/.clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
BasedOnStyle: LLVM

IndentWidth: 2
TabWidth: 2
UseTab: Never
ColumnLimit: 120

FixNamespaceComments: true

# default is false
#AlignConsecutiveMacros: true
#AlignConsecutiveAssignments: true
#AlignConsecutiveDeclarations: true

# default is true
ReflowComments: false
SortIncludes : false
AllowShortFunctionsOnASingleLine: false
80 changes: 80 additions & 0 deletions app/src/main/cpp/Dobby/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
.DS_Store
.idea/
*-build*/
build-output/

CMakeLists.txt.user
CMakeCache.txt
CMakeFiles
CMakeScripts
Testing
Makefile
cmake_install.cmake
install_manifest.txt
compile_commands.json
CTestTestfile.cmake
_deps

## Build generated
build/
DerivedData/

## Various settings
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata/

## Other
*.moved-aside
*.xccheckout
*.xcscmblueprint

## Obj-C/Swift specific
*.hmap
*.ipa
*.dSYM.zip
*.dSYM

# Prerequisites
*.d

# Compiled Object files
*.slo
*.lo
*.o
*.obj

# Precompiled Headers
*.gch
*.pch

# Compiled Dynamic libraries
*.so
*.dylib
*.dll

# Fortran module files
*.mod
*.smod

# Compiled Static libraries
*.lai
*.la
*.a
*.lib

# Executables
*.exe
*.out
*.app

# Prefab
/prefab/**/*.a
/prefab/**/*.h
/AndroidManifest.xml
Loading

0 comments on commit bdef429

Please sign in to comment.