summaryrefslogtreecommitdiff
path: root/platform/android/export/export_plugin.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2021-10-12 17:19:29 +0200
committerGitHub <noreply@github.com>2021-10-12 17:19:29 +0200
commitfa3164e90c31e74d9fb244e91453fb2f58154138 (patch)
tree004d4078f82a72df2979ccba8bd5036a628cc512 /platform/android/export/export_plugin.cpp
parente4288bf7283376adc274860744203faad34d83ec (diff)
parentb1b14e5fd765df7ceda70c4c8942b5a8bfe3adb8 (diff)
Merge pull request #53717 from Calinou/android-default-arm64
Diffstat (limited to 'platform/android/export/export_plugin.cpp')
-rw-r--r--platform/android/export/export_plugin.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/platform/android/export/export_plugin.cpp b/platform/android/export/export_plugin.cpp
index 727ce0ae46..6ef17faf06 100644
--- a/platform/android/export/export_plugin.cpp
+++ b/platform/android/export/export_plugin.cpp
@@ -1644,10 +1644,12 @@ void EditorExportPlatformAndroid::get_export_options(List<ExportOption> *r_optio
}
plugins_changed.clear();
- Vector<String> abis = get_abis();
+ const Vector<String> abis = get_abis();
for (int i = 0; i < abis.size(); ++i) {
- String abi = abis[i];
- bool is_default = (abi == "armeabi-v7a" || abi == "arm64-v8a");
+ const String abi = abis[i];
+ // All Android devices supporting Vulkan run 64-bit Android,
+ // so there is usually no point in exporting for 32-bit Android.
+ const bool is_default = abi == "arm64-v8a";
r_options->push_back(ExportOption(PropertyInfo(Variant::BOOL, "architectures/" + abi), is_default));
}