summaryrefslogtreecommitdiff
path: root/meson_options.txt
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_options.txt
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_options.txt')
-rw-r--r--meson_options.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt
index 43e58e2a0..7f3648781 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -28,9 +28,16 @@ option('unit_tests',
description: 'Enable unit tests'
)
+option('enable_gsb',
+ type: 'boolean',
+ value: false,
+ description: 'Enable Google Safe Browsing support'
+)
+
option('gsb_api_key',
type: 'string',
value: '',
description: 'The API key used to access the Google Safe Browsing API v4'
)
+