test: Move include definitions to libtest

With the libtest functionality moved to its own library folder, the
definitions for test includes should reasonably live there too.

The libtest subdir should always remain the first entry in the
test/meson.build file.

Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
Kieran Bingham 2019-01-01 21:13:44 +00:00 committed by Laurent Pinchart
parent 5802259b3c
commit b403cb4550
2 changed files with 12 additions and 12 deletions

View file

@ -5,3 +5,15 @@ libtest_sources = files([
libtest = static_library('libtest', libtest_sources)
libtest_includes = include_directories('.')
test_libraries = [libcamera, libtest]
test_includes_public = [
libtest_includes,
libcamera_includes,
]
test_includes_internal = [
test_includes_public,
libcamera_internal_includes,
]

View file

@ -1,17 +1,5 @@
subdir('libtest')
test_libraries = [libcamera, libtest]
test_includes_public = [
libtest_includes,
libcamera_includes,
]
test_includes_internal = [
test_includes_public,
libcamera_internal_includes,
]
subdir('media_device')
public_tests = [