mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Build for 64-bit ARM by default when compiling or exporting for Android
All Android devices that support Vulkan support 64-bit ARM. This also removes NEON opt-out code for ARMv7 as pretty much all ARMv7 devices also support NEON.
This commit is contained in:
parent
d5409e32f1
commit
b1b14e5fd7
3 changed files with 13 additions and 21 deletions
|
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue