summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorJan-Michael Brummer <jan.brummer@tabos.org>2020-09-29 17:51:04 +0200
committerJan-Michael Brummer <jan.brummer@tabos.org>2020-09-29 17:52:13 +0200
commitfda3de9f89c63aa530a34ffa7365439a8bfd369e (patch)
tree4bc68064051933f985c3731aaccb01a7ff893097 /meson.build
parent0e11f1a84fef660fc9c4e10a97d74db1630837cd (diff)
downloadepiphany-fda3de9f89c63aa530a34ffa7365439a8bfd369e.tar.gz
Add enable_gsb option to active safe browising feature
In case we cannot provide a gsb api key, we should disable the service entirely and hide the config option in preferences window.
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 977b49d8c..9160738bd 100644
--- a/meson.build
+++ b/meson.build
@@ -72,6 +72,7 @@ conf.set_quoted('GSB_API_KEY', gsb_api_key)
if gsb_api_key != ''
message('GSB API Key provided')
endif
+conf.set10('ENABLE_GSB', get_option('enable_gsb'))
config_h = declare_dependency(
sources: vcs_tag(