summaryrefslogtreecommitdiff
path: root/modules/SCsub
diff options
context:
space:
mode:
authorSergey Minakov <naithar@icloud.com>2020-08-13 18:24:39 +0300
committerSergey Minakov <naithar@icloud.com>2020-11-10 16:28:29 +0300
commit30783d57ccf6f368f21a84e408f56b86d05cba2b (patch)
tree7af4591c589b1393a31599cbad19490893fcc5f1 /modules/SCsub
parent03ae26bb74c0b713fe2132c5b003ae41e366746c (diff)
iOS Modules: separate main platform code from modules
Moved previously builtin modules 'GameCenter', 'AppStore', 'iCloud' to separate modules to be represented as plugin. Modified 'ARKit' and 'Camera' to not be builtin into engine and work as plugin. Changed platform code so it's not affected by the move. Modified Xcode project file to remove parameters that doesn't make any effect. Added basic '.gdip' plugin config file.
Diffstat (limited to 'modules/SCsub')
-rw-r--r--modules/SCsub9
1 files changed, 8 insertions, 1 deletions
diff --git a/modules/SCsub b/modules/SCsub
index edfc4ed9c6..24598f4b28 100644
--- a/modules/SCsub
+++ b/modules/SCsub
@@ -47,7 +47,14 @@ for name, path in env.module_list.items():
# Some modules are not linked automatically but can be enabled optionally
# on iOS, so we handle those specially.
- if env["platform"] == "iphone" and name in ["arkit", "camera"]:
+ if env["platform"] == "iphone" and name in [
+ "arkit",
+ "camera",
+ "camera_iphone",
+ "gamecenter",
+ "inappstore",
+ "icloud",
+ ]:
continue
lib = env_modules.add_library("module_%s" % name, env.modules_sources)