summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-02-06 17:28:32 +0100
committerRémi Verschelde <rverschelde@gmail.com>2020-02-07 11:31:37 +0100
commitb7297fb39ca7a55390f9390666bd29803adc827f (patch)
treed5e6f977177db1beab58745fbb53205e9c741e79 /core
parent00f46452b0206afe6aca79b0c4cd4a205f99067b (diff)
SCons: Generate header with info on which modules are enabled
We already had `MODULE_*_ENABLED` defines but only in the modules environment, and a few custom `*_ENABLED` defines in the main env when we needed the information in core. Now this is defined in a single header which can be included in the files that need this information.
Diffstat (limited to 'core')
-rw-r--r--core/core_builders.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/core_builders.py b/core/core_builders.py
index f3a9e3b221..7720183595 100644
--- a/core/core_builders.py
+++ b/core/core_builders.py
@@ -1,8 +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.
-
"""
+
from platform_methods import subprocess_main
from compat import iteritems, itervalues, open_utf8, escape_string, byte_to_str