summaryrefslogtreecommitdiffstats
path: root/platform/web/detect.py
diff options
context:
space:
mode:
Diffstat (limited to 'platform/web/detect.py')
-rw-r--r--platform/web/detect.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/platform/web/detect.py b/platform/web/detect.py
index 524ff44f4d..3df8cbad7c 100644
--- a/platform/web/detect.py
+++ b/platform/web/detect.py
@@ -65,21 +65,21 @@ def get_doc_path():
def get_flags():
- return [
- ("arch", "wasm32"),
- ("target", "template_debug"),
- ("builtin_pcre2_with_jit", False),
- ("vulkan", False),
+ return {
+ "arch": "wasm32",
+ "target": "template_debug",
+ "builtin_pcre2_with_jit": False,
+ "vulkan": False,
# Embree is heavy and requires too much memory (GH-70621).
- ("module_raycast_enabled", False),
+ "module_raycast_enabled": False,
# Use -Os to prioritize optimizing for reduced file size. This is
# particularly valuable for the web platform because it directly
# decreases download time.
# -Os reduces file size by around 5 MiB over -O3. -Oz only saves about
# 100 KiB over -Os, which does not justify the negative impact on
# run-time performance.
- ("optimize", "size"),
- ]
+ "optimize": "size",
+ }
def configure(env: "SConsEnvironment"):