xref: /OK3568_Linux_fs/external/xserver/test/bigreq/meson.build (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyunxcb_dep = dependency('xcb', required: false)
2*4882a593Smuzhiyunxcb_xinput_dep = dependency('xcb-xinput', required: false)
3*4882a593Smuzhiyun
4*4882a593Smuzhiyunif get_option('xvfb')
5*4882a593Smuzhiyun    if xcb_dep.found() and xcb_xinput_dep.found()
6*4882a593Smuzhiyun        requestlength = executable('request-length', 'request-length.c',
7*4882a593Smuzhiyun                                   dependencies: [xcb_dep, xcb_xinput_dep])
8*4882a593Smuzhiyun        test('request-length', simple_xinit, args: [requestlength, '--', xvfb_server])
9*4882a593Smuzhiyun    endif
10*4882a593Smuzhiyunendif
11