Debian Codegraph @

modules/mono/build_scripts/mono_configure.py

raw symbols SCIP
1 def is_desktop(platform):
2 return platform in ["windows", "macos", "linuxbsd"]
3
4
5 def is_unix_like(platform):
6 return platform in ["macos", "linuxbsd", "android", "ios"]
7
8
9 def module_supports_tools_on(platform):
10 return is_desktop(platform)
11
12
13 def configure(env, env_mono):
14 # is_android = env["platform"] == "android"
15 # is_web = env["platform"] == "web"
16 # is_ios = env["platform"] == "ios"
17 # is_ios_sim = is_ios and env["arch"] in ["x86_32", "x86_64"]
18
19 if env.editor_build:
20 if not module_supports_tools_on(env["platform"]):
21 raise RuntimeError("This module does not currently support building for this platform for editor builds.")
22 env_mono.Append(CPPDEFINES=["GD_MONO_HOT_RELOAD"])