libfprint: Introduce libfprint_private static library
Split the library into a private part with all the symbols that we can use for unit-test all the fpi functions.
This commit is contained in:
parent
92a5278a74
commit
7114d97f25
1 changed files with 10 additions and 3 deletions
|
@ -4,6 +4,9 @@ libfprint_sources = [
|
||||||
'fp-image.c',
|
'fp-image.c',
|
||||||
'fp-print.c',
|
'fp-print.c',
|
||||||
'fp-image-device.c',
|
'fp-image-device.c',
|
||||||
|
]
|
||||||
|
|
||||||
|
libfprint_private_sources = [
|
||||||
'fpi-assembling.c',
|
'fpi-assembling.c',
|
||||||
'fpi-ssm.c',
|
'fpi-ssm.c',
|
||||||
'fpi-usb-transfer.c',
|
'fpi-usb-transfer.c',
|
||||||
|
@ -200,15 +203,19 @@ libnbis = static_library('nbis',
|
||||||
]),
|
]),
|
||||||
install: false)
|
install: false)
|
||||||
|
|
||||||
|
libfprint_private = static_library('fprint-private',
|
||||||
|
sources: libfprint_private_sources + fpi_enums,
|
||||||
|
dependencies: deps,
|
||||||
|
install: false)
|
||||||
|
|
||||||
libfprint = library('fprint',
|
libfprint = library('fprint',
|
||||||
libfprint_sources + fp_enums + fpi_enums +
|
sources: libfprint_sources + fp_enums + drivers_sources + other_sources,
|
||||||
drivers_sources + other_sources,
|
|
||||||
soversion: soversion,
|
soversion: soversion,
|
||||||
version: libversion,
|
version: libversion,
|
||||||
c_args: drivers_cflags,
|
c_args: drivers_cflags,
|
||||||
link_args : vflag,
|
link_args : vflag,
|
||||||
link_depends : mapfile,
|
link_depends : mapfile,
|
||||||
link_with: libnbis,
|
link_with: [libnbis, libfprint_private],
|
||||||
dependencies: deps,
|
dependencies: deps,
|
||||||
install: true)
|
install: true)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue