diff options
author | Jan-Michael Brummer <jan.brummer@tabos.org> | 2020-09-21 13:48:40 +0200 |
---|---|---|
committer | Jan-Michael Brummer <jan.brummer@tabos.org> | 2020-09-29 17:52:13 +0200 |
commit | fac4f182c94aec7b0cb531983a7eadc708e16143 (patch) | |
tree | 23b23c17e1b3b59bd9d9f5c531f977df18130beb /meson.build | |
parent | 7eea3d9f0acc5de71979c4cf0b67ece3956414e3 (diff) | |
download | epiphany-fac4f182c94aec7b0cb531983a7eadc708e16143.tar.gz |
Move gsb data to meson_options.txt
Move gsb_api_key to meson_options.txt so we can provide the necessary support within flatpak, but can disable it for the rest.
Fixes: https://gitlab.gnome.org/GNOME/epiphany/-/issues/682
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meson.build b/meson.build index da852ceb5..977b49d8c 100644 --- a/meson.build +++ b/meson.build @@ -67,6 +67,12 @@ conf.set('EPHY_MICRO_VERSION', 0) conf.set_quoted('VERSION', '@VCS_TAG@') +gsb_api_key = get_option('gsb_api_key') +conf.set_quoted('GSB_API_KEY', gsb_api_key) +if gsb_api_key != '' + message('GSB API Key provided') +endif + config_h = declare_dependency( sources: vcs_tag( input: configure_file( @@ -128,3 +134,4 @@ subdir('src') subdir('tests') meson.add_install_script('post_install.py') + |