summaryrefslogtreecommitdiffstats
path: root/src/gallium/meson.build
diff options
context:
space:
mode:
authorDylan Baker <[email protected]>2017-11-28 14:30:27 -0800
committerDylan Baker <[email protected]>2017-12-04 14:35:03 -0800
commit383cdaf990959c9e52b93ae81187eef2487ab694 (patch)
tree570f95d6823b6c89a8325ffc96fb7c0f7fe647bf /src/gallium/meson.build
parent0a257b3fe4d184811c1ddab7afeda81459f36720 (diff)
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 <[email protected]> Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/gallium/meson.build')
-rw-r--r--src/gallium/meson.build14
1 files changed, 4 insertions, 10 deletions
diff --git a/src/gallium/meson.build b/src/gallium/meson.build
index 8e60c7f3288..be830f5f7d6 100644
--- a/src/gallium/meson.build
+++ b/src/gallium/meson.build
@@ -91,25 +91,19 @@ if with_gallium_virgl
subdir('winsys/virgl/drm')
subdir('winsys/virgl/vtest')
endif
-if with_dri
- subdir('state_trackers/dri')
-endif
-if with_osmesa == 'gallium'
- subdir('state_trackers/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('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')
subdir('targets/libgl-xlib')
endif
# TODO: OMX