mirror of
https://github.com/ran-j/PS2Recomp.git
synced 2026-09-26 08:51:05 -04:00
f3687c5ae6
* feat: implement memory card IOP * feat: IOP trace * feat: move IOP logic to ps2xIOP refactor: small refactor on audio api on runtime * feat: android support feat: prevent race on GS feat: a bit cleanup and reimplement on memory card * feat: finish guest thread feat: android build support feat: vita build support with suspicious setup scripts * feat: remove idea from track
60 lines
1.6 KiB
Groovy
60 lines
1.6 KiB
Groovy
plugins {
|
|
id 'com.android.application'
|
|
}
|
|
|
|
// Override with: gradlew assembleRelease -Pps2xBootElf=/absolute/path/on/device.elf
|
|
def ps2xBootElf = project.findProperty('ps2xBootElf') ?: '/storage/emulated/0/Android/data/com.ps2x.runner/files/game.elf'
|
|
|
|
android {
|
|
namespace 'com.ps2x.runner'
|
|
compileSdk 34
|
|
ndkVersion '28.2.13676358'
|
|
|
|
defaultConfig {
|
|
applicationId 'com.ps2x.runner'
|
|
minSdk 28
|
|
targetSdk 34
|
|
versionCode 1
|
|
versionName '0.1.0'
|
|
|
|
externalNativeBuild {
|
|
cmake {
|
|
arguments '-DPS2X_BUILD_RECOMP=OFF',
|
|
'-DPS2X_BUILD_ANALYZER=OFF',
|
|
'-DPS2X_BUILD_TEST=OFF',
|
|
'-DPS2X_BUILD_STUDIO=OFF',
|
|
'-DPS2X_ENABLE_SCCACHE=OFF',
|
|
'-DPS2X_RUNNER_UNITY_BUILD_BATCH_SIZE=32',
|
|
'-DANDROID_CPP_FEATURES=rtti exceptions',
|
|
"-DPS2X_DEFAULT_BOOT_ELF=${ps2xBootElf}"
|
|
targets 'ps2EntryRunner'
|
|
}
|
|
}
|
|
|
|
ndk {
|
|
abiFilters 'arm64-v8a', 'x86_64'
|
|
}
|
|
}
|
|
|
|
externalNativeBuild {
|
|
cmake {
|
|
path '../../CMakeLists.txt'
|
|
version '3.22.1'
|
|
}
|
|
}
|
|
|
|
buildTypes {
|
|
debug {
|
|
externalNativeBuild {
|
|
cmake {
|
|
arguments '-DCMAKE_BUILD_TYPE=RelWithDebInfo'
|
|
}
|
|
}
|
|
}
|
|
release {
|
|
minifyEnabled false
|
|
signingConfig signingConfigs.debug
|
|
}
|
|
}
|
|
}
|