build: Add meson build system

Reuse the generated dbus interface .xml files from fprintd to avoid
unnecessary copies.
This commit is contained in:
Marco Trevisan (Treviño)
2020-01-22 13:57:01 +01:00
committed by Bastien Nocera
parent 5c5849dca7
commit eb6dbb6953
16 changed files with 589 additions and 1 deletions

26
tests/pam/meson.build Normal file
View File

@ -0,0 +1,26 @@
subdir('services')
tests = [
'test_pam_fprintd',
]
foreach t: tests
test(t,
python3,
args: meson.current_source_dir() / t + '.py',
suite: ['PAM'],
depends: [
pam_fprintd,
pam_service_file,
],
env: [
'TOPBUILDDIR=' + meson.build_root(),
'TOPSRCDIR=' + meson.source_root(),
'LD_PRELOAD=libpam_wrapper.so',
'PAM_WRAPPER=1',
'PAM_WRAPPER_SERVICE_DIR=' + meson.current_build_dir() / 'services',
'G_DEBUG=fatal-warnings',
],
timeout: 60,
)
endforeach