mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-06-11 10:48:25 +02:00
build: move weston_test_client_protocol_h use
There is no need to special-case this generated header in foreach-tests if we list it as an order-only dependency implied by dep_test_client. The viewporter header is already there. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
This commit is contained in:
parent
4a322fd76c
commit
a044dfe1a6
2 changed files with 1 additions and 1 deletions
|
|
@ -69,6 +69,7 @@ lib_test_client = static_library(
|
|||
dep_test_client = declare_dependency(
|
||||
link_with: lib_test_client,
|
||||
sources: [
|
||||
weston_test_client_protocol_h,
|
||||
viewporter_client_protocol_h,
|
||||
],
|
||||
dependencies: [
|
||||
|
|
|
|||
|
|
@ -319,7 +319,6 @@ endif
|
|||
foreach t : tests
|
||||
t_name = 'test-' + t.get('name')
|
||||
t_sources = t.get('sources', [t.get('name') + '-test.c'])
|
||||
t_sources += weston_test_client_protocol_h
|
||||
|
||||
t_deps = [ dep_test_client, dep_libweston_private_h ]
|
||||
t_deps += t.get('dep_objs', [])
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue