meson: Combine gallium target subdirs

So that state trackers, targets, and special winsys requirements are all
in a single if statement. This is a cosmetic only cleanup with no
functional changes.

Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
This commit is contained in:
Dylan Baker 2017-11-28 14:30:27 -08:00
parent 0a257b3fe4
commit 383cdaf990
1 changed files with 4 additions and 10 deletions

View File

@ -91,25 +91,19 @@ if with_gallium_virgl
subdir('winsys/virgl/drm')
subdir('winsys/virgl/vtest')
endif
# TODO: SWR
# TODO: clover
if with_dri
subdir('state_trackers/dri')
subdir('targets/dri')
endif
if with_osmesa == 'gallium'
subdir('state_trackers/osmesa')
subdir('targets/osmesa')
endif
if with_glx == 'gallium-xlib'
subdir('winsys/sw/xlib')
subdir('state_trackers/glx/xlib')
endif
# TODO: SWR
# TODO: clover
if with_dri
subdir('targets/dri')
endif
if with_osmesa == 'gallium'
subdir('targets/osmesa')
endif
if with_glx == 'gallium-xlib'
subdir('targets/libgl-xlib')
endif
# TODO: OMX