diff options
| author | Rémi Verschelde <remi@verschelde.fr> | 2022-08-25 13:03:48 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-25 13:03:48 +0200 |
| commit | c7eb423eeb5455419bb96fc1ed8e8e121c2a619a (patch) | |
| tree | cdf84e433facaefd1ed6689f0619aa1e0bcf3eba /platform/android/java | |
| parent | 8769088f48a9acc7a28a55ceeba86cdcd6ba3a42 (diff) | |
| parent | 27b0f182758db5d2d4c123c81430c34941161b39 (diff) | |
Merge pull request #55778 from aaronfranke/use-arch-btw
[skip ci]
Diffstat (limited to 'platform/android/java')
| -rw-r--r-- | platform/android/java/build.gradle | 4 | ||||
| -rw-r--r-- | platform/android/java/lib/build.gradle | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/platform/android/java/build.gradle b/platform/android/java/build.gradle index da30bd3a95..81c7130c03 100644 --- a/platform/android/java/build.gradle +++ b/platform/android/java/build.gradle @@ -28,7 +28,7 @@ allprojects { } ext { - supportedAbis = ["armv7", "arm64v8", "x86", "x86_64"] + supportedAbis = ["arm32", "arm64", "x86_32", "x86_64"] supportedTargetsMap = [release: "release", dev: "debug", debug: "release_debug"] supportedFlavors = ["editor", "template"] @@ -37,7 +37,7 @@ ext { // If building manually on the command line, it's recommended to use the // `./gradlew generateGodotTemplates` build command instead after running the `scons` command(s). // The {selectedAbis} values must be from the {supportedAbis} values. - selectedAbis = ["arm64v8"] + selectedAbis = ["arm64"] } def rootDir = "../../.." diff --git a/platform/android/java/lib/build.gradle b/platform/android/java/lib/build.gradle index 6b82326a27..318ae1143f 100644 --- a/platform/android/java/lib/build.gradle +++ b/platform/android/java/lib/build.gradle @@ -159,7 +159,7 @@ android { def taskName = getSconsTaskName(flavorName, buildType, selectedAbi) tasks.create(name: taskName, type: Exec) { executable sconsExecutableFile.absolutePath - args "--directory=${pathToRootDir}", "platform=android", "tools=${toolsFlag}", "target=${sconsTarget}", "android_arch=${selectedAbi}", "-j" + Runtime.runtime.availableProcessors() + args "--directory=${pathToRootDir}", "platform=android", "tools=${toolsFlag}", "target=${sconsTarget}", "arch=${selectedAbi}", "-j" + Runtime.runtime.availableProcessors() } // Schedule the tasks so the generated libs are present before the aar file is packaged. |