meson: split and simplify dependencies

Rather than group dependencies in complex groups, use a flatter
structure with split dependencies to avoid checking for the same
dependencies twice.

v2: - Fix building vulkan drivers without gallium or dri drivers
v3: - Drop TODO comment that is done
    - Fix typo in commit message

Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
Dylan Baker
2017-09-29 17:53:01 -07:00
parent b1b65397d0
commit 50c28dfa81
3 changed files with 108 additions and 103 deletions
+4 -1
View File
@@ -26,7 +26,10 @@ if with_platform_x11 and with_dri3
['loader_dri3_helper.c', 'loader_dri3_helper.h'],
c_args : c_vis_args,
include_directories : inc_include,
dependencies : [dep_xcb_dri3, dep_libdrm],
dependencies : [
dep_xshmfence, dep_xcb_present, dep_xcb_dri3, dep_xcb_sync, dep_x11_xcb,
dep_xext, dep_xdamage, dep_xcb_glx, dep_libdrm,
],
build_by_default : false,
)
else