summaryrefslogtreecommitdiffstats
path: root/glsl_builders.py
diff options
context:
space:
mode:
authorThaddeus Crews <repiteo@outlook.com>2024-03-11 13:05:37 -0500
committerThaddeus Crews <repiteo@outlook.com>2024-03-11 13:20:09 -0500
commit5a6e3cbcb03c3f756344a38259f3774ddaf1a63d (patch)
treea435d3f986a1ca0e179d311ac4a5a11e2a67ea02 /glsl_builders.py
parentf040a351c2f27c6b86c40c71a28babf99dd0b9bd (diff)
downloadredot-engine-5a6e3cbcb03c3f756344a38259f3774ddaf1a63d.tar.gz
SCons: Remove `run_in_subprocess` dependency
Diffstat (limited to 'glsl_builders.py')
-rw-r--r--glsl_builders.py12
1 files changed, 1 insertions, 11 deletions
diff --git a/glsl_builders.py b/glsl_builders.py
index 7eb79b8b32..fd90e9a6c0 100644
--- a/glsl_builders.py
+++ b/glsl_builders.py
@@ -1,14 +1,8 @@
-"""Functions used to generate source files during build time
-
-All such functions are invoked in a subprocess on Windows to prevent build flakiness.
-
-"""
+"""Functions used to generate source files during build time"""
import os.path
from typing import Optional, Iterable
-from platform_methods import subprocess_main
-
def generate_inline_code(input_lines: Iterable[str], insert_newline: bool = True):
"""Take header data and generate inline code
@@ -227,7 +221,3 @@ static const char {out_file_base}[] = {{
def build_raw_headers(target, source, env):
for x in source:
build_raw_header(filename=str(x))
-
-
-if __name__ == "__main__":
- subprocess_main(globals())