You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Unify bits, arch, and android_arch into env["arch"]
Fully removes the `bits` option and adapts the code that relied on it. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
This commit is contained in:
committed by
Rémi Verschelde
parent
8916949b50
commit
27b0f18275
@@ -588,9 +588,9 @@ zip_fileinfo EditorExportPlatformAndroid::get_zip_fileinfo() {
|
||||
|
||||
Vector<String> EditorExportPlatformAndroid::get_abis() {
|
||||
Vector<String> abis;
|
||||
abis.push_back("armeabi-v7a");
|
||||
abis.push_back("arm64-v8a");
|
||||
abis.push_back("x86");
|
||||
abis.push_back("arm32");
|
||||
abis.push_back("arm64");
|
||||
abis.push_back("x86_32");
|
||||
abis.push_back("x86_64");
|
||||
return abis;
|
||||
}
|
||||
@@ -1710,7 +1710,7 @@ void EditorExportPlatformAndroid::get_export_options(List<ExportOption> *r_optio
|
||||
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";
|
||||
const bool is_default = abi == "arm64";
|
||||
r_options->push_back(ExportOption(PropertyInfo(Variant::BOOL, vformat("%s/%s", PNAME("architectures"), abi)), is_default));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user