diff options
author | Philip Withnall <philip@tecnocode.co.uk> | 2022-11-24 19:49:07 +0000 |
---|---|---|
committer | Philip Withnall <philip@tecnocode.co.uk> | 2022-11-24 19:49:07 +0000 |
commit | 24e1bfba166fc5480cc44e8e3c3cfe5d69455d16 (patch) | |
tree | ab18dd0a1968dc7af647de0cfcd908305e829f75 /gio/tests/meson.build | |
parent | 2ee44ba1d507ca22f737b5e57530f6b18270ef05 (diff) | |
parent | 92fae633a0d9e6f0edaa379595ef999161d3643d (diff) | |
download | glib-24e1bfba166fc5480cc44e8e3c3cfe5d69455d16.tar.gz |
Merge branch 'snap-portal-support' into 'main'
portal: Check for snap plugs before accessing portals
See merge request GNOME/glib!3020
Diffstat (limited to 'gio/tests/meson.build')
-rw-r--r-- | gio/tests/meson.build | 42 |
1 files changed, 41 insertions, 1 deletions
diff --git a/gio/tests/meson.build b/gio/tests/meson.build index da4161766..11acad460 100644 --- a/gio/tests/meson.build +++ b/gio/tests/meson.build @@ -108,7 +108,8 @@ gio_tests = { 'proxy-test' : {}, 'readwrite' : {}, 'sandbox' : { - 'source': ['sandbox.c', '../gsandbox.c'], + 'extra_sources': ['../gsandbox.c', 'portal-support-utils.c'], + 'c_args': ['-DG_PORTAL_SUPPORT_TEST'], }, 'simple-async-result' : {}, 'simple-proxy' : {}, @@ -227,6 +228,45 @@ if host_machine.system() != 'windows' 'gdbus-peer-object-manager' : {}, 'gdbus-sasl' : {}, 'live-g-file' : {}, + 'portal-support-flatpak-none' : { + 'extra_sources': ['../gportalsupport.c', '../gsandbox.c', 'portal-support-utils.c'], + 'c_args': ['-DG_PORTAL_SUPPORT_TEST'], + 'suite': ['portal-support'], + }, + 'portal-support-flatpak-full' : { + 'extra_sources': ['../gportalsupport.c', '../gsandbox.c', 'portal-support-utils.c'], + 'c_args': ['-DG_PORTAL_SUPPORT_TEST'], + 'suite': ['portal-support'], + }, + 'portal-support-flatpak-network-only' : { + 'extra_sources': ['../gportalsupport.c', '../gsandbox.c', 'portal-support-utils.c'], + 'c_args': ['-DG_PORTAL_SUPPORT_TEST'], + 'suite': ['portal-support'], + }, + 'portal-support-flatpak-gsettings-only' : { + 'extra_sources': ['../gportalsupport.c', '../gsandbox.c', 'portal-support-utils.c'], + 'c_args': ['-DG_PORTAL_SUPPORT_TEST'], + 'suite': ['portal-support'], + }, + 'portal-support-none' : { + 'extra_sources': ['../gportalsupport.c', '../gsandbox.c'], + 'c_args': ['-DG_PORTAL_SUPPORT_TEST'], + 'suite': ['portal-support'], + }, + 'portal-support-env-var' : { + 'extra_sources': ['../gportalsupport.c', '../gsandbox.c'], + 'suite': ['portal-support'], + }, + 'portal-support-snap' : { + 'extra_sources': ['../gportalsupport.c', '../gsandbox.c', 'portal-support-utils.c'], + 'c_args': ['-DG_PORTAL_SUPPORT_TEST'], + 'suite': ['portal-support'], + }, + 'portal-support-snap-classic' : { + 'extra_sources': ['../gportalsupport.c', '../gsandbox.c', 'portal-support-utils.c'], + 'c_args': ['-DG_PORTAL_SUPPORT_TEST'], + 'suite': ['portal-support'], + }, 'resolver-parsing' : {'dependencies' : [network_libs]}, 'socket-address' : {}, 'stream-rw_all' : {}, |