From 45ec0e31c31b625ee8a56f6d2315af455172acc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Mon, 28 Mar 2022 15:39:24 +0200 Subject: Remove last editor code dependencies in template build SConstruct change also makes it possible to outright delete the `editor` folder in a `tools=no` build, which we use in CI to ensure no invalid cross-dependencies are added. --- SConstruct | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'SConstruct') diff --git a/SConstruct b/SConstruct index a847535812..af01329933 100644 --- a/SConstruct +++ b/SConstruct @@ -48,8 +48,6 @@ _helper_module("methods", "methods.py") _helper_module("platform_methods", "platform_methods.py") _helper_module("version", "version.py") _helper_module("core.core_builders", "core/core_builders.py") -_helper_module("editor.editor_builders", "editor/editor_builders.py") -_helper_module("editor.template_builders", "editor/template_builders.py") _helper_module("main.main_builders", "main/main_builders.py") _helper_module("modules.modules_builders", "modules/modules_builders.py") @@ -58,6 +56,10 @@ import methods import glsl_builders import gles3_builders +if methods.get_cmdline_bool("tools", True): + _helper_module("editor.editor_builders", "editor/editor_builders.py") + _helper_module("editor.template_builders", "editor/template_builders.py") + # Scan possible build platforms platform_list = [] # list of platforms -- cgit v1.2.3