diff options
author | Benjamin Berg <bberg@redhat.com> | 2018-04-17 17:58:55 +0200 |
---|---|---|
committer | Georges Basile Stavracas Neto <georges.stavracas@gmail.com> | 2018-05-02 22:29:31 +0000 |
commit | aec8c911bb039769c0058695664f9c564a291cb6 (patch) | |
tree | 265ea09635c9c999da98413fd8d3031d72c7f886 /shell | |
parent | e91266a8f0643de1166bc81431e0c7bb22782614 (diff) | |
download | gnome-control-center-aec8c911bb039769c0058695664f9c564a291cb6.tar.gz |
shell: Add static shell library for testing purposes
Export shell functionality which panels may require for testing purposes
into a static library.
Diffstat (limited to 'shell')
-rw-r--r-- | shell/meson.build | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/shell/meson.build b/shell/meson.build index 942595127..241b140ca 100644 --- a/shell/meson.build +++ b/shell/meson.build @@ -119,5 +119,27 @@ libpanel_loader = static_library( c_args: cflags + ['-DCC_PANEL_LOADER_NO_GTYPES'] ) +# libshell_test +sources = files( + 'cc-panel.c', + 'cc-shell.c', + 'cc-log.c', + 'cc-object-storage.c', +) +libtestshell = static_library( + 'testshell', + sources, + include_directories: top_inc, + dependencies: common_deps + [ libwidgets_dep ], + c_args: cflags, + link_with: panels_libs +) +libtestshell_dep = declare_dependency( + include_directories: top_inc, + link_with: libtestshell +) +libtestshell_deps = common_deps + [ libwidgets_dep, libtestshell_dep ] + + install_data ('org.gnome.ControlCenter.gschema.xml', install_dir: control_center_schemadir) |