From 18852ab51e0eaff43ee5f9f3156c3231cbe5e119 Mon Sep 17 00:00:00 2001 From: Rafael Caetano Date: Mon, 18 Oct 2021 22:01:11 +0100 Subject: [PATCH] Disable x86 builds Workaround for compilation error on x86 builds. This is due to an issue (https://github.com/wwylele/teakra/issues/34) on the teakra library, which is used by melonDS. Since the list of x86 devices is so limited, this should have no real impact. --- app/build.gradle.kts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 48ca4417..8a4259fd 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -28,6 +28,9 @@ android { versionCode = AppConfig.versionCode versionName = AppConfig.versionName testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" + ndk { + abiFilters.addAll(listOf("armeabi-v7a", "arm64-v8a", "x86_64")) + } externalNativeBuild { cmake { cppFlags("-std=c++17 -Wno-write-strings")