shell: Add static shell library for testing purposes
Export shell functionality which panels may require for testing purposes into a static library.
This commit is contained in:
parent
e91266a8f0
commit
aec8c911bb
1 changed files with 22 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue