mirror of
https://github.com/AndroidAudioMods/ViPERFX_RE.git
synced 2024-12-22 22:47:25 +08:00
7701f9f87b
Signed-off-by: Martmists <martmists@gmail.com>
37 lines
868 B
Plaintext
37 lines
868 B
Plaintext
plugins {
|
|
id("com.android.application") version "7.0.3"
|
|
}
|
|
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
|
|
android {
|
|
compileSdk = 23
|
|
ndkVersion = "23.1.7779620"
|
|
|
|
externalNativeBuild {
|
|
cmake {
|
|
version = "3.21.3"
|
|
path = file("CMakeLists.txt")
|
|
}
|
|
}
|
|
|
|
defaultConfig {
|
|
externalNativeBuild {
|
|
cmake {
|
|
arguments += listOf("-DANDROID_ARM_NEON=ON", "-DANDROID_TOOLCHAIN=clang")
|
|
cFlags += listOf("-D__STDC_FORMAT_MACROS")
|
|
cppFlags += listOf("-fexceptions", "-frtti")
|
|
}
|
|
}
|
|
|
|
ndk {
|
|
abiFilters += listOf("armeabi-v7a","arm64-v8a","x86","x86_64")
|
|
// abiFilters += listOf("x86", "armeabi-v7a")
|
|
// abiFilters += listOf("x86", "x86_64", "armeabi", "armeabi-v7a", "arm64-v8a")
|
|
}
|
|
}
|
|
}
|