diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2022-07-30 11:22:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-30 11:22:25 +0200 |
commit | 3e5ad8213f8163cca25224a61797b89b86736b2f (patch) | |
tree | 34c68a210f4eaa946e9b78d0e114f88de12de99e /platform/android/export/export_plugin.cpp | |
parent | 162186cfe8b26fdb0f969b5066f176c40aacd01b (diff) | |
parent | 17c4cd6412e3491f33713c63e4d3cc80c959319f (diff) | |
download | redot-engine-3e5ad8213f8163cca25224a61797b89b86736b2f.tar.gz |
Merge pull request #63563 from aaronfranke/export-arch
Diffstat (limited to 'platform/android/export/export_plugin.cpp')
-rw-r--r-- | platform/android/export/export_plugin.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/platform/android/export/export_plugin.cpp b/platform/android/export/export_plugin.cpp index 2cfb152804..6f1b4bde40 100644 --- a/platform/android/export/export_plugin.cpp +++ b/platform/android/export/export_plugin.cpp @@ -1671,7 +1671,7 @@ Vector<String> EditorExportPlatformAndroid::get_enabled_abis(const Ref<EditorExp return enabled_abis; } -void EditorExportPlatformAndroid::get_preset_features(const Ref<EditorExportPreset> &p_preset, List<String> *r_features) { +void EditorExportPlatformAndroid::get_preset_features(const Ref<EditorExportPreset> &p_preset, List<String> *r_features) const { String driver = ProjectSettings::get_singleton()->get("rendering/driver/driver_name"); if (driver == "opengl3") { r_features->push_back("etc"); @@ -1705,6 +1705,8 @@ void EditorExportPlatformAndroid::get_export_options(List<ExportOption> *r_optio } plugins_changed.clear(); + // Android supports multiple architectures in an app bundle, so + // we expose each option as a checkbox in the export dialog. const Vector<String> abis = get_abis(); for (int i = 0; i < abis.size(); ++i) { const String abi = abis[i]; @@ -3109,7 +3111,7 @@ Error EditorExportPlatformAndroid::export_project_helper(const Ref<EditorExportP CLEANUP_AND_RETURN(OK); } -void EditorExportPlatformAndroid::get_platform_features(List<String> *r_features) { +void EditorExportPlatformAndroid::get_platform_features(List<String> *r_features) const { r_features->push_back("mobile"); r_features->push_back("android"); } |