summaryrefslogtreecommitdiff
path: root/modules/text_server_adv/config.py
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2022-08-03 13:38:37 +0300
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2022-08-03 15:06:43 +0300
commit066ca976909bbe81d702dfe464f8f5dfbb23d7e3 (patch)
tree5163ba345793c2453e1c416136d36e998d56a611 /modules/text_server_adv/config.py
parent2c0c76c415f1b8b7d46f63d12b12ef56c8c85f4d (diff)
Add Text Server related options to the build profiles editor.
Adds SCons options to disable Brotli and Graphite. Adds option categories to the build profiles editor. Adds options default state to the build profiles editor. Adds Text Server related options to the build profiles editor. Fix misplaced OpenGL/Vulkan SCons options.
Diffstat (limited to 'modules/text_server_adv/config.py')
-rw-r--r--modules/text_server_adv/config.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/text_server_adv/config.py b/modules/text_server_adv/config.py
index 8c8df9b05e..179a2ff378 100644
--- a/modules/text_server_adv/config.py
+++ b/modules/text_server_adv/config.py
@@ -2,6 +2,14 @@ def can_build(env, platform):
return True
+def get_opts(platform):
+ from SCons.Variables import BoolVariable
+
+ return [
+ BoolVariable("graphite", "Enable SIL Graphite smart fonts support", True),
+ ]
+
+
def configure(env):
pass