summaryrefslogtreecommitdiffstats
path: root/editor/export/editor_export_plugin.cpp
diff options
context:
space:
mode:
authorRaul Santos <raulsntos@gmail.com>2024-02-09 17:26:53 +0100
committerRaul Santos <raulsntos@gmail.com>2024-09-16 17:07:03 +0200
commit0aa46e19c5a1864454451891fb3f40f5ef3ff742 (patch)
tree3842d592644353d5bdd79af2eb8c34f72cf35aaa /editor/export/editor_export_plugin.cpp
parenta75bacebef979a17b549c6577defbbfd2f7ef2e0 (diff)
downloadredot-engine-0aa46e19c5a1864454451891fb3f40f5ef3ff742.tar.gz
C#: Fallback to CoreCLR/MonoVM hosting APIs when hostfxr/NativeAOT fails
Some platforms don't support hostfxr but we can use the coreclr/monosgen library directly to initialize the runtime. Android exports now use the `android` runtime identifier instead of `linux-bionic`, this removes the restrictions we previously had: - Adds support for all Android architectures (arm32, arm64, x32, and x64), previously only the 64-bit architectures were supported. - Loads `System.Security.Cryptography.Native.Android` (the .NET library that binds to the Android OS crypto functions).
Diffstat (limited to 'editor/export/editor_export_plugin.cpp')
-rw-r--r--editor/export/editor_export_plugin.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/editor/export/editor_export_plugin.cpp b/editor/export/editor_export_plugin.cpp
index 3f1b8aa863..5945c02413 100644
--- a/editor/export/editor_export_plugin.cpp
+++ b/editor/export/editor_export_plugin.cpp
@@ -229,6 +229,10 @@ bool EditorExportPlugin::supports_platform(const Ref<EditorExportPlatform> &p_ex
return ret;
}
+PackedStringArray EditorExportPlugin::get_export_features(const Ref<EditorExportPlatform> &p_export_platform, bool p_debug) const {
+ return _get_export_features(p_export_platform, p_debug);
+}
+
PackedStringArray EditorExportPlugin::get_android_dependencies(const Ref<EditorExportPlatform> &p_export_platform, bool p_debug) const {
PackedStringArray ret;
GDVIRTUAL_CALL(_get_android_dependencies, p_export_platform, p_debug, ret);