summaryrefslogtreecommitdiffstats
path: root/platform/ios
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-06-19 11:28:22 +0200
committerRémi Verschelde <rverschelde@gmail.com>2023-06-20 13:16:37 +0200
commit90446fe9f381eaaa86caed2facc09ee1cf5fb52b (patch)
tree85267ecf27753199491359ba31bbeb00507758be /platform/ios
parentdbe8712d4eda555829283624df7c79faa4bc02ea (diff)
downloadredot-engine-90446fe9f381eaaa86caed2facc09ee1cf5fb52b.tar.gz
SCons: Move platform logo/run icon to `export` folder
Follow-up to #75932. Since these icons are only used by the export plugin, it makes sense to move them and generate the headers there. The whole `detect.is_active()` logic seems to be a leftover from before times, as far back as 1.0-stable it already wasn't used for anything. So I'm removing it and moving the export icon generation to `platform_methods`, where it makes more sense.
Diffstat (limited to 'platform/ios')
-rw-r--r--platform/ios/detect.py4
-rw-r--r--platform/ios/export/export_plugin.cpp2
-rw-r--r--platform/ios/export/logo.svg (renamed from platform/ios/logo.svg)0
3 files changed, 1 insertions, 5 deletions
diff --git a/platform/ios/detect.py b/platform/ios/detect.py
index bab055dbd5..f5501e3d85 100644
--- a/platform/ios/detect.py
+++ b/platform/ios/detect.py
@@ -8,10 +8,6 @@ if TYPE_CHECKING:
from SCons import Environment
-def is_active():
- return True
-
-
def get_name():
return "iOS"
diff --git a/platform/ios/export/export_plugin.cpp b/platform/ios/export/export_plugin.cpp
index 9962a48250..1b9b02d0e0 100644
--- a/platform/ios/export/export_plugin.cpp
+++ b/platform/ios/export/export_plugin.cpp
@@ -30,7 +30,7 @@
#include "export_plugin.h"
-#include "../logo_svg.gen.h"
+#include "logo_svg.gen.h"
#include "core/string/translation.h"
#include "editor/editor_node.h"
diff --git a/platform/ios/logo.svg b/platform/ios/export/logo.svg
index 47a72bcf49..47a72bcf49 100644
--- a/platform/ios/logo.svg
+++ b/platform/ios/export/logo.svg